« Return to Thread: blockSize dosn't work?

Re: blockSize dosn't work?

by stwbass :: Rate this Message:

Reply to Author | View in Thread

If I run your code and run s.options.dump, the blockSize is as you've set it. It seems that if you set SCs block size is larger than the hardware's there is no sound. I might go out on a whim and ask if you're trying to set the block size like a k-rate in Csound? I only ask because of the new block size is 1/10 of a typical sampling rate.

sw


On Thu, Apr 23, 2009 at 10:21 AM, Andrew Pascoe <aylutar@...> wrote:
Block sizes should be powers of two.  Also, the "driver's block size" refers to the option hardwareBufferSize, which is a different setting.  (This should also be a power of two.)

--Andrew


On 23.04.2009, at 08:26, Lucas Samaruga wrote:

Hi

Is there a problems with the block size?
This dosn't make any sound:

(
o = Server.local.options;
o.blockSize_( 4410 );
s.boot;
)

{ SinOsc.ar(440, 0, 0.1) }.play(s);

when boot the message is:

SC_AudioDriver: sample rate = 44100.000000, driver's block size = 512

Thanks
Lucas



_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/



--
Scott Worthington
stwbass@...
www.scottworthington.com

 « Return to Thread: blockSize dosn't work?