shithub: neindaw

ref: 5585cd29fb01e4d2848c0a3fe2d87b40687ce807
dir: /piper/README.md/

View raw version
# piper

WIP.

```
daw/kick_drum -s kick -m /n/kick
daw/ay -s ay -m /n/ay
games/orca -u /fd/3 |[3] daw/piper /n/kick /n/ay
```

Instances are created by piper automatically, automatic mixing is
enabled by default unless `-m` is passed.

Piper accepts simple commands like so:

```
;00C4d8
```

`;` is for UDP message, `00` is first instance of the first group
(`/n/kick/0`), `C4` is the note, `d` is velocity (`g == 1.0`), `8`
is duration (the higher, the less). Duration depends on the current
bpm that can be set with a `bpm120` command, for example.

Notes can be connected with `:` like so:

```
;00C4d8:!C2df
```

In this case the second note is for the `B` oscillator of the kick
drum, and `!` is a way to "negate" the frequency value, so in fact
it's `C2` *negative*.

Commands can be separated with `;`.

To change the global volume use `vol100` to set it to `1.0`.