Mp3 issues

Feb 29, 2012 at 2:24pm

Mp3 issues

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
#62050
Feb 29, 2012 at 7:04pm

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

#224142
Mar 2, 2012 at 3:32pm

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

#224143
Mar 2, 2012 at 5:01pm

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

#224144
Mar 11, 2012 at 11:50am

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 ?

#224145
Mar 11, 2012 at 1:44pm

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

#224146

You must be logged in to reply to this topic.