realtime audio problems
Date | 1998-05-17 04:00 |
From | James Garfield |
Subject | realtime audio problems |
A big problem I've been having consistently is that realtime audio is very choppy when I try to play any score. Generating a soundfile and playing it back is clean; it's just the realtime output that sounds like garbage. I'm using Csound for PPC, version 0.3.1, along with the Perf fix (all downloaded from the Mills FTP site). I've checked to make sure that the sampling rate is 44100 all around, but that doesn't seem to make a difference. Changing the audio buffer size changes the rate of choppiness but does not eliminate it. I've got a 604e machine (160 MHz) with Sound Manager 3.3, from recently installing QuickTime 3.0....but I was having these problems with QuickTime 2.5 and the previous Sound Manager extension as well. At one point I had something like Csound for PPC 0.2b and did not experience these problems. Is there something I'm missing here, like some preferences that need to be reset or tweaked? I feel like a weenie whenever I do things the old-fashioned way and just generate a soundfile. ---James -- James Garfield |
Date | 1998-05-17 18:29 |
From | "Matt J. Ingalls" |
Subject | Re: realtime audio problems |
> back is clean; it's just the realtime output that sounds like garbage. > > I'm using Csound for PPC, version 0.3.1, along with the Perf fix (all > downloaded from the Mills FTP site). I've checked to make sure that the > sampling rate is 44100 all around, but that doesn't seem to make a difference. > Changing the audio buffer size changes the rate of choppiness but does not > eliminate it. > > I've got a 604e machine (160 MHz) with Sound Manager 3.3, from recently > installing QuickTime 3.0....but I was having these problems with QuickTime 2.5 > and the previous Sound Manager extension as well. At one point I had > something like Csound for PPC 0.2b and did not experience these problems. > > Is there something I'm missing here, like some preferences that need to be > reset or tweaked? I feel like a weenie whenever I do things the old-fashioned > way and just generate a soundfile. > > ---James > > -- > James Garfield |
Date | 1998-05-18 14:42 |
From | Steven Curtin |
Subject | Re: realtime audio problems |
>Is there something I'm missing here, like some preferences that need to be >reset or tweaked? I feel like a weenie whenever I do things the old-fashioned >way and just generate a soundfile. I found I needed to specify much larger sound buffers than the defaults. This is in the options section. This will affect how long it takes Csound to respond to a MIDI note but you may not care about that (I don't). Remember that at some point you will overload the ability of the computer to do real time. Csound isn't very graceful about this- trim back some voices or use a lower sample rate for quick auditions, then generate a file during your lunch hour for the big production. One other thing I found in the PC version- you must specify a sample rate in the orc that the sound card can support, otherwise you will get an "incompatible sample rate" error. Subdivisions of 44100 (22050, 11025) are usually safe. regards, Steve C -------------------------------------------------------------- Steven Curtin http://www.emf.org/people_curtin.html Lucent Technologies - Bell Labs Innovations rm. 3C-208, 200 Laurel Ave S Middletown, NJ 07748-4801 U S A ph: (732)957-2996 fax: (732)957-6878 -------------------------------------------------------------- |