LE Question

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

LE Question // Archive: Tech Forum

1  |  

Post by Wigand // May 16, 2006, 9:43am

Wigand
Total Posts: 462
pic
Hello


Would it be possible to control the Link Editiors controls (sliders or buttons) with MIDI-Signals, RS232, USB ...?


And would it be possible to start or control other programs with user actions in the player?

Post by optimiztic // May 16, 2006, 10:00am

optimiztic
Total Posts: 43
pic
Yikes, splinters, now we have somebody driving the LE with midi signals... this is starting to make my brain hurt...

Post by splinters // May 16, 2006, 10:52am

splinters
Total Posts: 4148
pic
Yikes, splinters, now we have somebody driving the LE with midi signals... this is starting to make my brain hurt...


Yikes and double cripes!...whatever next...I can't wait...;)


I made a joke about this in the 'musicians' thread....never thought it might actually be possible....

Post by Wigand // May 16, 2006, 10:15pm

Wigand
Total Posts: 462
pic
Midi or other controls for TS are not only crazy features.

I think, that an interface for a program like TrueSpace is more a stargate or better said a

True-Space-Gate. It would open a new dimension. Could you imagine the potentials it would bring.


Some ideas:


* cyber space

* realtime simulations, controlled by telemetric sensors

* 3D GPS

* interactive teaching of a musical instrument

* robotic


and so on...

Post by Cayenne // May 16, 2006, 11:03pm

Cayenne
Total Posts: 144
pic
Pieces of hardware like the Phatboy and control freak (midi performance controllers) are essentially input devices using midi cc messages to pass numbers , in theory if the control surface can be hooked into the matrix of objects or any attribute of an object whose parameter accepts numerical input, then unlimited realtime manipulation is possible in a similar way to how these pieces of hardware work in sequencers for controlling numeric input to the sliders dials and knobs to vst instruments and other sequencer controls, a lot of these programmes have auto detect feature which automatically assign the chosen input in the software to a designated knob or slider in the controller hardware by detecting the knobs movement.


possibly sensible algorithms to translate the cc data to realistic numerical output / input would be needed and may be different to certain inputs , for instance scale may need a different algorithm to what rotation would need as the distance of the controller knob or slider would make an object huge if it was interpreted the same as a rotation value, .


midi cc is not just about getting sounds and creating music , I feel it is a much undervalued control system and it could be put to good use with a 3d application.


This is an area where I would love to contribute to but alas my knowledge of hardcore programming is not the hottest.


phatboy controller = 6 modes 16 channels 13 controls = lots of inputs = blown away

Post by splinters // May 16, 2006, 11:40pm

splinters
Total Posts: 4148
pic
phatboy controller = 6 modes 16 channels 13 controls = lots of inputs = blown away


Alesis Fusion has 4 control knobs, arpeggiator, 4 trigger pads, two switches and assignable pedal controllers...and they are on top of all its powerhouse synthesis, sampling, VA, physical modelling and HD recording faciltites. Wonder what the chances of VJ'ing with TS in the near future.....;) :D


As you can tell I am impressed with it....:D

Post by Cayenne // May 17, 2006, 3:58am

Cayenne
Total Posts: 144
pic
we're wandering offtopic a little but i had a good play with a nasty red synth the other year ,i think it was the virus one , they had to ask me to leave the store, it was fun, but out of my price league, I make do with standard fullsize simple veocity sensitive midi keyboard and phatboy for controllers and soft studio to give versatility of synthesisers, but theres latency I tall ya l-a-t--e---n----c------y, about 11ms to 27ms I can put up with it.


maybe I should have put 6x16x13 = 1248 possible control connections available to hook up to inputs

Post by Wigand // May 18, 2006, 5:05am

Wigand
Total Posts: 462
pic
Hello


Yes, now we are offtopic. If you are really interested in synthesizers look at this: "reaktor 5" from


http://www.native-instruments.com/index.php?home_us


You will find some similarities to the Link Editor of TS7.


But now back to topic. Maybe it was my bad english or an other misunderstanding. I am actually not

able to control TS7 with my MIDI-equipment. But I want!


The question:


Is it possible to control TrueSpace from extern over an interface like MIDI, RS232, or an other

program?


If not, is it planned for the future?

Post by optimiztic // May 18, 2006, 5:42am

optimiztic
Total Posts: 43
pic
We understood your question. It was just that you brought together two ideas that we had been comparing (but keeping separate) in the music thread.


My guess is that it would require a new set of core LE panels written in C++/ASM to monitor the midi input.


Then there's the problem of midi output... what does a 3D object sound like?


Don

Post by optimiztic // May 18, 2006, 7:46am

optimiztic
Total Posts: 43
pic
I doubt that the primitives exist in tS to be able to use an interpreted scripting language to access an arbitrary port or connector.


Here is the definitive link on midi:


http://www.midi.org/



Don

Post by tomasb // May 18, 2006, 8:01am

tomasb
Total Posts: 261
if the device has ActiveX control to get input data (or you make it), you can access it in LE..

Post by Wigand // May 18, 2006, 8:38am

Wigand
Total Posts: 462
pic
Do I understand it right?:


It is possible to call Windows-API-Functions from the supported script languages in TS.


It is possible to use ActiveX from the supported script languages in TS.


So, most every communication between TS and other programs should be possible.


Is here someone who can show me a simple example?


(I only need a startpoint from which I can test my ideas.)


Thank you.

Post by optimiztic // May 18, 2006, 9:16am

optimiztic
Total Posts: 43
pic
Just a thought.


Most MIDI manufacturers provide drivers/software with their equipment. Maybe they allow writing input from their MIDI control device to a file.


In the absence of a port/connector direct interface, which involves sophisticated timing issues, what about writing your MIDI sequence to a file, then accessing the file with a tS scripting language?


I know that the LE can access some files, but it seems to be looking for particular formats. Maybe a node can be constructed to interpret a MIDI file format.


Then, at least, you could test how various tS controls respond to MIDI input, and the port timing issue could be put off until later.


Don

Post by optimiztic // May 18, 2006, 9:45am

optimiztic
Total Posts: 43
pic
Here is another interesting MIDI link:



http://www.marblesound.com/Maple_driver.html



Don
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn