[Csnd] problem with fout opcode?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] problem with fout opcode?

zappfinger
I'm borrowing from an example in the Floss manual:


     outs    aoutL, aoutR
     fout    "live_record.wav",18, aoutL, aoutR ;write to soundfile

but I get:

INIT ERROR in instr 1: error opening sound file 'live_record.wav'
     fout    "live_record.wav"    18    aoutL    aoutR

Why?

Richard

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] problem with fout opcode?

jpff
Do you have access to the current directory to write,?

Sent from TypeApp
On 10 Apr 2017, at 23:38, Richard <[hidden email]> wrote:
I'm borrowing from an example in the Floss manual:


outs aoutL, aoutR
fout "live_record.wav",18, aoutL, aoutR ;write to soundfile

but I get:

INIT ERROR in instr 1: error opening sound file 'live_record.wav'
fout "live_record.wav" 18 aoutL aoutR

Why?

Richard

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] problem with fout opcode?

zappfinger

It was indeed a simple access problem..


On 11/04/17 03:59, John ff wrote:
Do you have access to the current directory to write,?

Sent from TypeApp
On 10 Apr 2017, at 23:38, Richard <[hidden email]> wrote:
I'm borrowing from an example in the Floss manual:


     outs    aoutL, aoutR
     fout    "live_record.wav",18, aoutL, aoutR ;write to soundfile

but I get:

INIT ERROR in instr 1: error opening sound file 'live_record.wav'
     fout    "live_record.wav"    18    aoutL    aoutR

Why?

Richard

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] problem with fout opcode?

zappfinger
In reply to this post by jpff

The sample rate does not seem to be right with fout. I have sr=44100 in the header. Audacity also reports this, but listening to it, the file plays way too slow. I tried several settings for the format parameter.. 


On 11/04/17 03:59, John ff wrote:
Do you have access to the current directory to write,?

Sent from TypeApp
On 10 Apr 2017, at 23:38, Richard <[hidden email]> wrote:
I'm borrowing from an example in the Floss manual:


     outs    aoutL, aoutR
     fout    "live_record.wav",18, aoutL, aoutR ;write to soundfile

but I get:

INIT ERROR in instr 1: error opening sound file 'live_record.wav'
     fout    "live_record.wav"    18    aoutL    aoutR

Why?

Richard

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here