fbpx
Skip to main content

MIDI Forum

Are there any good ...
 
Notifications
Clear all

Are there any good ways of synthesizing midi files from code?

3 Posts
3 Users
0 Reactions
10.4 K Views
Tessa
Posts: 1
New Member
Topic starter
 

I made a program that encodes a midi file, and I was having trouble synthesizing it, so I was wondering if there is any software that easily translates an encoded midi into actually synthesizing and playing it? I am on Windows 10, and I am using c++ if that helps. I used this code as a base https://bisqwit.iki.fi/jutut/kuvat/programming_examples/midimake.cc
I've tried finding software on my own, but it hasn't given me anything other than TiMidity++, so I was wondering if there are any alternatives or anything like that, or if I can implement it myself with new code?
Thanks

 
Posted : 20/12/2020 11:06 pm
Pedro Lopez-Cabanillas
Posts: 154
Estimable Member
 

There may be hundreds of software synths out there. Maybe you could explain in deeper detail what do you need, which requirements are missing in TiMidity++ ?

An alternative software synth that can also render MIDI files is FluidSynth, which is also open source like TiMidity++

If you prefer non open, then you may try the BASS+BASSMIDI libraries.

 
Posted : 21/12/2020 1:29 am
Geoff
Posts: 1040
Noble Member
 

If you're having trouble playing the file you've created, this MIGHT be because the file is not a 100% correctly formed midi file. It might be worthwhile to check this, you could attach such a file to a post here and various people here could try the file with various pieces of software and report back. I for instance could use software from DOS days, later systems I've written myself, thru to more recent Windoze Virtual Midi Synth type systems.

As pedro suggests, there is a wide variety of software available, depending on just what you want to achieve.

Geoff

 
Posted : 21/12/2020 6:52 am
Share: