Skip to content

Commit

Permalink
updated doc for program()
Browse files Browse the repository at this point in the history
  • Loading branch information
tmhglnd committed Feb 19, 2024
1 parent 5c29231 commit 8c0d47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/02-instrument.md
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ Alias: `poly`

## program

Send program change messages to the specified midi channel of the instrument. The channel number is based on the `out()` method (see above). The default channel `1` is used if no channel is selected. The program change value is an integer from `0` - `127` and can be sequenced as a list. If no value is provided there is no program change send.
Send program change messages to the specified midi channel of the instrument. The channel number is based on the `out()` method (see above). The default channel `1` is used if no channel is selected. The program change value is an integer from `0` - `127` and can be sequenced as a list. If no value is provided there is no program change send. The value is **only** send when it changes based on the previous value. This is done because some midi devices react every time a program change is received (for example cutting of notes), even if the value stays the same.

**arguments**

Expand Down

0 comments on commit 8c0d47c

Please sign in to comment.