Skip to content

Instantly share code, notes, and snippets.

View pedro-valentim's full-sized avatar

Pedro Valentim Silva Leite pedro-valentim

  • São José dos Campos, SP - Brasil
View GitHub Profile
@jiaaro
jiaaro / Generate WAV from MIDI.md
Last active March 24, 2026 20:04
Generate a wave file from a MIDI file with Pydub

Simple example of rendering a midi file with Pydub

Basically, this takes a MIDI input file (I just googled and grabbed one of Maroon 5's "Animal" – I know, I know) and generates a WAV file.

NOTE: This is the slowest midi rendering program I have ever seen!

Dependencies:

@kjlubick
kjlubick / InstallingMeld
Last active July 31, 2026 20:31
How to install Meld on Windows and getting it set up with Git
After installing it http://sourceforge.net/projects/meld-installer/
I had to tell git where it was:
git config --global merge.tool meld
git config --global diff.tool meld
git config --global mergetool.meld.path “C:\Program Files (x86)\Meld\meld\meld.exe”
And that seems to work. Both merging and diffing with “git difftool” or “git mergetool”