Message Boards Message Boards

GROUPS:

Convert .wav to .mp3?

Posted 2 months ago
242 Views
|
2 Replies
|
0 Total Likes
|

Hi,

I have a set of audio snippets in .wav format. I've imported these into Mathmatica without any issues, and edited them according to taste. I then tried to export the snippets (we pretend that I have an audio object called 'audiosnippet') using

Export[audiosnippetfile, audiosnippet, "MP3"]

and also

Export["audiosnippetfile.mp3", audiosnippet]

but all I get is white noise. Is there any functionallity in Mathmatica to convert between different audio formats?

Thanks!

2 Replies

Please try:

Export["audiosnippetfile.mp3", Audio[audiosnippet, "Real32"]]

There is a bug in Export of integer type Audio to MP3. This bug will be fixed in the next release.

Yeah! That did it.

Elegant.

Thank you very much for your swift reply! =D

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract