[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Index.ar vs BufRd.ar



Thanks both

I can reproduce Sam’s example, even with AR slow indexing, but with AR quick indexing I get different results.

For instance:

p = Platform.resourceDir +/+ "sounds/a11wlk01.wav";
d = Buffer.read(s, p);

{Index.ar(d, LFSaw.ar(d.duration.reciprocal).range(0,d.sampleRate * d.duration))}.play
{BufRd.ar(1,d, LFSaw.ar(d.duration.reciprocal).range(0,d.sampleRate * d.duration),0,1)}.play

The first one sounds cut (as if the index was just sampled at KR…) and the latter is fine (although I expect another interpolation somewhere as I have other example where it ‘polishes’ the reading). What I want is a sample per sample AR indexing of a buffer.

Again, inputs are welcome ;-)

p


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/