[Stk] Bug in RtAudio or base class?

John Heenan john@auscyber.com
Thu, 14 Nov 2002 02:52:26 +1030


Hi Gary

DirectX 8.1 has been installed and more up to date soundcard drivers have
been installed. This had no change.

The soundcard is a Vibra 128.

play.exe will not playback files recorded in, or converted to, various wav
formats using Windows Sound Recorder.

play.exe will play files recorded by STK record with similar quality as
Windows Sound Recorder.

Using the various samples of the STK with the Tcl GUI there is static. This
is made dramatically worse by mouse movement anywhere in the screen.

If there was a problem with soundcards drivers and/or the DirectSound API I
would expect complete failure (not so).

Given you have kept to the DirectSoundCapture API it is puzzling why some
Windows PCs are fine and mine is not, given this API is supposed to provide
independence from the Windows platforms.

John


----- Original Message -----
From: "Gary Scavone" <gary@ccrma.Stanford.EDU>
To: "John Heenan" <john@auscyber.com>
Cc: <stk@ccrma.Stanford.EDU>
Sent: Thursday, November 14, 2002 3:53 AM
Subject: Re: [Stk] Bug in RtAudio or base class?


Hi John,

I'm assuming the "play" example works ok?  The playback and record
buffering schemes are exactly the same.  I don't use a multimedia
timer (which is common) because RtAudio implements a blocking
read/write call (and builds callback functionality on top of that).
That said, RtAudio has been working for many Windows users with good,
glitch-free response (Perry reports that he's sometimes left things
running for hours without a problem).

I'd guess that this is an issue of either 1.) your soundcard driver;
and/or 2.) Your installed version of the DirectSound library.
DirectSound is up to version 8.x or higher.  The DirectSoundCapture
API is what is being used.  Can you check whether your soundcard
manufacturer has an updated driver (I now remember that my Maestro2e
driver initially did not work at all for capture but then did after I
downloaded and installed an update)?

--gary

On Thu, 14 Nov 2002, John Heenan wrote:

>>Processor speed is around 800Mhz.
>>
>>No other recording software I have used has these problem. For example
>>Windows Sound Recorder works fine.
>>
>>It sounds as if the implementation of buffering algorithms have got their
>>knickers in a twist, such as overlapping data.
>>
>>John
>>
>>----- Original Message -----
>>From: "Perry R Cook" <prc@CS.Princeton.EDU>
>>To: "John Heenan" <john@auscyber.com>
>>Cc: <stk@ccrma.Stanford.EDU>
>>Sent: Thursday, November 14, 2002 2:59 AM
>>Subject: Re: [Stk] Bug in RtAudio or base class?
>>
>>
>>John,
>>
>>What speed is your processor?
>>
>>PRC
>>
>>
>>
>>
>>_______________________________________________
>>Stk mailing list
>>Stk@ccrma.stanford.edu
>>http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>>

--
-------------------------------------------------
Gary Scavone
Center for Computer Research in Music & Acoustics
Stanford University
gary@ccrma.stanford.edu
http://www-ccrma.stanford.edu/~gary/
-------------------------------------------------