Skip to content

Commit

Permalink
Add 'Soundfiles access' section.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Apr 8, 2024
1 parent 5d16761 commit 4cf7ee4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ In the display zone, zoom can be changed with *2 fingers up/down slide* on macOS
#### SVG Diagrams
The _Diagram_ tab allows displaying the circuit SVG diagram. You can navigate inside it by clicking on the dark blue part to go down in the circuit hierarchy, or clicking on the diagram border to go up in the circuit hierarchy.

#### Soundfiles access

The [soundfile](https://faustdoc.grame.fr/manual/syntax/#soundfile-primitive) primitive can be used in the IDE, **in ScriptProcessor only for now**. The audio files have to be accessed:

- either using a full URL like https://raw.githubusercontent.com/grame-cncm/GameLAN/master/baliphone/Gamelan_1_1_C_gauche.flac

- or by defining the soundfile base URL folder with the `declare soundfiles "https://raw.githubusercontent.com/grame-cncm/GameLAN/master/baliphone";` metadata, then the actual audio file namle in the code. See this [example](https://github.com/grame-cncm/GameLAN/blob/master/baliphone/Baliphone.dsp). Several base URL can be listed with `declare soundfiles "https://url1;"https://url2;"https://url3" kind of syntax.

## Recommended Browsers
The recommended browsers are the latest versions of Chrome and Firefox for AudioWorklet and MIDI, but it requires an https connection to use the audio inputs.

Expand Down

0 comments on commit 4cf7ee4

Please sign in to comment.