5.76 KB
Newer Older
1 2
Guerric Chupin's avatar
Guerric Chupin committed

4 5
The arpeggigon is a music instrument inspired by Mark
Burton's [reacTogon][].
Guerric Chupin's avatar
Guerric Chupin committed

7 8 9 10 11 12 13 14 15 16 17 18 19 20
It is written in Haskell using the FRP
library [Yampa]( for
the music
generation, [Gtk2Hs](
for the Graphical User Interface (GUI)
and [jack]( for handling
MIDI I/O. The code to interface with the exterior world is structured
using reactive values and relations
[this paper]( and
[here]( and
Guerric Chupin's avatar
Guerric Chupin committed

22 23
Install guide
Guerric Chupin's avatar
Guerric Chupin committed

The arpeggigon needs the [GTK+ 2.0 C API]( and
Guerric Chupin's avatar
Guerric Chupin committed
26 27 28 29
the [JACK C API]( to be built. Note that Gtk2Hs
depends on external program such
as [alex](
or [happy]( It is known to
work with GHC 7.10.3 and GHC 8.0.1.
Guerric Chupin's avatar
Guerric Chupin committed

32 33 34 35 36 37
Running the arpeggigon is then possible with:

	cabal sandbox init
	cabal install --only-dependencies
    cabal run arpeggigon

38 39 40 41 42 43 44 45 46 47 48
**WARNING:** to run, the Arpeggigon needs a running Jack server. If it cannot 
find one on startup it will crash. Experience has shown that it can be quite 
difficult to set up such a server, however there are good tools and tutorials
online to help you with that task, in particular 
[qjackctl]( often does a good job at easing

**WARNING (bis):** as will be stated after, the Arpeggigon is a MIDI event 
producer, therefore it needs to be connected to a synthetizer to produce music.
Again, [qjackctl]( makes this task quite easy,
but it is also possible to do it via the command line.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130


### The reacTogon

The [reacTogon][] is a musical instrument invented based upon
[harmonic table](,
a way of arranging notes where the various directions correspond to
meaningful musical intervals. From that layout, the reacTogon defines
an automaton: tokens of different kinds interact with *play heads*
moving around on the board, altering their directions and eventually
playing a note.

The arpeggigon is an extended reacTogon. It is for instance possible
to have multiple layers with different characteristics running in
parallel, or to modify the way individual notes should be played, etc.

### Music generation

The arpeggigon doesn't directly produce music, but is
[MIDI]( [JACK]( client. It
then requires a JACK server to run when it is launched and to be
connected to a MIDI synthetizer to produce music.

### Tokens

There are five kinds of tokens currently supported, that appear in the
following order in the arpeggigon's GUI:
* ricochet token: plays a note and reorients the play head toward the
  direction it's pointing to,
* start token: like the ricochet token but generated an impulsion when
  the machine starts,
* stop token: plays a note and makes the play head disappear,
* absorb token: like the stop token but doesn't play any note,
* split token: splits the impulsion into five.

### Multiple layers

It is possible to have multiple layers running in parallel, each one
having it's own control settings. Adjustable parameters include:
* the layer beat,
* the strength at which notes should be played,
* the volume,
* the instrument,
* the beats per bar for the given layer,
* the possibility to make the layer restart automatically after a
  certain number of bars, specifying if the layer should completly
  restart or not.

### Note attributes

Each tile, whether it's inhabited by a token or note is attributed a
repeat counter, telling how long a play head should stay on it.

For tiles inhabited by a token giving the possibility of a note being
played, it is possible to adjust some parameters, including:
* the note duration,
* an articulation, allowing the note to be played stronger depending
  on its position in the bar,

**Warning:** *Though it appears a slide can be specified, it is for
now a missing feature.*

### Button semantics

The start/restart button has a particular semantic. Pressing the start
button makes the machine start and turns the button into a restart
button. When pressed it will restart all the layers but take into
account the layer restart policy to know if it should completely
restart the layer or simply add the start heads to the already running

The stop button simply stops all the layers.

### Missing features

This lists the buttons that have no effect but are yet present at the
moment in the GUI. This features are being worked on in priority.
* Recording a performance is not yet possible.
Guerric Chupin's avatar
Guerric Chupin committed
* Configuration saving and loading is unavailable (soon to be fixed).
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
* Slides are not implemented.
* Tabs are not really named.

### Future features

This lists the features that would be nice to add to the arpeggigon at
some point:
* a nicer GUI, with the possibility to display note names on the
  board, and see which note is being focused on.
* a new “random split token”, that would redirect a play head in a
  random direction, or more generally split it in a random way.
* an ALSA backend for Linux.


Copyright and license

Copyright 2016, Guerric Chupin and Henrik Nilsson.

The arpeggigon is licensed under the BSD 3-Clause License. A copy of
the license is included in the [LICENSE](LICENSE) file.
Guerric Chupin's avatar
Guerric Chupin committed
154 155 156 157 158 159 160 161 162 163


We would like to thank the following people for their help, support
and feedback on the arpeggigon:
* Ivan Perez
* Henning Thielemann
* Michel Mauny
* François Pessaux