Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Portaudio interface question

Date2008-01-07 15:37
Fromvictor
Subject[Csnd] Re: Portaudio interface question
csound -odac2
 
rtaudio defaults to portaudio, so you don't need to use it. If you
want to specify, then it's "rtpa" or "pa", but not "pa2". The device
number is always specified after "dac".
 
Victor
 
----- Original Message -----
From: Dave
Sent: Monday, January 07, 2008 3:31 PM
Subject: [Csnd] Portaudio interface question

Dear list,

I am having trouble selecting my new firebox interface for real time use. when i use the following commandline.

csound -+rtaudio=pa -odac "simpletest.csd"


I get....


....
....
Creating pin 1:
Not source/sink
Filter NOT created
Device 2 has capture alias
Interface 2, Name: PreSonus FIREBOX Mic/Inst 1/2
.....

.....
PortAudio: available output devices:
   0: Microsoft Sound Mapper - Output
   1: YAMAHA AC-XG WDM Audio
   2: PreSonus FIREBOX Out Main 1/2
   3: PreSonus FIREBOX Out 3/4
   4: PreSonus FIREBOX Out 5/6
   5: PreSonus FIREBOX Spdif Out L/R
   6: Primary Sound Driver
   7: YAMAHA AC-XG WDM Audio
   8: PreSonus FIREBOX Out Main 1/2
   9: PreSonus FIREBOX Out 3/4
  10: PreSonus FIREBOX Out 5/6
  11: PreSonus FIREBOX Spdif Out L/R
  12: PreSonus ASIO Driver (FireBox)
  13: PreSonus FIREBOX Out Main 1/2
  14: PreSonus FIREBOX Out 3/4
  15: PreSonus FIREBOX Out 5/6
  16: PreSonus FIREBOX Spdif Out L/R
  17: YAMAHA AC-XG WDM Audio



So i realize i should specify the device number for dac and rtaudio

so i specify "-odac2 and -+rtaudio=pa2"

as I am trying to pull input from
"Interface 2, Name: PreSonus FIREBOX Mic/Inst 1/2"
and write output to "2: PreSonus FIREBOX Out Main 1/2"

but when i do this I get this error:

 *** error: unknown rtaudio module: 'pa2'
Failed to initialise real time audio output

Any help would be greatly appreciated. Thanks.


Dave Hanft


Never miss a thing. Make Yahoo your homepage.

Date2008-01-07 18:21
FromDave
Subject[Csnd] Re: Re: Portaudio interface question
Victor,

Thanks so much for the help output now works. I am assuming the following will work for input which i will try when i get home.

csound -+rtaudio=portaudio -idac2 -odac2 "file.csd"

thanks so much for the help,
Dave
victor <Victor.Lazzarini@nuim.ie> wrote:
csound -odac2
 
rtaudio defaults to portaudio, so you don't need to use it. If you
want to specify, then it's "rtpa" or "pa", but not "pa2". The device
number is always specified after "dac".
 
Victor
 
----- Original Message -----
From: Dave
Sent: Monday, January 07, 2008 3:31 PM
Subject: [Csnd] Portaudio interface question

Dear list,

I am having trouble selecting my new firebox interface for real time use. when i use the following commandline.

csound -+rtaudio=pa -odac "simpletest.csd"


I get....


....
....
Creating pin 1:
Not source/sink
Filter NOT created
Device 2 has capture alias
Interface 2, Name: PreSonus FIREBOX Mic/Inst 1/2
.....

.....
PortAudio: available output devices:
   0: Microsoft Sound Mapper - Output
   1: YAMAHA AC-XG WDM Audio
   2: PreSonus FIREBOX Out Main 1/2
   3: PreSonus FIREBOX Out 3/4
   4: PreSonus FIREBOX Out 5/6
   5: PreSonus FIREBOX Spdif Out L/R
   6: Primary Sound Driver
   7: YAMAHA AC-XG WDM Audio
   8: PreSonus FIREBOX Out Main 1/2
   9: PreSonus FIREBOX Out 3/4
  10: PreSonus FIREBOX Out 5/6
  11: PreSonus FIREBOX Spdif Out L/R
  12: PreSonus ASIO Driver (FireBox)
  13: PreSonus FIREBOX Out Main 1/2
  14: PreSonus FIREBOX Out 3/4
  15: PreSonus FIREBOX Out 5/6
  16: PreSonus FIREBOX Spdif Out L/R
  17: YAMAHA AC-XG WDM Audio



So i realize i should specify the device number for dac and rtaudio

so i specify "-odac2 and -+rtaudio=pa2"

as I am trying to pull input from
"Interface 2, Name: PreSonus FIREBOX Mic/Inst 1/2"
and write output to "2: PreSonus FIREBOX Out Main 1/2"

but when i do this I get this error:

 *** error: unknown rtaudio module: 'pa2'
Failed to initialise real time audio output

Any help would be greatly appreciated. Thanks.


Dave Hanft

Never miss a thing. Make Yahoo your homepage.


Never miss a thing. Make Yahoo your homepage.