Skip to content

A one hobbyists project for automatic music transcription. It is simple, but may serve as a crude music transcription tool or be used for educational/teaching purposes.

License

Notifications You must be signed in to change notification settings

akkurowski/MUSITRANS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

a one hobbyists project for automatic music transcription

This is my after-hours project which purpose is to analyse and visualize spectrograms of music. It also makes it possible to extract melodic lines from processed music pieces. I developed it with an intention of employing it for a mass-generation of MIDI files which can be then fed as an input to some algorithmic composition software. For now - it is a simple, rather suboptimal, but probably somehow useful little Python script. If you find a use for it in your own project - feel free to use it! I would also be very glad if you let me know about it - feel free to contact me in such case!

The software can calculate oversampled amplitude spectra, like the one below:

spectrogram

It is also capable of computing estimated melodic lines with the use of a simple heuristic algorithm employing chroma features-based salience calculation and simulated annealing for the trajectory smoothing:

tracing results

To run the algorithm, just put your audio files in the _data/input_signals The following extensions are allowed: .wav, .mp3, and .m4a, however other formats can be specified in the settings.ini file. Next just run the musitrans.py and choose adequate options from the CLI.

Keep in mind, that for processing input files other than WAVE files you have to install FFmpeg and add it to the Path system environment variable, so it can be called from the console by the MUSITRANS script.

*****

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A one hobbyists project for automatic music transcription. It is simple, but may serve as a crude music transcription tool or be used for educational/teaching purposes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages