Playlist~ or Sfizz speed reading wav files without clicks noises

Laurent Pigeolet's icon

Hi,

I would like to launch several wav files together, but I would like to have the possibility to choose the launching moments and to variate reading speed ok these files. (I don't want to buy Max for live).

I tried first with 2 Playlist~ objects playing together, and it's ok for variate speeds, but when I launch the second sound before finishing the first, I hear a big click noise.

Then I used Sfizz object, which is great to avoid clicks, but I don't find a way to variate the speed reading of the different wav files.

Is there a way to do it, or a way to avoid clicks with multiple playlists playing togheter at different times?

Thanks,

Laurent

Source Audio's icon

I guess you mean playback speed.

Your question is not precise enough to give you immediate solution.

I mean number of voices (simult. play files) and range of speed.

in general, you will be looking at poly~ with sfplay~

or buffer based playback.

Sfizz could do if keyboard split with

samples and their transpose factor is sufficient enough for what you need.

and what means "(I don't want to buy Max for live)"

That you can't edit max patches or amxd files ?

florian1947's icon

Maybe better to use polybuffer~ to load your files in one go, then play each using groove~.

That would allow free choice of timing and speed.

Laurent Pigeolet's icon

Hi Source audio and Florian,

Yes indeed, I speak about playback speed, with a range between +/- 0,3 and 4.

I have to launch no more than 3 files together.

But they are 48 sound files. If I need 48 Groove~objects, it's too much.

When I speak about Max for Live, it's a joke, it's because I guess It would do it easily, but I just want to stay in Max/Msp.

I assigned the 48 files to the 48 keys of a Keyslider object. What do you mean by "Sfizz could do if keyboard split with samples and their transpose factor is sufficient enough for what you need."

What must I do to give different speeds to each file?

Source Audio's icon

I meant if your speed range could spread over keys as sampler,

which now that you explained it makes no sense.

for max 3 voices you need at max 6 poly instances, so that

even if all 3 files change at same time you can crossfade them.

sfplay would be fast enough for the task

if you prefer it over buffer based solution.

depends a bit on size of the files.

Laurent Pigeolet's icon

The samples are not long: maximum 30 seconds.

So, with your solution, which object do I use? 6 Sfplay~ and 48 files.wav ?

But the problem of the click noises will stay, I guess...

Source Audio's icon

no it should not click.

you need 3 voices and have 6 available.

it is not really relevant if you use groove or sfplay.

more tricky is to manage voices and assign speed.

post your patch showing where notes come from,

how fast, do you need this to loop

while notes are held and all other relevant infos

including if speed should also be changed during sample playback like pitchbend

Laurent Pigeolet's icon

It seems to work...

Thanks a lot!

Have a nice day and happy new year!

Laurent

Sfplay essai.maxpat
Max Patch