Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] MIDI interop command options

Date2006-08-14 14:23
FromMichael Gogins
SubjectRe: [Cs-dev] MIDI interop command options
These are for note on and note off messages. If your controller is sending note and note off, yes, you can use these.

Specifically for MIDI control messages, I found that you can have pitch bend opcodes in an instrument which work for MIDI performance and do nothing (i.e. are harmless) for off-line performance. The other MIDI control message opcodes may be similar -- I haven't tried them.

Regards,
Mike

-----Original Message-----
>From: Rory Walsh 
>Sent: Aug 14, 2006 6:00 AM
>To: Developer discussions 
>Subject: Re: [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
>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

Date2006-08-14 14:37
FromRory Walsh
SubjectRe: [Cs-dev] MIDI interop command options
Thanks Mike, I'm down a midi keyboard at the moment but I'm looking 
forward to working with these. Cheers,

Rory.



Michael Gogins wrote:
> These are for note on and note off messages. If your controller is sending note and note off, yes, you can use these.
> 
> Specifically for MIDI control messages, I found that you can have pitch bend opcodes in an instrument which work for MIDI performance and do nothing (i.e. are harmless) for off-line performance. The other MIDI control message opcodes may be similar -- I haven't tried them.
> 
> Regards,
> Mike
> 
> -----Original Message-----
>> From: Rory Walsh 
>> Sent: Aug 14, 2006 6:00 AM
>> To: Developer discussions 
>> Subject: Re: [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
>> 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
> 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

Date2006-08-31 02:24
FromDavis Pyon
Subject[Cs-dev] Having problems using csound64.dll.5.1 (Csound 5.03)
Hi,

I can't seem to get csound~ working with csound64.dll.5.1.  After calling csoundCreate(), none
of the API functions seem to work.  Either a bad memory access is reported, or the function calls
just fail.  Since the CSOUND struct is opaque, I can't confirm if csoundCreate() is actually working
either.  

I have been able to get csound~ working with csound32.dll.5.1.  Do I need to do things differently
for the 64bit version?  I created a library using the following command:

lib /machine:i386 /name:csound64.dll.5.1 /def:csound.def

which creates the library csound.lib.  csound~ successfully links against this library.  I'm using
MSVC 7.0.9955.  

Davis


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