Skip to content

Commit

Permalink
updated doc for beatRepeat
Browse files Browse the repository at this point in the history
  • Loading branch information
tmhglnd committed Oct 23, 2023
1 parent 0468deb commit 83eb064
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions docs/01-global.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ set volume 0.5 5000

Set the global highPass filter cutoff in Hz for all instruments across the entire environment. Additional ramptime in milliseconds can be provided to create smooth transitions from one value to another.

Alias: `hipass`

**arguments**
- {Float+} -> cutoff frequenzy in Hertz
- {Int+} -> ramptime in milliseconds (optiona, default=0)
- {Int+} -> ramptime in milliseconds (optional, default=0)

```java
set highPass 900 5000
Expand All @@ -127,14 +129,29 @@ set highPass 900 5000

Set the global low-pass filter cutoff in Hz for all instruments across the entire environment. Additional ramptime in milliseconds can be provided to create smooth transitions from one value to another.

Alias: `lopass`

**arguments**
- {Float+} -> cutoff frequenzy in Hertz
- {Int+} -> ramptime in milliseconds (optiona, default=0)
- {Int+} -> ramptime in milliseconds (optional, default=0)

```java
set lowPass 900 5000
```

## beatRepeat

A beatrepeating effect (sometimes called stutter) that continuously repeats a section of the entire sound that was last played. The repating interval is determined in divisions (`1/4`, `3/16`, etc). It immediately starts repeating at the moment of evaluating the code, so timing is key!

Alias: `stutter`

**arguments**
- {Division} -> beatrepeat time interval in division

```java
set beatRepeat 1/4
```

## osc

Set the ip-address, in-port and out-port number for the network to transmit OSC-messages over using UDP. Default settings are 8000 (in-port), 9000 (out-port), localhost (127.0.0.1) (ip).
Expand Down

0 comments on commit 83eb064

Please sign in to comment.