overtone

plins 2018-06-06T21:37:54.000347Z

hello everyone, is it possible to use overtone to write midi files to the disk?

2018-06-06T22:48:32.000426Z

hello @plins, I've never tried that, all of overtone's midi functions come from https://github.com/overtone/midi-clj, if you have ableton-live or any DAW, as well as many linux midi sequencers, you can record the output Overtone. Writing to a midi file is basically writing a binary file with 7-bit values. It's really tedious, I was looking myself at writing midi files in clojure, and you can use javax.midi for that for free (just import it). Wanted to do some black-midi madness. But I ended up giving up on it, but this was some years back. I think you may have better luck asking on #alda, I think Dave Yarwood's Alda is much closer to midi, Overtone being supercollider based app, uses OSC messages much more extensively.

2018-06-06T22:48:43.000348Z

What are you looking to do if I may ask?

2018-06-06T22:52:03.000315Z

what also makes it tedious, is that you have 16 tracks to work with, and for each note on, you need to send note off event, you need to specify the grid density and exacly where the events fall into the grid. Always an easier option to have DAW do it for you.