Page 1 of 1

MP3 to Wav

Posted: Tue Jan 13, 2015 9:06 pm
by Exo
This is a mp3 to wav convertor....
mp3ToWavV1.0.1.fsm
(218.37 KiB) Downloaded 1272 times
All it does it takes an mp3 and converts it to wav and saves this file to the hard drive next to the mp3. Then we can load the wav we just created.

This will probably be to slow for large files but is fast enough to be useable I think.

Think twice about releasing products that use it though because mp3 has a patent and you are expected to pay a licence fee! For your own use there shouldn't be any issues I don't think.

This is released 'as is' I offer no support, I have no use for it just yet, at least until patent expires and then I will do a better implementation probably anyway.

Re: MP3 to Wav

Posted: Tue Jan 13, 2015 9:44 pm
by MyCo
Yeah... the DLL primitive really needs memory-I/O... then you could skip the temporary file stuff.

Nice project, what lib are you using, lame?

Re: MP3 to Wav

Posted: Tue Jan 13, 2015 9:53 pm
by Exo
Thanks yes I am just using Lame, it is packaged inside the dll.

By the way Memory IO is possible using mem to address The DLL component part 2 see the "Writing a Mem section function" section ;-)

I will probably do a proper memory version at some point but don't have time to work on that just now, many other things to finish...

Re: MP3 to Wav

Posted: Tue Jan 13, 2015 10:21 pm
by MyCo
Ah... right, although I've used the memory to address primitive here:
http://www.dsprobotics.com/support/view ... f=4&t=3217

I'm not a big fan of it, quote:
Make sure that the input memories are all existing and valid before you trigger the processing function or Copy/Paste the module, else FS says good bye. There is no chance at the moment to find out if a memory input is valid or not, so we have to live with that for now.

Re: MP3 to Wav

Posted: Wed Jan 14, 2015 12:13 pm
by Walter Sommerfeld
This is released 'as is' I offer no support, I have no use for it just yet, at least until patent expires and then I will do a better implementation probably anyway.
Thanks 4 your source...

Keep on doing!
Walter