Wow, this is really great. It makes it much easier for realtimers to try out the vast amount of excisting csound instruments, in search for just the right gem.
Nice
Oeyvind
On 7/21/06, Michael Gogins <gogins@pipeline.com> wrote:
I've added the following long command-line options to Csound:
--midi-key=N Route MIDI note on message
key number to pfield N as MIDI value [0-127]
--midi-key-cps=N Route MIDI note on message
key number to pfield N as cycles per second
--midi-key-oct=N Route MIDI note on message
key number to pfield N as linear octave
--midi-key-pch=N Route MIDI note on message
key number to pfield N as oct.pch
--midi-velocity=N Route MIDI note on message
velocity number to pfield N as MIDI value [0-127]
--midi-velocity-amp=N Route MIDI note on message
velocity number to pfield N as amplitude
By using these flags, and adding an massign and pset statement, I was able
to play one of the instruments in an otherwise unmodified "Trapped in
Convert" using my MIDI keyboard. The regular score was performing at the
same time.
Shortly I will add scaling to --midi-velocity-amp, and document the flags.
I think all examples and tutorials should be written with these flags and
with appropriate massign and pset statements to enable MIDI performance.
I wish I had thought of this first, instead of the midi interop opcodes.
Regards,
Mike
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel