From 608472f2600ac2f4c388121a6104df4c569494c7 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Tue, 2 Jul 2024 17:08:19 +0000 Subject: [PATCH] Documentation updates --- README.md | 2 ++ docs/devices/fluidsynth.md | 6 +++--- docs/devices/index.md | 3 ++- mkdocs.yml | 3 +++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1f8c7f5..2cc0267 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,8 @@ distribution: * [21.ex-midi-clock-sync-in.py](examples/21.ex-midi-clock-sync-in.py) * [22.ex-midi-markov-learner.py](examples/22.ex-midi-markov-learner.py) * [23.ex-midi-monitor.py](examples/23.ex-midi-monitor.py) +* [24.ex-link-clock.py](examples/24.ex-link-clock.py) +* [25.ex-fluid-synth.py](examples/25.ex-fluid-synth.py) * [30.ex-midifile-read.py](examples/30.ex-midifile-read.py) * [31.ex-midifile-write.py](examples/31.ex-midifile-write.py) * [32.ex-midifile-markov.py](examples/32.ex-midifile-markov.py) diff --git a/docs/devices/fluidsynth.md b/docs/devices/fluidsynth.md index 5fccaea..3db31ba 100644 --- a/docs/devices/fluidsynth.md +++ b/docs/devices/fluidsynth.md @@ -14,15 +14,15 @@ pip install pyfluidsynth from isobar import * from isobar.io.fluidsynth import FluidSynthOutputDevice -output_device = FluidSynthOutputDevice("/Users/daniel/Projects/IIL-Residency/fluidsynth/Touhou.sf2") +output_device = FluidSynthOutputDevice("soundfont.sf2") timeline = Timeline(120, output_device=output_device) timeline.schedule({ - "key": Key("C", "minorPenta"), + "key": Key("C", "minor"), "octave": 5, "degree": PLoop(PSubsequence(PWhite(0, 12), 0, 8)), "duration": 0.25, -}, quantize=None) +}) timeline.run() ``` \ No newline at end of file diff --git a/docs/devices/index.md b/docs/devices/index.md index 2c878d4..130f72f 100644 --- a/docs/devices/index.md +++ b/docs/devices/index.md @@ -6,4 +6,5 @@ isobar can send events to several different types of output device. - [MIDI file](midifile.md): Generate and store MIDI sequences in a .mid file - [OpenSoundControl](osc.md): Send events using the [Open Sound Control](https://ccrma.stanford.edu/groups/osc/index.html) network protocol - [SignalFlow](signalflow.md): Trigger events in the [SignalFlow](https://signalflow.dev/) synthesis engine. -- [SuperCollider](supercollider.md): Sends events to the [SuperCollider](https://supercollider.github.io/) synthesis server. \ No newline at end of file +- [SuperCollider](supercollider.md): Sends events to the [SuperCollider](https://supercollider.github.io/) synthesis server. +- [FluidSynth](fluidsynth.md): Trigger notes in the free [FluidSynth](https://www.fluidsynth.org/) software synthesizer. \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 8edd4a2..808676d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -39,3 +39,6 @@ nav: - Virtual MIDI devices: devices/virtual-midi-devices.md - MIDI files: devices/midifile.md - OSC: devices/osc.md + - SignalFlow: devices/signalflow.md + - SuperCollider: devices/supercollider.md + - FluidSynth: devices/fluidsynth.md