|
MIDI In finished?
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.
MIDI In finished? // Interactive Artwork
Post by Wigand // Feb 13, 2008, 11:24am
Wigand
Total Posts: 462
|
Yes, I am able to get MIDI-notes from an extern keyboard and
let a TS-keyboard play along the notes. :banana::jumpy::banana:
But it was like shooting from the back through the chest into the head.
First I created a MIDI-Server to read MIDI-notes and send them
via clipboard. This was done with PureBasic.
Next I wrote an ActiveX-DLL for Truespace to readout the clipboard.
That was done with VB6.
Then all the needed objects in TS.
Now you need the Clipboard.dll an your system. I can not help you, maybe
you have to register it with regsvr32 or not, I do not now because if I create
a dll with VB6, it's all done.
If it do not work for you, you have to ask the TS-developer to implement the
windows clipboard functions into TS :cool:
Next you can start the MIDIServer.exe. This small program waits for
NoteOn and NoteOff from your keyboard and send the data to the
clipboard.
Then load TS with the keyboard scene. You have to 'Start' the 'Init Clipboard'
to create the clipboard.dll-object. After starting the timer you will see the
keys of the keyboard on the workspace-screen moving.
You are encourage to improve the objects to a larger keyboard.
I gave you the tools, now it's your turn. :D
If you have any question or problems ( no dll register question :p ) please ask. |
Post by TomG // Feb 13, 2008, 12:17pm
TomG
Total Posts: 3397
|
This looks interesting, will have to give it a try if I get time! I like all things music related, so interested to see this exists, and interested to see where it could go in the future.
Thanks!
Tom |
Post by Burnart // Feb 13, 2008, 3:29pm
Burnart
Total Posts: 839
|
Sounds great - good on you Wigand. I'll download and see if I can get it to pump out some sounds. Will have to wait until I get home from work though.:p |
Post by Wigand // Feb 14, 2008, 12:41am
Wigand
Total Posts: 462
|
Sounds great - good on you Wigand. I'll download and see if I can get it to pump out some sounds. Will have to wait until I get home from work though.:p
It will not pump out sound.
It's more a demo to show the screen keyboard triggered by an extern
MIDI-Keyboard. |
Post by hemulin // Feb 14, 2008, 6:53am
hemulin
Total Posts: 1058
|
I have a full midi keyboard model which I might try and rig this up to at some point. |
Post by Burnart // Feb 14, 2008, 12:10pm
Burnart
Total Posts: 839
|
It will not pump out sound.
It's more a demo to show the screen keyboard triggered by an extern
MIDI-Keyboard.
Sorry I misunderstood. Still haven't tried it yet - only problem is I have my midi keyboard attached to the old computer which isn't sufficient to run tS7.5. Oh well. |
Post by notejam // Feb 14, 2008, 9:42pm
notejam
Total Posts: 191
|
Thats great news Wigand. I will have to try this out.
I found a 3d music site music world 3d at http://www.musicworld3d.net/home.html
Which can give some good ideas on putting this to future use. |
Post by prodigy // Feb 22, 2008, 4:16am
prodigy
Total Posts: 3029
|
Question.. your script recognize the key preasure? that can be cooooooool..
Why?? i know why, trust me.... :D |
Post by Wigand // Feb 24, 2008, 12:18pm
Wigand
Total Posts: 462
|
Question.. your script recognize the key preasure? that can be cooooooool..
Why?? i know why, trust me.... :D
The velocity! It's the moment when you hit the key.
It gives the loudness of the tone.
It would be possible to receive controls or aftertouch too, but these
are very much informations. The dll could be fast enough, but not the
receiving object in TS. The object in TS is Timer controlled. And the timer
is too slow for much datas.
This could be changed, if the developers would write a compiled
MIDI In object. But I think you heard, its not high in developement
priority. :( |
|