[Csnd] Editing .csoundrc on Linux
Date | 2010-01-19 03:35 |
From | Emerson Aagaard |
Subject | [Csnd] Editing .csoundrc on Linux |
Hello all, I've recently switched to (from windows) Ubuntu, and have been entirely happy with it. However, I do not understand how to edit (or where to find) the .csoundrc file? If this is too vague of a query, my apologies, and thanks in advance,
Emerson
|
Date | 2010-01-19 08:19 |
From | Rene Djack |
Subject | [Csnd] Re: Editing .csoundrc on Linux |
Hi, Welcome to Linux world. In Linux, .file is hidden file, so in your File browser select menu View / Show Hidden Files. Y can use Search for Files .csoundrc .csoudrc contains options for csound like command flags, it is best to put flags in the <Options> tag in csd file. Best René 2010/1/19 Emerson Aagaard <emerson.aagaard@gmail.com> Hello all, |
Date | 2010-01-19 09:10 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Editing .csoundrc on Linux |
Hi, Also, be aware that you may not have a .csoundrc, as I think in linux it is not created by default. Just make a file called .csoundrc in your home directory (if you want a global configuration), or in the directory of your csd file, as Csound will look there first. Cheers, Andrés On Tue, Jan 19, 2010 at 8:19 AM, Rene Djack |
Date | 2010-01-19 09:32 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Editing .csoundrc on Linux |
I did the same here on OSX and still can't see any problems. Victor On 19 Jan 2010, at 09:10, Andres Cabrera wrote: > Hi, > > Also, be aware that you may not have a .csoundrc, as I think in linux > it is not created by default. Just make a file called .csoundrc in > your home directory (if you want a global configuration), or in the > directory of your csd file, as Csound will look there first. > > Cheers, > Andrés > > On Tue, Jan 19, 2010 at 8:19 AM, Rene Djack |
Date | 2010-01-19 16:46 |
From | Emerson Aagaard |
Subject | [Csnd] Re: Re: Re: Re: Editing .csoundrc on Linux |
Thanks alot, guys I've got that working, now, but for some reason I can't get Alsa working with Csound. I use the command line flag (in either the .csoundrc file or the command-line) "-+rtaudio=alsa -odac:hw:1,0" and I get the a fatal error saying "Unable to set requested sample format on soundcard". I *swear* that I was able to use Alsa just last night in this same way! There's nothing odd about the .csd (just a test tone to output a sine-wave), and the sr = 44100. Emerson
|
Date | 2010-01-19 18:02 |
From | Rene Djack |
Subject | [Csnd] Re: Re: Re: Re: Re: Editing .csoundrc on Linux |
Hi, For audio on alsa and no midi i use: -fdhm0 -iadc -odac -b16 -B512 --expression-opt -+rtaudio=alsa -+rtmidi=null For audio on alsa and midi on alsa i use: -fdhm0 -iadc -odac -b16 -B512 --expression-opt -+rtaudio=alsa -+rtmidi=alsa -Mhw:1,0 But i prefer to use jack audio server with qjackctl for audio connection -fdhm0 -iadc:system:capture_ -odac:system:playback_ -+rtaudio=jack -b128 -B4096 --expression-opt -+rtmidi=null or -fdhm0 -iadc:system:capture_ -odac:system:playback_ -+rtaudio=jack -b16 -B4096 --expression-opt -+rtmidi=alsa -Mhw:1,0 Best, René 2010/1/19 Emerson Aagaard <emerson.aagaard@gmail.com> Thanks alot, guys |