| The CsOptions tag is used by CsoundVST at least, and possibly other
software that embeds Csound via the API with storage of csd files, to
store Csound options in the CSD file which, in turn, is stored as a
blob in sequencer song files.
Regards,
Mike
On 8/18/09, Steven Yi wrote:
> I've always advocated getting rid of CsOptions, and I always set
> -+ignore_csopts=true in my .csoundrc. The reason for this is that any
> settings you set there are completely dependent on the machine you're
> working on (not even what OS). I usually set all settings for
> hardware in .csoundrc which is per-system. This works for when I test
> a CSD on commandline. Otherwise, I use blue's virtual devices.
>
> In blue, each project can be set to use "Audio In", "Audio Out", "MIDI
> In", "MIDI Out". The project uses these and when blue goes to
> compile, it looks up what the user has set for those on that system.
> The project then becomes portable between machines and continues to
> work even if new hardware is added and the setting for that virtual
> device is modified. I can take the project from OS to OS, from
> machine to machine, without problems.
>
> I would rather a virtual device system be added to csound rather than
> continuing to add more machine-dependent configuration settings in a
> CSD. This could be done using something like:
>
> -odac system
> -idac system
> -M system
> -Q system
>
> and if csound finds system (or whatever term works), look it up from
> values that could be set in commandline (which makes it able to be set
> in .csoundrc).
>
> For myself, I'm fine now to set my .csoundrc to default to
> realtime-audio output on the machine for general usage, then use
> commandline flags to override if I want to write to disk. (Though I'll
> mostly use blue.)
>
> On Tue, Aug 18, 2009 at 9:50 AM, Rory Walsh wrote:
>> 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"
--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |