Forums > MaxMSP

Mp3 issues

February 29, 2012 | 2:24 pm

Hi
I am making a patch that randomises the playback of files.
I am using open with preloads going into a number list which is then randomised.
This currently works fine but I need to use mp3s because the app is way too large with AIFF files.
Is there a way of doing what I want to do with mp3s?
I have looked around a lot, can't use buffer and I am not sure how the jitter option would work with the random list thing I want.
Any help would be very much appreciated, this is for my dissertation.
Thankyou

[attachment=186740,3448]

Attachments:
  1. Screenshot20120229at14.25.52.png

February 29, 2012 | 7:04 pm

I think you will have to use the buffer~ or even better for your project the poybuffer~ object… or convert your files to wav.


March 2, 2012 | 3:32 pm

Thanks. Will this not be an issue with RAM? I am hoping to have a lot more samples playing.
Can I still randomise them from a list?
And Wav will have the same problems because they are still large files


March 2, 2012 | 5:01 pm

In the picture above you show only 10 files. This is not huge. If it was huge you could save space by making the files shorter, mono, reduce the sample rate, or load the the files in batches rather than all at once. Yes you can randomly set which buffers your play or groove objects are reading from.

this video might help you –

http://www.youtube.com/watch?v=3XVN_i8zq1I&list=PL71A2325EEEFC1923&index=48&feature=plpp_video



FP
March 11, 2012 | 11:50 am

and why do you preload the entire file ? couldn’t you preload only the first seconds ?
why don’t you want to use the [jit.qt.movie] object ?


March 11, 2012 | 1:44 pm

agree.. converting the files from mp3 to aiff, or simply getting aiff files with full quality instead of mp3 sounds.. and instantiating them in polybuffers and buffers is the best solution


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