Csound Csound-dev Csound-tekno Search About

[Cs-dev] MIDI interop command options

Date2006-07-21 05:48
From"Michael Gogins"
Subject[Cs-dev] MIDI interop command options
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

Date2006-07-21 09:59
From"Oeyvind Brandtsegg"
SubjectRe: [Cs-dev] MIDI interop command options
AttachmentsNone  None  None  None  

Date2006-08-14 11:00
FromRory Walsh
SubjectRe: [Cs-dev] MIDI interop command options
I can't wait to try these out. Can I use them to communicate with my 
midi controller? If not are there any plans to add this functionality in 
the future?

Rory.

Michael Gogins 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
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net