# \[ANN\] Justly.jl: a package for composing music in just intonation

**URL:** https://discourse.julialang.org/t/ann-justly-jl-a-package-for-composing-music-in-just-intonation/67706
**Category:** Package Announcements
**Tags:** audio
**Created:** [September 5, 2021, 1:42am UTC](https://discourse.julialang.org/t/ann-justly-jl-a-package-for-composing-music-in-just-intonation/67706 "2021-09-05T01:42:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bramtayl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bramtayl/32/3614_2.png) [@bramtayl](https://discourse.julialang.org/u/bramtayl)
#### Post date: [September 5, 2021, 1:42am UTC](https://discourse.julialang.org/t/ann-justly-jl-a-package-for-composing-music-in-just-intonation/67706/1 "2021-09-05T01:42:02Z")

</div>

Hi all, I just published Justly, a package for composing music in just intonation. I’ve written a tutorial in the [README](https://github.com/bramtayl/Justly.jl). To be able publish it, I’ve written the docs for QML, cross-compiled PulseAudio and its unholy number of dependencies, helped get PortAudio published, and written a separate package to [schedule synthesizers](https://juliamusic.github.io/AudioSchedules.jl/dev/). Even after all that work, Justly is slow at first while compiling and gets overwhelmed easily (a bit like me, I guess). But, I think it’s the only user-friendly-ish tool that one can use to compose music in just intonation. I’ve even though about writing an article about it for a music journal (if anyone has any leads). I probably should focus on publishing in my own field first, but.

---

<div class="post-metadata">

### Author: ![Datseris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/datseris/32/13406_2.png) [@Datseris](https://discourse.julialang.org/u/Datseris)
#### Post date: [September 5, 2021, 10:46am UTC](https://discourse.julialang.org/t/ann-justly-jl-a-package-for-composing-music-in-just-intonation/67706/2 "2021-09-05T10:46:47Z")

</div>

Awesome!

How possible it is to give a MIDI file into your package and output a composition in just notation?

---

<div class="post-metadata">

### Author: ![bramtayl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bramtayl/32/3614_2.png) [@bramtayl](https://discourse.julialang.org/u/bramtayl)
#### Post date: [September 5, 2021, 2:02pm UTC](https://discourse.julialang.org/t/ann-justly-jl-a-package-for-composing-music-in-just-intonation/67706/3 "2021-09-05T14:02:28Z")

</div>

Eh, not really possible. The issue is that MIDI contains much less information than something written in Justly does. For example, if you write an interval of a seventh, which seventh do you want? 7/4? 9/5? That said, Justly should make rewriting it in just intonation as painless as possible.

---

<div class="post-metadata">

### Author: ![bramtayl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bramtayl/32/3614_2.png) [@bramtayl](https://discourse.julialang.org/u/bramtayl)
#### Post date: [January 4, 2022, 6:28pm UTC](https://discourse.julialang.org/t/ann-justly-jl-a-package-for-composing-music-in-just-intonation/67706/4 "2022-01-04T18:28:11Z")

</div>

@Datseries the opposite is not hard at all though. The master version of Justly has function to translate Justly into (ugly) MusicXML.
