Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: csoptions idea...

Date2009-08-18 17:27
From"Art Hunkins"
Subject[Csnd] Re: Re: Re: csoptions idea...
I think it *worth* the trouble.

If just for the MIDI option. (The basic problem is Linux/alsa - the hw:0,1 
stuff.)

Art Hunkins

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


But the same options won't work for all platforms? That's the problem
I'm having, I have to explicitly specify alsa on linux, it is true
however that -odac on both windows and OSX will evoke the default
portaudio device..perhaps it's more trouble than it's worth!

2009/8/18  :
>
> This needs more thought. What if I want the same for all platforms?
> Or the same for two and no idea for thirs....
>
> ==John ff
>
>> 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"= 



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