Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to synth a midi to mp3 with a piano sound #3

Open
CryptoKR opened this issue Jun 15, 2020 · 1 comment
Open

I want to synth a midi to mp3 with a piano sound #3

CryptoKR opened this issue Jun 15, 2020 · 1 comment

Comments

@CryptoKR
Copy link

I want to synth a midi to mp3 with piano sound. Is python-tomita able to do it, and if so how? Thanks.

@mdoege
Copy link
Contributor

mdoege commented Jun 15, 2020

Tomita includes my PySynth scripts under tomita/legacy/, so I think this should work here too (see https://mdoege.github.io/PySynth/#s):

In PySynth you can convert a MIDI file to WAV with
python3 readmidi.py file.mid [tracknum] [file.wav]

Note that the PySynth MIDI reader is pretty basic and may give wrong results with some MIDI files: When you try to sync several tracks created with it the timing may be off.

For a piano sound I would recommend the synthetic acoustic piano (PySynth B), the FM piano (PySynth E), or the sampled acoustic piano (PySynth samp).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants