Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] instr 0

Date2006-09-17 11:00
FromMichael Gogins
SubjectRe: [Cs-dev] instr 0
Could you explain in more detail? Or give a code snippet?

Regards,
Mike

-----Original Message-----
>From: matt ingalls 
>Sent: Sep 17, 2006 1:53 AM
>To: Developer discussions 
>Subject: Re: [Cs-dev] instr 0
>
>
>On Sep 16, 2006, at 5:37 PM, Michael Gogins wrote:
>
>> I will give some thought to an always-on option (or default option  
>> for real-time performance) that is backwards compatible and that  
>> permits the API to still turn off a performance.
>>
>
>the API has always suppored a "clean" turn off
>in performance via Yield().
>
>> Regards,
>> Mike
>>
>> -----Original Message-----
>>> From: Art Hunkins 
>>> Sent: Sep 16, 2006 5:51 PM
>>> To: Developer discussions 
>>> Subject: Re: [Cs-dev] instr 0
>>>
>>> True, true (both Matt and Victor).
>>>
>>> OTOH, it isn't really difficult to add f0 3600 to the score,  
>>> assuming there
>>> is one (as currently there is with an always on instrument).
>>>
>>> Then, too, some of us have been suffering under these bothersome  
>>> conditions
>>> for 15-20 years now! (I think us "realtimers" have always felt  
>>> ourselves a
>>> bit put upon.)
>>>
>>> Art H.
>>>
>>> ----- Original Message -----
>>> From: "matt ingalls" 
>>> To: ; "Developer discussions"
>>> 
>>> Sent: Saturday, September 16, 2006 4:02 PM
>>> Subject: Re: [Cs-dev] instr 0
>>>
>>>
>>>> i could live with that,
>>>> but imo it should be implicit in a real-time render.
>>>> -m
>>>>
>>>> On Sep 16, 2006, at 12:35 PM, Victor Lazzarini wrote:
>>>>
>>>>> What about a flag --always_on to keep the
>>>>> performance going after the score has finished?
>>>>
>>>> -------------------------------------------------------------------- 
>>>> -----
>>>> 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
>> 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-09-17 20:04
Frommatt ingalls
SubjectRe: [Cs-dev] instr 0
AttachmentsNone  None  
This is how i have always done it from when i first made Csound a dylib,
( however the newer csoundStop() may be an easier way to do the same thing? )

You can look at the MyDocument.m file in the CsoundX frontend source in cvs
for an example.



i call csoundPerformBuffer() from a separate thread.

In my application-level thread, the user can hit the "stop" button
which then sets a mQuitRequested boolean.

During the csoundPerformBuffer() call, 
Yield() is called from CsoundLib, which i return !mQuitRequested.

When Yield() returns false, csound stops the render, and will then
return  a "done" code from csoundPerformBuffer().

After i receive a "done" return, i call csoundDestroy().



On Sep 17, 2006, at 3:00 AM, Michael Gogins wrote:

Could you explain in more detail? Or give a code snippet?

Regards,
Mike

-----Original Message-----
From: matt ingalls <matt@sfsound.org>
Sent: Sep 17, 2006 1:53 AM
To: Developer discussions <csound-devel@lists.sourceforge.net>
Subject: Re: [Cs-dev] instr 0


On Sep 16, 2006, at 5:37 PM, Michael Gogins wrote:

I will give some thought to an always-on option (or default option  
for real-time performance) that is backwards compatible and that  
permits the API to still turn off a performance.


the API has always suppored a "clean" turn off
in performance via Yield().

Regards,
Mike

-----Original Message-----
From: Art Hunkins <abhunkin@uncg.edu>
Sent: Sep 16, 2006 5:51 PM
To: Developer discussions <csound-devel@lists.sourceforge.net>
Subject: Re: [Cs-dev] instr 0

True, true (both Matt and Victor).

OTOH, it isn't really difficult to add f0 3600 to the score,  
assuming there
is one (as currently there is with an always on instrument).

Then, too, some of us have been suffering under these bothersome  
conditions
for 15-20 years now! (I think us "realtimers" have always felt  
ourselves a
bit put upon.)

Art H.

----- Original Message -----
From: "matt ingalls" <matt@sfsound.org>
To: <Victor.Lazzarini@nuim.ie>; "Developer discussions"
Sent: Saturday, September 16, 2006 4:02 PM
Subject: Re: [Cs-dev] instr 0


i could live with that,
but imo it should be implicit in a real-time render.
-m

On Sep 16, 2006, at 12:35 PM, Victor Lazzarini wrote:

What about a flag --always_on to keep the
performance going after the score has finished?

-------------------------------------------------------------------- 
-----
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
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list


--------------------------------------------------------------------- 
----
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
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list




---------------------------------------------------------------------- 
---
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
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list



-------------------------------------------------------------------------
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
_______________________________________________
Csound-devel mailing list




-------------------------------------------------------------------------
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
_______________________________________________
Csound-devel mailing list