|
Dear community,
I would like to now: how can I change the type of a gen16 routine within a orchestra section. I would like to do change for a table like gitype init -10 the gitype value, for example like: instr 1 |
|
Call ftgen with giDampCurve as nukber abd it wil overwrite the original
tabl;e > Dear community, > I would like to now: how can I change the type of a gen16 routine within a > orchestra section. > I would like to do change for a table like > >> gitype init -10 >> giDampCurve ftgen 1,0,-20000,-16,1, 20000, gitype, 0.001 >> > > the gitype value, for example like: > >> instr 1 >> iamp ampmidi 1 >> icps cpsmidi >> itype = g(itype) >> itype veloc -100, 0 >> > > Initially I thought, I could do this with tableiw but, as far as I know, I > can only influence the value of an index, but now the type, am I right? > > 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 [hidden email] with body "unsubscribe > csound" > > 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 [hidden email] with body "unsubscribe csound" |
|
Dear John,
sorry I don't understand what You mean by "nukber abd" Am 18. Februar 2012 23:34 schrieb <[hidden email]>: Call ftgen with giDampCurve as nukber abd it wil overwrite the original |
|
Dear John,
sorry, it was too late yesterday. I've understood, that I can redefine, within the instrument, giDampCurve. But couldn't this lead to a crash, when I have more than one instrument in a csd-file? I always thought that ftables must be defined in instrument 0. Am 18. Februar 2012 23:42 schrieb Stefan Thomas <[hidden email]>: Dear John, |
|
You can also define a ftable inside an instrument with the ftgenonce opcode.
Sometimes I miss the fact that you cannot define a score inside an instrument though.. Richard |
|
In reply to this post by Stefan Thomas-2
That will teach me to type in bed before going to sleep without the
spelling checker.... > Call ftgen with giDampCurve as nukber abd it wil overwrite the original > tabl;e Call ftgen with giDampCurve as number and it will overwrite the original table ftgen can be used in instruments other than zero with care ==John ffitch 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 [hidden email] with body "unsubscribe csound" |
|
In reply to this post by zappfinger
why not? you can write something like this in an instrument:
<CsoundSynthesizer> <CsInstruments> instr 1 scoreline_i {{ i 2 0 1 i 3 1 2 }} endin instr 2 prints "HU!\n" endin instr 3 prints "HA\n" endin </CsInstruments> <CsScore> i 1 0 3 </CsScore> </CsoundSynthesizer> joachim Am 19.02.2012 08:50, schrieb zappfinger: > You can also define a ftable inside an instrument with the ftgenonce opcode. > Sometimes I miss the fact that you cannot define a score inside an > instrument though.. > > Richard > > -- > View this message in context: http://csound.1045644.n5.nabble.com/how-to-influence-the-type-of-a-gen16-routine-tp5495962p5496507.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > 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 [hidden email] with body "unsubscribe csound" > > 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 [hidden email] with body "unsubscribe csound" |
|
In reply to this post by zappfinger
Dear Richard,
for best usage of cpu: would it be better to use ftgen oder ftgenonce? Would You recommend doing it in the way that Steven suggests in his article about creating encapsulated instruments? Am 19. Februar 2012 08:50 schrieb zappfinger <[hidden email]>: You can also define a ftable inside an instrument with the ftgenonce opcode. |
|
Hi Stefan,
I am really no expert on this and haven't looked at the code, but I guess that using a global f table or ftgen is less cpu consuming, in stead of ftgenonce (or ftgen) that is called at every instantiation of an instrument. But I think you would not see much difference. Interesting article from Steven, I did not know it. Richard |
|
In reply to this post by joachim-3
Joachim,
That is true, but I do not think you can call instr 1 (say you have only 1 instrument) without a line in the score like i1 0 1 1? Richard |
|
hi richard -
not sure which situation you mean, but something like this would be possible as a call from the host. for instance, the live event sheet in csoundqt, a message containing a score event when using csound inside max or pd, or even from the terminal (on linux or osx) with the option "-L stdin" (as described in 03E04.csd in http://en.flossmanuals.net/csound/ch020_e-triggering-instrument-events/). joachim Am 19.02.2012 21:28, schrieb zappfinger: > Joachim, > > That is true, but I do not think you can call instr 1 (say you have only 1 > instrument) without a line in the score like i1 0 1 1? > > Richard > > -- > View this message in context: http://csound.1045644.n5.nabble.com/how-to-influence-the-type-of-a-gen16-routine-tp5495962p5497479.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > 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 [hidden email] with body "unsubscribe csound" > > 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 [hidden email] with body "unsubscribe csound" |
| Powered by Nabble | Edit this page |
