[Nyquist-users] problem with nyquist on fedora core 13
Nyquist is a language for sound synthesis and music composition.
Brought to you by:
rbd
From: <pr...@un...> - 2010-11-14 10:37:58
|
I'm having a problem running the version of nyquist distributed with fedora core 13. This looks to be pretty close to the standard 3.03 distribution although there are changes to deal with relevant libraries etc. I've downloaded the source for the package nyquist.x86_64 3.03-3.fc12 and done a fair bit of digging. The problem appears to be when building the list of available output devices in pa_linux_alsa.c. the function snd_pcm_open( &pcm, deviceNames[i].alsaName, SND_PCM_STREAM_PLAYBACK, blocking ) fails (i.e returns negative) for the alsa device "hw,0,0" which corresponds to the sound device /dev/snd/pcmC0D0p. One can confirm this using strace where one sees a line: open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK|O_CLOEXEC) = -1 EBUSY (Device or resource busy) Now this is a bit odd. I *am* using the device already since I have a speech synthesizer running but I can confirm I can open it again and play other sounds in parallel e.g. with mpg123. Confirmed with strace -eopen -ooutfile mpg123 mytrack.mpe open("/dev/snd/pcmC0D0p", O_RDWR|O_APPEND|O_NONBLOCK|O_CLOEXEC) = 4 No problem. Note the extra "O_APPEND" flag here. This is probably a portaudio question but I thought I'd ask here since I'm not sure Roger is using the vanilla portaudio distribution. Also can I ask what the current plans for development of the cvs version are? I can't compile that at the moment, the portaudio subdirectory seems to be empty or nearly so. Roger, ar you cutting over to the standard portaudio distribution? Thanks in advance for any help cheers Peter -- Peter Rayner room 330 School of Earth Sciences, University of Melbourne, 3010, Vic, Australia tel: work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761 mobile +61 402 752 379 mail-to: pr...@un... |