[CSOUND-DEV:4328] Getting in step
Date | 2004-03-15 20:30 |
From | jpff@codemist.co.uk |
Subject | [CSOUND-DEV:4328] Getting in step |
I am almost there now. Just before supper I did manage to compile it all, but some problems have crept back. In principle all the utilities now use linsndfile. I have tested hetro and a little others, but will finish the check later. There are still some differences between CVS and my files but I am working on them. On a different note, am I alone is having noisy output from PortAudio? My standard alias test is unusable with PA. ==John ffitch |
Date | 2004-03-15 20:41 |
From | steven yi |
Subject | [CSOUND-DEV:4329] Re: Getting in step |
Hi John, I noticed using device 0 yielded horrible noise, but using device 1 sound was fine. This was on a Fedora Core 1 linux setup. Device 0 was set to /dev/dsp I think but the device said it had 16 channels. This is in the last message here: http://eartha.mills.edu:8000/guest/archives/CSOUND-DEV/log0402/msg00046.html I'm not sure if this is the same problem or if using a different device number will "fix" the issues you are having in terms of getting to hear audio. I'm suspect there's something odd going on in PortAudio v19 and that device 0 isn't really meant to be identified with 16 channels, but I'm not qualified to say. steven jpff@codemist.co.uk wrote: >I am almost there now. Just before supper I did manage to compile it >all, but some problems have crept back. In principle all the >utilities now use linsndfile. I have tested hetro and a little >others, but will finish the check later. There are still some >differences between CVS and my files but I am working on them. > >On a different note, am I alone is having noisy output from PortAudio? >My standard alias test is unusable with PA. > >==John ffitch > > > > > |
Date | 2004-03-15 21:04 |
From | John ffitch |
Subject | [CSOUND-DEV:4330] Re: Getting in step |
Portaudio asserted there were two devices -- 0 and 1. 0 was noisy (and 16 channels) while 1 just segfaulted, but was stereo. I preferred the other alsa solution which was to use a device csound, defined in .asoundrc. That was the Csound4 code anyway. ....still having problems getting in step. I could build for a short while but now it is complaining, as I cannot follow all the changes that are not compatible. Currently stuck on het_main.o: In function `main': /home/jpff/Sourceforge/csound5/anal/adsyn/het_main.c:48: undefined reference to `cenviron' /home/jpff/Sourceforge/csound5/anal/adsyn/het_main.c:49: undefined reference to `cenviron' ../../hetro.o: In function `hetro': /home/jpff/Sourceforge/csound5/Top/hetro.c:204: undefined reference to `cenviron' /home/jpff/Sourceforge/csound5/Top/hetro.c:204: undefined reference to `cenviron' /home/jpff/Sourceforge/csound5/Top/hetro.c:205: undefined reference to `cenviron' ../../hetro.o:/home/jpff/Sourceforge/csound5/Top/hetro.c:210: more undefined references to `cenviron' follow ../../libsnd_u.o: In function `SAsndgetset': /home/jpff/Sourceforge/csound5/InOut/libsnd_u.c:118: undefined reference to `O' /home/jpff/Sourceforge/csound5/InOut/libsnd_u.c:119: undefined reference to `cenviron' /home/jpff/Sourceforge/csound5/InOut/libsnd_u.c:130: undefined reference to `O' /home/jpff/Sourceforge/csound5/InOut/libsnd_u.c:131: undefined reference to `cenviron' and so on for another page ==John |
Date | 2004-03-15 21:09 |
From | John ffitch |
Subject | [CSOUND-DEV:4331] Re: Getting in step |
More to last message 0dBFS level = 32767.0 orch now loaded audio buffered in 1024 sample-frame blocks 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 No PortAudio device given. Defaulting to device 1. PortAudio error -9998: Invalid number of channels unable to open soundcard for audio output SECTION 1: musmon returns 0 ftable 1: ftable 2: ftable 3: ftable 4: new alloc for instr 1: Segmentation fault (core dumped) If it matters I was attempting to create a mono sound. ==John ff |
Date | 2004-03-15 23:57 |
From | acabrera@teleset.com.co |
Subject | [CSOUND-DEV:4333] Re: Getting in step |
>On a different note, am I alone is having noisy output from PortAudio? >My standard alias test is unusable with PA. > >==John ffitch I'm not sure if this is your problem, but when using portaudio with outc you have to fill all slots with an a-rate variable. Zero doesn't do the trick either. Cheers, Andres Cabrera |