Csound Csound-dev Csound-tekno Search About

[Csnd] Re: csoptions idea...

Date2009-08-18 17:21
From"Art Hunkins"
Subject[Csnd] Re: csoptions idea...
A *wonderful* idea.

Art Hunkins

----- Original Message ----- 
From: "Rory Walsh" 
To: 
Sent: Tuesday, August 18, 2009 9:43 AM
Subject: [Csnd] csoptions idea...


> It would be nice to be able to determine the OS in CsPtions so that
> user could do something along the lines of
>
> 
> if(OS=Mac) -+rtaudio=CoreAudio -odac
> elif(OS=Win32) -idac1
> elif(OS=Linux)  -+rtaudio=alsa -odac0
> 
>
> Or better again, have a OS specific CsOptions section such as
>
> 
>   
>   -+rtaudio=CoreAudio -odac
>   
>   
>   -idac1
>   
>   
>   -+rtaudio=alsa -odac0
>   
> 
>
> Then when Csound runs it could query the OS and uses the relevant
> options. Something like this would mean that the examples in the
> Csound manual could be run more easily out of the box and it would
> mean that users could share instrument accross platforms without
> having to ask other users to hack the options. Just an idea...
>
> Rory.
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-08-18 17:46
From"Dr. Richard Boulanger"
Subject[Csnd] Re: csoptions idea...
agree...  wonderful idea - especially version 2

-dB

On Aug 18, 2009, at 12:21 PM, Art Hunkins wrote:

> A *wonderful* idea.
>
> Art Hunkins
>
> ----- Original Message ----- From: "Rory Walsh" 
> To: 
> Sent: Tuesday, August 18, 2009 9:43 AM
> Subject: [Csnd] csoptions idea...
>
>
>> It would be nice to be able to determine the OS in CsPtions so that
>> user could do something along the lines of
>>
>> 
>> if(OS=Mac) -+rtaudio=CoreAudio -odac
>> elif(OS=Win32) -idac1
>> elif(OS=Linux)  -+rtaudio=alsa -odac0
>> 
>>
>> Or better again, have a OS specific CsOptions section such as
>>
>> 
>>  
>>  -+rtaudio=CoreAudio -odac
>>  
>>  
>>  -idac1
>>  
>>  
>>  -+rtaudio=alsa -odac0
>>  
>> 
>>
>> Then when Csound runs it could query the OS and uses the relevant
>> options. Something like this would mean that the examples in the
>> Csound manual could be run more easily out of the box and it would
>> mean that users could share instrument accross platforms without
>> having to ask other users to hack the options. Just an idea...
>>
>> Rory.
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"