Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Midi' topicStudent Support Forum > General > "Midi"

Help | Reply To Topic
Author Comment/Response
qwert__
10/14/10 06:35am

Good Afternoon,
I have been trying to use MIDI in mathematica.
I can play single notes with this
Sound[SoundNote[#, 1.75, "Trumpet"] & /@ {0, 7, 12}]
I can play chords using this other:
SoundNote[{-12, 0, 3, 7, 12, 15}, 2.2, "Trumpet"]}
So the syntax is

SoundNote[Note or {chord}, duration, "Instrument"]}.

But how can i do if i want to play for example note 60, hold it, and play, for example after one second, note 61 olding note 60?

Like in the second measure here:
http://www.geniesoft.com/images/Score_Writer.gif

Must i use different voices? Or there is a different way?

Thank you



URL: ,
Help | Reply To Topic