Csound Csound-dev Csound-tekno Search About

[Csnd] Custom Midi Instrument

Date2011-11-29 10:22
FromMichele Nasti
Subject[Csnd] Custom Midi Instrument
Hi all,
Here in Salerno we are trying to build a phisical instrument using CSound with Arduino. (I'm not involved in this project direclty, but my collegue wants me to write here because he is shy). 
Via a serial channel we send some midi events to CSound, and we have figured out how manage this. However we don't like the fact that the instrument cannot run perpetually: it seems that there is no "always on" function. Are we wrong? I saw a post of Steven Yi about this, but I can't find it and I don't know if it was resolved. 


Date2011-11-29 11:09
FromRory Walsh
SubjectRe: [Csnd] Custom Midi Instrument
Can the "alwayson" opcode be off use?

On 29 November 2011 10:22, Michele Nasti  wrote:
> Hi all,
> Here in Salerno we are trying to build a phisical instrument using CSound
> with Arduino. (I'm not involved in this project direclty, but my collegue
> wants me to write here because he is shy).
> Via a serial channel we send some midi events to CSound, and we have figured
> out how manage this. However we don't like the fact that the instrument
> cannot run perpetually: it seems that there is no "always on" function. Are
> we wrong? I saw a post of Steven Yi about this, but I can't find it and I
> don't know if it was resolved.
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-11-29 11:10
FromSteven Yi
SubjectRe: [Csnd] Custom Midi Instrument
HI Michele,

There is an alwayson opcode that can be used in instrument 0 space:

http://csounds.com/manual/html/alwayson.html

However, the one caveat is that they are held notes, so will be held
as long as they are not turn off and the score itself does not end.
So you need at least one note or f-statement that will keep the score
"on".  You could use an 'f0 9999999' to do the trick.

Hope that helps!
steven

On Tue, Nov 29, 2011 at 10:22 AM, Michele Nasti  wrote:
> Hi all,
> Here in Salerno we are trying to build a phisical instrument using CSound
> with Arduino. (I'm not involved in this project direclty, but my collegue
> wants me to write here because he is shy).
> Via a serial channel we send some midi events to CSound, and we have figured
> out how manage this. However we don't like the fact that the instrument
> cannot run perpetually: it seems that there is no "always on" function. Are
> we wrong? I saw a post of Steven Yi about this, but I can't find it and I
> don't know if it was resolved.
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"