Csound Csound-dev Csound-tekno Search About

problem with fout opcode?

Date2017-04-10 23:36
FromRichard
Subjectproblem with fout opcode?
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
Csound@listserv.heanet.ie
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

Date2017-04-11 02:59
FromJohn ff
SubjectRe: problem with fout opcode?
Do you have access to the current directory to write,?

Sent from TypeApp
On 10 Apr 2017, at 23:38, Richard <zappfinger@GMAIL.COM> 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
Csound@listserv.heanet.ie
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

Date2017-04-11 07:10
FromRichard
SubjectRe: problem with fout opcode?

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 <zappfinger@GMAIL.COM> 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
Csound@listserv.heanet.ie
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 Csound@listserv.heanet.ie 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


Date2017-04-11 09:05
FromRichard
SubjectRe: problem with fout opcode?

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 <zappfinger@GMAIL.COM> 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
Csound@listserv.heanet.ie
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 Csound@listserv.heanet.ie 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