Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4626] Re: Csound5 and Portaudio

Date2004-05-08 19:40
From"gogins@pipeline.com"
Subject[CSOUND-DEV:4626] Re: Csound5 and Portaudio
Your experience is similar to mine (dac0 works but is noisy). Again I am in
the country with no Linux. I will try again Monday. I think I had this
working at some point...

I have the strings building. There were misspellings in SConstruct, and the
Depend thingy takes the return from the builder function, not the _name_ of
the target, it should be as below.

I will commit this in an hour or so.

(changed this line:)
makedb = ustubProgramEnvironment.Program('makedb', 
    ['strings/makedb.c'])

if commonEnvironment['generateXmg'] == 1:
    print "Calling makedb"
    xmgs = commonEnvironment.Command('American.xmg',
['strings/all_strings'], 'makedb strings/all_strings American')
    xmgs1 = commonEnvironment.Command('English.xmg',
['strings/english-strings'], 'makedb strings/english-strings English')
    xmgs2 = commonEnvironment.Command('csound.xmg',
['strings/english-strings'], 'makedb strings/english-strings csound')
    Depends(xmgs, makedb)
    Depends(xmgs1, makedb)
    Depends(xmgs2, makedb)

Original Message:
-----------------
From: John ffitch jpff@cs.bath.ac.uk
Date: Sat, 8 May 2004 17:55:20 +0100 (BST)
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:4624] Re: Csound5 and Portaudio


On Sat, 8 May 2004 acabrera@teleset.com.co wrote:

> Just wanted to add that using -dac0 I got:
> Using Portaudio Device 0
> PortAudio error -9998: Invalid number of channels

You are doing better than I!  If I use -o dac0 it runs but the noise is 
horrid.  If I use -o dac1 it just crashes

Found 2 audio devices:
PortAudio device 0
  /dev/dsp
  Maximum channels in:     16
  Maximum channels out:    16
  Default sample rate:  44100.000
PortAudio device 1
  Intel 82801CA-ICH3
  Maximum channels in:      2
  Maximum channels out:     2
  Default sample rate:  44100.000
Using Portaudio Device 1
Suggested PortAudio latency = 0.023220 seconds.
PortAudio error -9993: Illegal combination of I/O devices
unable to open soundcard for audio output

Other values fro dac give no-such-device

==John ff


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .