Skip to content

Commit

Permalink
Let's release befor breaking things again.
Browse files Browse the repository at this point in the history
  • Loading branch information
smimram committed Aug 19, 2020
1 parent 754e7b3 commit ec87184
Show file tree
Hide file tree
Showing 81 changed files with 21 additions and 380 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0.1.0 (2020-08-19)
=====

- Initial release.
9 changes: 7 additions & 2 deletions NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@ General resources
- https://learningsynths.ableton.com/
- http://www.music.mcgill.ca/~gary/

Software synths
===============
Languages / APIs
================

- [SuperCollider](https://supercollider.github.io/)
- [Web Audio API](https://www.w3.org/TR/webaudio/) (see also [MDN
documentation](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API))

Software synths
===============

- all [Arturia's emulations](https://en.wikipedia.org/wiki/Arturia)
- many [open source synths](https://zynthian.org/engines)
- [zynaddsubfx](https://zynaddsubfx.sourceforge.io/)
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ to play some notes. In order to illustrate this let's detail step by step how we
can quickly recreate the song _[better off
alone](https://www.youtube.com/watch?v=Lj9GzcHbJ-w)_ (sort of) by detailing
[this
example](https://github.com/smimram/monadic-synth/blob/master/examples/better_off_alone.ml)
example](https://github.com/smimram/monadic-synth/blob/master/examples/better_off_alone.ml).

### Playing notes

Expand Down Expand Up @@ -436,7 +436,8 @@ small "harp like" synth with
```

If you were too lazy to try by yourself [your can hear the result
here](https://youtu.be/F7q-wtJRgjM).
here](https://youtu.be/F7q-wtJRgjM) (please remember that no further effects
where applied, nor a decent mix was performed).

### Live MIDI input

Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ <h3 id="other-examples">Other examples</h3>
<li><a href="https://github.com/smimram/monadic-synth/blob/master/examples/thx.ml">thx.ml</a>: a quick recreation of the <a href="https://www.youtube.com/watch?v=uYMpMcmpfkI">THX deep note</a> by adding many saw oscillators, whose frequency is initially between 200 and 400 Hz, and slowly evolve to the same note at various octaves.</li>
</ul>
<h2 id="instruments">Instruments</h2>
<p>Unless you are making <a href="https://en.wikipedia.org/wiki/Musique_concr%C3%A8te">concrete music</a>, you certainly want to play some notes. In order to illustrate this let’s detail step by step how we can quickly recreate the song <em><a href="https://www.youtube.com/watch?v=Lj9GzcHbJ-w">better off alone</a></em> (sort of) by detailing <a href="https://github.com/smimram/monadic-synth/blob/master/examples/better_off_alone.ml">this example</a></p>
<p>Unless you are making <a href="https://en.wikipedia.org/wiki/Musique_concr%C3%A8te">concrete music</a>, you certainly want to play some notes. In order to illustrate this let’s detail step by step how we can quickly recreate the song <em><a href="https://www.youtube.com/watch?v=Lj9GzcHbJ-w">better off alone</a></em> (sort of) by detailing <a href="https://github.com/smimram/monadic-synth/blob/master/examples/better_off_alone.ml">this example</a>.</p>
<h3 id="playing-notes">Playing notes</h3>
<p>We first have to learn how to play notes. A melody can be described as a <em>pattern</em> which is a list of triples consisting of</p>
<ul>
Expand Down Expand Up @@ -323,7 +323,7 @@ <h3 id="arpeggiators">Arpeggiators</h3>
<span id="cb27-8"><a href="#cb27-8" aria-hidden="true"></a> <span class="kw">in</span></span>
<span id="cb27-9"><a href="#cb27-9" aria-hidden="true"></a> <span class="kw">let</span> arp = Pattern.arpeggiate `Up (Pattern.transpose <span class="dv">24</span> chords) <span class="kw">in</span></span>
<span id="cb27-10"><a href="#cb27-10" aria-hidden="true"></a> <span class="kw">let</span> arp = Instrument.play (Note.simple sine) (Pattern.stream ~loop:<span class="kw">true</span> tempo arp) <span class="kw">in</span></span></code></pre></div>
<p>If you were too lazy to try by yourself <a href="https://youtu.be/F7q-wtJRgjM">your can hear the result here</a>.</p>
<p>If you were too lazy to try by yourself <a href="https://youtu.be/F7q-wtJRgjM">your can hear the result here</a> (please remember that no further effects where applied, nor a decent mix was performed).</p>
<h3 id="live-midi-input">Live MIDI input</h3>
<p>An example of MIDI input (say, from a physical keyboard) in order to generates notes and values for parameters from physical controllers can be <a href="https://github.com/smimram/monadic-synth/blob/master/examples/midi.ml">found here</a>.</p>
<p>In order to use MIDI, we should begin with using the function <code>MIDI.create</code> which provides us with a handle from which midi events can be drawn (with <code>MIDI.events</code>) as well as the value of controllers (with <code>MIDI.controller</code>). For instance, in the following example, we play the notes pressed on the keyboard with a saw instrument chained with a low pass filter whose Q parameter and cutoff frequency can be controlled by controller 0 and 1 respectively (you might have to change those numbers depending on your controller):</p>
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/Extlib.Complex.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/Extlib.File.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/Extlib.Float.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/Extlib.List.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/Extlib.String.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/Extlib.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/Instrument.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/MIDI.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/Note.Drum.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/Note.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/OSC.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
160 changes: 0 additions & 160 deletions docs/ocamldoc/Operator.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/ocamldoc/Pattern.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
1 change: 0 additions & 1 deletion docs/ocamldoc/Stream.B.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Extlib" rel="Chapter" href="Extlib.html">
<link title="Stream" rel="Chapter" href="Stream.html">
<link title="Operator" rel="Chapter" href="Operator.html">
<link title="Visu" rel="Chapter" href="Visu.html">
<link title="Note" rel="Chapter" href="Note.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
Expand Down
Loading

0 comments on commit ec87184

Please sign in to comment.