Skip to content

MIDI - CSV - Time Series, this repository contains functions for constructing time series of music scores from a given CSV file.

License

Notifications You must be signed in to change notification settings

spiralizing/MidiTS.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

MidiTS

DOI

MIDI - CSV - Time Series, this repository contains functions for constructing time series of music scores from a given CSV file.

READ: Now it works with Julia 1.x versions

Usage

First you need to convert the .mid file to a .csv with midi to csv software freely available here: https://www.fourmilab.ch/webtools/midicsv/

Then open the .csv file:

f = readdlm("File.csv", ',')

If you want to get only the pitch sequences for the piece:

ps = get_pitch_seq(f)

Or the actual time series (with subdivision):

ts = get_time_series(f)

Both outputs would be a vector containing the n voices of the piece.

About

MIDI - CSV - Time Series, this repository contains functions for constructing time series of music scores from a given CSV file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages