SynthMaker

Play Mp3 files

Archive · 2012 6 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

distante ·

I saw a post from 2011 saying that SM doesn't support mp3 files yer (but FlowStone does).

So, the question is the same, is there some kind of way to play mp3 files in SM, I'm doing kind of an player with an EQ, so, just play Wav files is pointless in this times.

I was thinking adding some kind of "pass what you hear" using an Direct Input and applying EQ to that signal (but I don't know how to do this yet, and this will be my last resort because play mp3 files It's important to my project!

Anyone knows any work around this?

Cheers!

CoreStyler ·

Sadly no mp3 support. But maybe is possible to do some using the exec primitive. But no way for importing and sampling an mp3 inside a synthmaker plugin at the moment

distante ·

You mean like run a mp3 to wav conversor an then playing it in SM?

CoreStyler ·

distante wrote: You mean like run a mp3 to wav conversor an then playing it in SM?

Is that is possible. You can run a mp3 encoder to wav, and trigger loading on the specific file. For example into temp path. 😉

distante ·

But that will take a while to load don't? not user friendly I think *-)

CoreStyler ·

distante wrote: But that will take a while to load don't? not user friendly I think *-)

Not so much. You can for example build your own decoder using Lame. Into the source theres are the complete software codes. Works with all systems.. For example in a c++ example:

// Main program int main(int argc, char *argv[]) { HINSTANCE hDLL =NULL; FILE* pFileIn =NULL; FILE* pFileOut =NULL;

pFilein should be input file. pfileout the output. But lame mp3 do the countrary. Do wav-->mp3. There a more simple solution, that convert from mp3 to wav|PCM http://www.codeproject.com/Articles/766 ... To-WAV-PCM Is written in c. There's a source and a compiled example http://www.arbingersys.com/dnlds/madxlib-1.0b4+demo.zip Should be possible to create your own deconding software by editing the source, then exec an argument from SM.

Also here:

void main(int argc, char *argv[]) {

FILE *in_file; FILE *out_file;

Some poeple here can help you more then me. 😉

But the conversion will not take large times. Depending on the length of the mp3. You should be able to leave the application in background, so will be not visibile. (but a firewall maybe will ask authorization). You should be able to add a UI part (good for final user) that display a loading bar. Then, complete the bar when wavaloder complete the opening. (start the bar when open, finish when opened).

And, if program is well programmed, will be stable enough.

Or, you should wait for mp3 module. (i think is on list for new updates, because flowstone has). But, developers does not say what the do.. They are like heartgraves..

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.