Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6814127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:39:07+00:00 2026-05-26T20:39:07+00:00

I have 400,000 MIDIs that I need to automatically convert to MP3s. I know

  • 0

I have 400,000 MIDIs that I need to automatically convert to MP3s. I know that MIDIs don’t define waveforms. I also know that I can import MIDIs into a DAW and map synths to individual tracks so obviously it’s possible to do this automatically. I’ve been looking for a way to do this. Each MIDI should have a randomly generated synth mapped to each track.

I’ve looked at SoundFonts but I don’t know how to create them or automatically generate them or automatically apply them to MIDIs.

Does anyone know of tools or SDKs that exist for creating synths that can be mapped to MIDI tracks or ways to generate and apply SoundFonts programmaticly? If not, does anyone understand the low level steps involved in a tool that would allow me to do this? I’ve looked for tools to do this with no success. Maybe if I understood the parts involved I could write something to do this, but I wouldn’t even know what to look up.

Any help would be appreciated, Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:39:08+00:00Added an answer on May 26, 2026 at 8:39 pm

    OK, there are few different questions here, each with their own difficulties.

    MIDI to MP3 conversion

    Assuming you want to go MIDI -> SF2 -> MP3, the Timidity++ source code would be a good starting point. Timidity++ “can play MIDI files by converting them into PCM waveform data”. A recent fork of Timidity++ can be found on Github.

    To convert to MP3, you need an additional tool. LAME would be a good starting point here. Stitching together Timidity and LAME, you can go from MIDI to MP3 via an SF2. This script illustrates how this can be achieved without writing your own app.

    for file in *.mid do
        timidity $file -Ow -o - | lame - $file.mp3
    done
    

    Random Synthesis

    The other element of your question, which concerns randomly generated synths, can’t really be addressed easily through the above approach. If I understand the question correctly, you want to do the following:

    • synthesise some sounds where some aspects of the synthesis are randomised
    • randomly select the sounds to be assigned to each MIDI channel for playback

    SF2 is a primarily sample-based format, and would introduce unnecessary complexity if you essentially want to play random synths via MIDI and save the output to an audio file.

    To address your problem, I would therefore suggest skipping the SF2 step, and looking at an audio processing framework like Synthesis ToolKit (STK). STK is capable of reading MIDI files, and sound synthesis. You can then use LAME for the audio buffer to MP3 conversion.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a couple of very large tables (over 400,000 rows) that look like
I have more than 400 000 id's in NOT IN statement. Whether it will
I have a list of 400 strings that all end in _GONOGO or _ALLOC.
I need to write a SQL-Server query but I don't know how to solve.
I have a text file that is coming is some predefined way. I don't
Edit: Im running SQL Server 2008 I have about 400,000 rows in my table.
I have a dataframe made up of 400'000 rows and about 50 columns. As
I'm using action script and I have an array with more than 400.000 strings
I am working on a java web application that gets hit about 400,000 times
I have a table which contains around 400 000 records and which gets called

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.