Csound Csound-dev Csound-tekno Search About

[Csnd] add directory to sfdir var.

Date2010-06-09 22:16
FromDima Bak
Subject[Csnd] add directory to sfdir var.
Hi! I try to run some examles, that i download. But it can't find .wav files. I set windows system variable SFDIR to "D;/path/to/wavs" and add it to .csoundrc.
Here is my .csoundrc

  -d        -m135        -H0        -s       -W      -o dac        -+rtaudio=pa  -b 128    -B 2048   --expression-opt --env:SFDIR="d:\CsoundRealtimeExamples\SourceMaterials"

When i try to run example, csound can't find sound files.

soundin cannot open StairwellL.wav
INIT ERROR in instr 2: pconvolve: error while impulse file
soundin cannot open StairwellR.wav
INIT ERROR in instr 2: pconvolve: error while impulse file 
soundin cannot open dishL.wav
INIT ERROR in instr 2: pconvolve: error while impulse file
soundin cannot open dishR.wav
INIT ERROR in instr 2: pconvolve: error while impulse file
 - note deleted.  i2 had 4 init errors
Deleting C++ objects from doppler...

How to add permanently path to sfdir var ?
Does .csoundrc run, when i start play on emacs (just run csound.exe). This fuckin qutecsound crush with fltk..

Thanks.


Date2010-06-10 08:50
FromAndres Cabrera
Subject[Csnd] Re: add directory to sfdir var.
On Wed, Jun 9, 2010 at 10:16 PM, Dima Bak  wrote:
> How to add permanently path to sfdir var ?
> Does .csoundrc run, when i start play on emacs (just run csound.exe). This
> fuckin qutecsound crush with fltk..
>

Version?


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-06-10 09:00
FromStéphane Rollandin
Subject[Csnd] Re: add directory to sfdir var.
You must be aware that the environment in which csound is run is 
controlled by csound-x, so its better to set all paths and directories 
in Emacs itself.

If you want to bypass this and access the system-wide environment for 
csound, do

M-x surmulot-use-system-csound

> How to add permanently path to sfdir var ?

For csound-x, do it in Emacs:
M-x customize-option cscsd-SFDIR

> Does .csoundrc run, when i start play on emacs (just run csound.exe).

It should.

(gentenv "CSOUNDRC") tells you where it is looked for
M-x customize-option cscsd-CSOUNDRC let you set its location


> This fuckin qutecsound crush with fltk..
>
> Thanks.

Man, you have been so incredibly impolite in your previous mail that it 
was actually funny. I doubt I would have found it so funny if your 
target had been csound-x instead of qutecsound though... Please avoid 
expressing your disdain concerning a piece of software in terms that are 
offensive to its author ("piece of shit" comes to mind): if instead you 
report more objectively and precisely what's wrong with qutecsound in 
your use case then you will both express your frustration and provide 
valuable feedback for its author. Everybody's happy...


Stef






Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"