[Csnd] API table length and guard point
Date | 2010-08-17 05:13 |
From | Jacob Joaquin |
Subject | [Csnd] API table length and guard point |
The API functions csoundTableLength and csoundGetTable both return the length of a table not including the guard point. How does one go about finding out if a table has a guard point or not? My best guess is that this information is hiding in struct FUNC in csoundCore.h somewhere. Best, Jake |
Date | 2010-08-17 08:59 |
From | Victor Lazzarini |
Subject | [Csnd] Re: API table length and guard point |
All tables have a guard point. The difference is why this point contains (either a copy of the first pos or an extension of the table contour, ie. 'extended guard point') Victor On 17 Aug 2010, at 05:13, Jacob Joaquin wrote: > The API functions csoundTableLength and csoundGetTable both return the > length of a table not including the guard point. How does one go about > finding out if a table has a guard point or not? My best guess is that > this information is hiding in struct FUNC in csoundCore.h somewhere. > > Best, > Jake > -- > The Csound Blog - http://csound.noisepages.com/ > Slipmat - http://slipmat.noisepages.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 sympa@lists.bath.ac.uk 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 sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-08-17 09:03 |
From | Carsten =?ISO-8859-1?Q?H=F8yer?= |
Subject | [Csnd] Creating a live instrument |
Hi How do I go about creating an instrument to play live? Ican create a midi controlled instrument, but my problem is that it needs to be associated with a score that has a start and an end. I guess I could write something like: start at 0 continue for 24 hours, but it seems like a work around. How do I make the playing time open-ended? Thanks Carsten 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" |
Date | 2010-08-17 09:12 |
From | Iain McCurdy |
Subject | [Csnd] RE: Creating a live instrument |
Hi Carsten, The most popular method is to put some sort of dummy event within the score to force Csound to wait for some time before quitting. Something like: f 0 86400 will give use 24 hour in which to input live midi. Hope this helps, Iain > From: caho@ruc.dk > To: csound@lists.bath.ac.uk > Date: Tue, 17 Aug 2010 10:03:05 +0200 > Subject: [Csnd] Creating a live instrument > > Hi > How do I go about creating an instrument to play live? Ican create a > midi controlled instrument, but my problem is that it needs to be > associated with a score that has a start and an end. > I guess I could write something like: start at 0 continue for 24 hours, > but it seems like a work around. > > How do I make the playing time open-ended? > > Thanks > Carsten > > > > 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" > |
Date | 2010-08-17 09:18 |
From | Jana |
Subject | [Csnd] Re: RE: Creating a live instrument |
Hi Carsten, in most cases you will need some constantly "on" instruments for forther audio processing (reverb, chorus), anyway. So, an "i 1234 0 86400" will do the same job. Really infinite operation isn't possible in Csound as far as i know. Best Jana Am 17.08.2010 10:12, schrieb Iain McCurdy: Hi Carsten, |
Date | 2010-08-17 09:24 |
From | Carsten =?ISO-8859-1?Q?H=F8yer?= |
Subject | [Csnd] Re: RE: Creating a live instrument |
Thought so. That was my suggestion as well. I'll live with it. Just seems like a work around, right? it should have an eternal sign like: f 0 -1 Thanks Carsten tir, 17 08 2010 kl. 08:12 +0000, skrev Iain McCurdy: > Hi Carsten, > > The most popular method is to put some sort of dummy event within the > score to force Csound to wait for some time before quitting. > Something like: > f 0 86400 > will give use 24 hour in which to input live midi. > > Hope this helps, > Iain > > > From: caho@ruc.dk > > To: csound@lists.bath.ac.uk > > Date: Tue, 17 Aug 2010 10:03:05 +0200 > > Subject: [Csnd] Creating a live instrument > > > > Hi > > How do I go about creating an instrument to play live? Ican create a > > midi controlled instrument, but my problem is that it needs to be > > associated with a score that has a start and an end. > > I guess I could write something like: start at 0 continue for 24 > hours, > > but it seems like a work around. > > > > How do I make the playing time open-ended? > > > > Thanks > > Carsten > > > > > > > > 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" > > 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" |
Date | 2010-08-17 09:46 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: Re: RE: Creating a live instrument |
I would have thought a dummy instrument that does nothing in particular but is allways on would be infinite. I am sure we have that somewhere ==John ff > Thought so. That was my suggestion as well. I'll live with it. Just > seems like a work around, right? > > it should have an eternal sign like: f 0 -1 > > Thanks > Carsten > > 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" |
Date | 2010-08-17 11:17 |
From | Oeyvind Brandtsegg |
Subject | [Csnd] Re: Re: Re: RE: Creating a live instrument |
Yes, there is. http://www.csounds.com/manual/html/alwayson.html best Oeyvind 2010/8/17 |
Date | 2010-08-17 11:33 |
From | Jana |
Subject | [Csnd] Re: Re: Re: Re: RE: Creating a live instrument |
Just tried it. Yes, "alwayson" activates an instrument for infinite duration - until the end of the performance (as stated in the "Performance" section of the opcode description). So there is still the time limitation by score events. By the way, a simple "e 86400" at the end of score keeps it running for a whole day without the need of any dummy statements like "f0"-tables. Best Jana Am 17.08.2010 12:17, schrieb Oeyvind Brandtsegg: > Yes, there is. > http://www.csounds.com/manual/html/alwayson.html > best > Oeyvind > 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" |
Date | 2010-08-17 13:52 |
From | Steven Yi |
Subject | [Csnd] Re: Re: Re: Re: Re: RE: Creating a live instrument |
I emailed about this some time ago and really do wish there was a way to just keep the engine running without putting in a duration. It makes sense to just turn an audio engine on/off versus "run for a very long time". John put in a feature from the last conversation, I think it's using a z as a constant for the max size of a double variable, but I can't find the information just now. On Tue, Aug 17, 2010 at 6:33 AM, Jana |
Date | 2010-08-17 14:13 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: RE: Creating a live instrument |
To be honest, e 8000000 and f0 80000000 is the same to me. Maybe the 'elegant' solution people are looking for is a command-line option (like for instance -T is for midifiles). Something like --always-on ? Victor On 17 Aug 2010, at 13:52, Steven Yi wrote: > I emailed about this some time ago and really do wish there was a way > to just keep the engine running without putting in a duration. It > makes sense to just turn an audio engine on/off versus "run for a very > long time". John put in a feature from the last conversation, I think > it's using a z as a constant for the max size of a double variable, > but I can't find the information just now. > > On Tue, Aug 17, 2010 at 6:33 AM, Jana |
Date | 2010-08-17 14:15 |
From | Michael Gogins |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: RE: Creating a live instrument |
I think a command line option is a good one, specially if there is a score statement that will then cause Csound to shut down cleanly and exit. Regards, Mike On Tue, Aug 17, 2010 at 9:13 AM, Victor Lazzarini |
Date | 2010-08-17 14:27 |
From | Steven Yi |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: RE: Creating a live instrument |
I agree with Michael, but the angle I'm more interested in is not from a direct use of Csound but rather when using Csound via API, as the engine for software to build on. A flag would work fine I think to use from the API too. On Tue, Aug 17, 2010 at 9:15 AM, Michael Gogins |
Date | 2010-08-17 14:29 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: RE: Creating a live instrument |
'e' statement? On 17 Aug 2010, at 14:15, Michael Gogins wrote: > I think a command line option is a good one, specially if there is a > score statement that will then cause Csound to shut down cleanly and > exit. > > Regards, > Mike > > On Tue, Aug 17, 2010 at 9:13 AM, Victor Lazzarini > |
Date | 2010-08-17 14:31 |
From | Carsten =?ISO-8859-1?Q?H=F8yer?= |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: RE: Creating a live instrument |
I'm with Steven. That is actually what I'm looking for too. Though I'm not really sure exactly what is the best way to do it, I was hoping there would be some existing feature that I could start testing with. Guess it is a Csound Devel List thread now Carsten tir, 17 08 2010 kl. 09:27 -0400, skrev Steven Yi: > I agree with Michael, but the angle I'm more interested in is not from > a direct use of Csound but rather when using Csound via API, as the > engine for software to build on. A flag would work fine I think to > use from the API too. > > On Tue, Aug 17, 2010 at 9:15 AM, Michael Gogins > |
Date | 2010-08-17 15:06 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: RE: Creating a live instrument |
The command-line flag can also be doubled-up with an API call, csoundOn(int on);, maybe? On 17 Aug 2010, at 14:27, Steven Yi wrote: > I agree with Michael, but the angle I'm more interested in is not from > a direct use of Csound but rather when using Csound via API, as the > engine for software to build on. A flag would work fine I think to > use from the API too. > > On Tue, Aug 17, 2010 at 9:15 AM, Michael Gogins > |
Date | 2010-08-17 15:41 |
From | Michael Gogins |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: RE: Creating a live instrument |
Good, there needs to be an API call to turn indefinite rendering on. Currently, it already is possible to turn off rendering from the API. Regards, Mike On Tue, Aug 17, 2010 at 10:06 AM, Victor Lazzarini |