Skip to content

Commit

Permalink
Documentation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Jul 2, 2024
1 parent 41dc811 commit 608472f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions docs/devices/fluidsynth.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
```
3 changes: 2 additions & 1 deletion docs/devices/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
- [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.
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 608472f

Please sign in to comment.