Forums > MaxMSP

playing simple multichannel files (11) problem

February 10, 2014 | 7:02 am

Hi there i have a strange problem, i have some 11.1 files that i’d like to play. Sfplay~ stops them right after 1 second. When i use 9.1 it woks. So it seems like a channel limitation.
While Groove and play cannot reach more than 4 channels apparently.
Have you had the same?
Any way to solve this?

February 13, 2014 | 12:05 am

You have to find the right buffer size for sfplay~. Check the buffer_size panel in the help file.
Try with BIG sizes. Note that this is related to the speed of your hard drive, laptop internal drives are (were?) often slower than others…

February 13, 2014 | 12:31 am

Thanks Patrick, i’ll check that. But it’s strange it’s just some 5 second files. And also i noticed that groove~ and play~ cannot play 11 channels… kind of surprising..

February 13, 2014 | 1:04 am

buffers are limited to 4 channels. But you could use 3 of them and play them in sync.

February 13, 2014 | 2:38 am

yep this is what i’m doing …. thanks

February 13, 2014 | 7:16 am

As Patrick says, you should try setting larger buffer sizes for `sfplay~` (and sflist~ also I think if you are using it). According to the part of the help file mentioned above, I think you are supposed to manually set the buffer size if you are using more than 8 channels.

Hard drive speed is something that could come into play. IF you are on a Mac, try XBench to do a performance test on your HD so you know what kind of throughput is available to you.

Also, something else to watch out for with hard disk playback or recording is having your drive spin down because the computer put it to sleep. Again, on a Mac you can adjust this in System Preferences > Energy Saver (not sure how on Windows—anyone else?).

February 13, 2014 | 7:30 am

ok now everything is clearer, at the beginning i did not get that the buffer size is an argument (never encountered it before in sfplay) and i was wondering you talked about the buffer~ in groove~. Now i got it. Thanks a lot.

February 14, 2014 | 6:44 am

Hi everyone I’m working with the writer of the post and I tried to increase the size of the buffer-size but it didn’t change anything the audio is still kind of looping at the first second.

Because I’m using a 10.1 setup I’ve 11 channels and here is what I put in the splay object box : sfplay~ 11 @buffer-size227160

Can someone help ?


February 16, 2014 | 6:39 pm
— Pasted Max Patch, click to expand. —
February 17, 2014 | 6:28 am

Thanks you very much keep sound, it works great now !

Have a good day

Viewing 10 posts - 1 through 10 (of 10 total)

Forums > MaxMSP