Hi Ivan, I am using the KDE desktop. I changed the settings of the sound server like you said. Snd still freezes, whereas your ruby scripts runs fine without freezing. r@xxx Ivan Z. Ganza wrote: >Ralf, > >Would you describe your desktop? Is it booting into kde, gnome, >etc..? > >Even after a clean boot, say if you are in kde, it may grab the >soundcard on you. (I had to go into sound config and tell the >soundserver to 'suspend' after 5 seconds of inactivity. By default it >sets to something like 60 seconds or never, in which case, it would >keep the card happily locked forever...) -- this is specific to kde. > >Try to open the card manually from the command with the snippet of ruby >code below. If this just freezes and never comes back then the >soundcard is being held by something else... > >-Ivan/ > >---- >#!/usr/local/bin/ruby -w > >f = File.new("/dev/dsp", "r+") >---- > >Ralf Haller <ralf@xxxxxxx> writes: > > > >>Hi Ivan, >> >>that's not the case here. Trying record with snd on a freshly booted >>system still freezes snd... >> >> >>r@xxx >> >> >>Ivan Z. Ganza wrote: >> >> >> >>>Hi Ralf, >>> >>>I have had the same problem with the snd program that you describe. >>> >>>This seems to be caused when the soundcard is already opened by >>>another program. >>> >>>Make sure nothing else has opened the soundcard. >>> >>>Ralf Haller <ralf@xxxxxxx> writes: >>> >>> >>> >>> >>>>Fernando Pablo Lopez-Lezcano wrote: >>>> >>>> >>>> >>>> >>>>>>when I try to record with snd by selecting record in the file menu, >>>>>>the record window opens but freezes without properly displaying the >>>>>>controls. Recording with other tools like sweep works without any >>>>>>problems. >>>>>> I am using RedHat 8.0 and installed the kernel and alsa >>>>>>drivers >>>>>> >>>>>> >>>>>>from planet ccrma. >>>>> >>>>> >>>>>> Any clues? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>What soundcard are you using? >>>>>-- Fernando >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>It's a Philips PCA721AF based on the Opti 82C925 sound chip... >>>> >>>>r@xxx >>>> >>>> >>>> >>> >>> >>> > > > >