Skip to content

Commit 0c9da4d

Browse files
authored
Minor updates to AI Jam instructions. (magenta#718)
* Increment version number. * Fix quantization error during generation. * Add controls to README * Remove extra space. * Remove extra space.
1 parent 06ecbc3 commit 0c9da4d

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

demos/ai-jam-js/README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,33 @@ node_modules/.bin/webpack -w
3838

3939
## MIDI SUPPORT
4040

41-
The A.I. Duet supports MIDI keyboard input using [Web Midi API](https://webaudio.github.io/web-midi-api/) and the [WebMIDI](https://github.com/cotejp/webmidi) library.
41+
The A.I. Jam supports MIDI keyboard input using [Web Midi API](https://webaudio.github.io/web-midi-api/) and the [WebMIDI](https://github.com/cotejp/webmidi) library.
4242

4343
## PIANO KEYBOARD
4444

4545
The piano can also be controlled from your computer keyboard thanks to [Audiokeys](https://github.com/kylestetz/AudioKeys). The center row of the keyboard is the white keys.
4646

47+
## CONTROLS
48+
49+
Currently, the only way to change settings for the models is to use the keyboard
50+
shortcuts below.
51+
52+
For now, it is recommended that you open the Developer JavaScript Console in
53+
Chrome to view changes to settings based on your use of these shortcuts.
54+
55+
| Key | Action |
56+
|------------|--------|
57+
| Z | Toggles the metronome. |
58+
| TAB | Toggles between piano and drums. |
59+
| LEFT/RIGHT | Cycles through available models. |
60+
| UP/DOWN | Adjusts sampling 'temperature'. Higher temperatures sound more random. |
61+
| SPACE | Toggles looping of AI sequence. |
62+
| M | Mutates AI sequence. |
63+
| 0-9 | Sets AI response duration (in bars). 0 matches your input. |
64+
| SHIFT + 0-9| Sets input sequence duration (in bars). 0 matches your input. |
65+
| DELETE | Stops current AI playback. |
66+
| X | Toggles "solo mode", which stops AI from listening to inputs. |
67+
4768
## AUDIO SAMPLES
4869

4970
Audio synthesized from [FluidR3_GM.sf2](http://www.musescore.org/download/fluid-soundfont.tar.gz) ([Creative Commons Attribution 3.0](https://creativecommons.org/licenses/by/3.0/)).

0 commit comments

Comments
 (0)