|
1 | 1 | {
|
2 | 2 | "brief": "AudioIn lets you grab the audio input from your sound card.",
|
3 | 3 | "methods": [
|
| 4 | + { |
| 5 | + "anchor": "AudioIn_amp_", |
| 6 | + "name": "amp()", |
| 7 | + "desc": "Change the amplitude/volume of this sound." |
| 8 | + }, |
| 9 | + { |
| 10 | + "anchor": "AudioIn_pan_", |
| 11 | + "name": "pan()", |
| 12 | + "desc": "Move the sound in a stereo panorama." |
| 13 | + }, |
4 | 14 | {
|
5 | 15 | "anchor": "AudioIn_play_",
|
6 | 16 | "name": "play()",
|
7 | 17 | "desc": "Start capturing the input stream and route it to the audio output"
|
8 | 18 | },
|
| 19 | + { |
| 20 | + "anchor": "AudioIn_set_", |
| 21 | + "name": "set()", |
| 22 | + "desc": "Set amplitude and pan position with one method." |
| 23 | + }, |
9 | 24 | {
|
10 | 25 | "anchor": "AudioIn_start_",
|
11 | 26 | "name": "start()",
|
12 | 27 | "desc": "Start the input stream without routing it to the audio output."
|
13 | 28 | },
|
14 | 29 | {
|
15 |
| - "anchor": "AudioIn_set_", |
16 |
| - "name": "set()", |
17 |
| - "desc": "Sets amplitude, add and pan position with one method." |
| 30 | + "anchor": "AudioIn_stop_", |
| 31 | + "name": "stop()", |
| 32 | + "desc": "Stop capturing sound from this audio input." |
18 | 33 | }
|
19 | 34 | ],
|
20 | 35 | "csspath": "../../",
|
21 | 36 | "isLibrary": "true",
|
22 | 37 | "classFields": [],
|
23 | 38 | "description": "AudioIn lets you grab the audio input from your sound card.",
|
24 | 39 | "type": "class",
|
25 |
| - "constructors": ["AudioIn(parent)", "AudioIn(parent, in)"], |
| 40 | + "constructors": [ |
| 41 | + "AudioIn(parent)", |
| 42 | + "AudioIn(parent, in)" |
| 43 | + ], |
26 | 44 | "related": [],
|
27 | 45 | "name": "AudioIn",
|
28 | 46 | "classanchor": "sound/AudioIn",
|
29 | 47 | "category": "I/O",
|
30 |
| - "subcategory": "", |
| 48 | + "subcategory": "AudioIn", |
31 | 49 | "parameters": [
|
32 | 50 | {
|
33 | 51 | "name": "parent",
|
34 | 52 | "description": "typically use \"this\"",
|
35 |
| - "type": ["PApplet"] |
| 53 | + "type": [ |
| 54 | + "PApplet" |
| 55 | + ] |
36 | 56 | },
|
37 | 57 | {
|
38 | 58 | "name": "in",
|
39 | 59 | "description": "input channel number (optional, default 0)",
|
40 |
| - "type": ["int"] |
| 60 | + "type": [ |
| 61 | + "int" |
| 62 | + ] |
41 | 63 | }
|
42 | 64 | ]
|
43 | 65 | }
|
0 commit comments