Skip to content

gyng/midi-to-wav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

midi-to-wav

A small program to output MIDI files as a mono WAV with all instruments changed to whatever synthrs has provided

Sample output: Mountain King, Mountain King (square), Rustle of Spring

Usage

midi-to-wav - synthesise MIDI files

midi-to-wav convert input.mid --output output.wav --instrument=square_karplus --envelope

Usage:
  midi-to-wav convert <input> [--instrument=<square_wave>] [--output=<path>] [--envelope]
  midi-to-wav instruments
  midi-to-wav (-h | --help)
  midi-to-wav --version

Options:
  -h --help                    Show this screen.
  --version                    Show version.
  --input                      Path to input MIDI file
  --output=<path>              Path to output MIDI file, defaults to input.ext.wav
  --envelope                   Whether to use an attack-decay envelope
  --instrument=<square_wave>   Which waveform generator to use (square_wave)

Example

midi-to-wav convert tests/assets/octave.mid --output output.wav --instrument=square_wave --envelope

Building

cargo build --release

About

A small program to output MIDI files as a mono WAV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages