hi there,
i'm trying to get an mp3 to an array and then play with tabread4~ etc.
is it possible?
couldn't find anything so far
thanks for any help
-
Mp3 to array
-
you mean like realtime conversion to raw data? That would be wicked, but I doubt it....Is this possible?
boonier
-
why an mp3 rather than an uncompressed sound file? the decoding process is cpu heavy, so it's inefficient for realtime stuff. you could use mp3play~ (or is it mp3read~?) if your extended packages support it on your system. otherwise, you could use codec and convert the mp3s to wavs (or aifs) and read them in using soundfiler or sumpin.
any technology distinguishable from magic
is insufficiently advanced. -
i am trying to create a patch that can be used for djing, so the patch at least should permit changing the speed of songs, i can do it in wav files but wav files take lots of space and hard to convert all my mp3 files into wavs. thats why i asked if its possible
(tryin to do stg. like atomixmp3)
thanx -
What's the best way to get grain-sized (< 10 ms) wav files into a table? I wouldn't need it to be real-time, since I would just load my samples into different tables before runtime by loadbanging [[i]myarray read filenames] messages, and just switching tables in real-time.
If I have to, couldn't I actually do it myself (hopefully all in pd, or at least in C) where I parse/strip the wav header and replace all the PCM data with the actual levels? I'm not good at that kind of programming, so I'm hoping a patch or external exists?
-
have you looked at [soundfiler]? if you want to load sounds to table, even small ones, soundfiler does a great job.
as a point of clarity, is your question related to the parent post? you might get more responses if you start a new post on a new topic.
cheers!
any technology distinguishable from magic
is insufficiently advanced. -
well, i thought it was related... I think I'm trying to do the same thing as the OP, just with wav instead of mp3
And yeah it looks like soundfiler is what I need! I had briefly seen a description of soundfiler, but it must have not been a good description because I thought it was something else entirely... and I see now you already mentioned soundfiler in an earlier reply so I guess I need to be more observant.
thanks!
-
np, c0d! I'm just glad to have been able to help you out wichur answer, but I only happened to read your post cuz I was one of the previous posters in this thread- Your question is related to the post, but not the title of the post. It's rather incosiderate of me to bring up points of order when I'm such an offender of netiquette
.
All we all is all we all are, to quote a great poet.any technology distinguishable from magic
is insufficiently advanced.