[Stk] Cracking

Gary Scavone gary at ccrma.Stanford.EDU
Wed Nov 4 08:44:39 PST 2009


Hi Bruno,

I've heard others mention this.  You could try changing the buffer  
size used when the realtime audio device is opened (see the  
"bufferFrames" variable).  You could also try passing a  
"StreamOptions" structure to RtAudio and experiment with different  
values of "numberOfBuffers".  Without specifying a particular value,  
the code uses 2 buffers, which may be a bit too low for your audio  
device.

Regards,

--gary

On 4-Nov-09, at 11:32 AM, Ronzani Bruno wrote:

> Hello !
>
> I just compiled STK under ubuntu linux.
>
> In the examples, I try "play" :
>
> # ./play hellosine.wav 44100
>
> I can hear the sound, but I hear a lot of "crackings". What does it  
> mean ??
>
> In the program I made under windows, I got exactly the same result
> when I want to use it under linux : crackings in the sound.
>
> Moreover, I think the sound is played a bit too slowly (too lowly):
> ./play hellosine.wav 44100 1.05 seems to give me the correct high.
>
> But of course, still the crackings...
>
> Any ideas ?? I have to port my program under linux, everything works
> fine but this...
>
> Thanks a lot !
>
> Regards,
>
> Bruno
>
> _______________________________________________
> Stk mailing list
> Stk at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/stk



More information about the Stk mailing list