Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tmhglnd committed Oct 29, 2023
1 parent 2ddf6d5 commit b8f7780
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 @@ -544,7 +544,7 @@ new voice Samantha speak("Hi Alex!") time(2 1)
The modulator allows you to send a modulation signal as an argument to parameters from functions of other instruments. These parameters are continuously modulated at a specific rate with a specific waveform. The modulation rate is independent from the instruments `time()` (in comparison when using a list as an argument).

**arguments**
- {Name} -> waveform type: `sine`|`sin`, `sawUp`|`phasor`, `sawDown`|`saw`, `square`|`rect`, `triangle`|`tri`, `random`|`rand`
- {Name} -> waveform type: `sine`|`sin`, `sawUp`|`phasor`, `sawDown`|`saw`, `square`|`rect`, `triangle`|`tri`, `random`|`rand`, `randomHold`|`randHold`

```java
new modulator <waveform-type> name(<name>) range(<lo> <hi> <exp>) time(<division>)
Expand Down

0 comments on commit b8f7780

Please sign in to comment.