Skip to content

Commit 0dae021

Browse files
authored
Merge pull request #516 from processing/update-sound-docs
Generated files from updated build script (processing-doclet)
2 parents 34c7890 + d281ec1 commit 0dae021

File tree

157 files changed

+737
-279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+737
-279
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"brief": "Outputs all input frequencies at the same amplitude but changes \n their phase relationship.",
3+
"methods": [
4+
{
5+
"anchor": "AllPass_gain_",
6+
"name": "gain()",
7+
"desc": "Sets the gain for the filter."
8+
},
9+
{
10+
"anchor": "AllPass_process_",
11+
"name": "process()",
12+
"desc": "Start the effect."
13+
},
14+
{
15+
"anchor": "AllPass_stop_",
16+
"name": "stop()",
17+
"desc": "Stop the effect."
18+
}
19+
],
20+
"csspath": "../../",
21+
"isLibrary": "true",
22+
"classFields": [],
23+
"description": "This is an all pass filter. For signals processed, all frequencies hold the \n same amplitude but have their phase relationship modified using a delayline \n of one sample,<br/>\n <br/>\n <code>y(k) = -z * x(k) + x(k - 1) + z * y(k - 1)</code><br/>\n <br/>\n where <code>y</code> is the output, <code>x</code> is the input, \n <code>z</code> is the gain coefficient, and <code>k</code> is the signal.",
24+
"type": "class",
25+
"constructors": [
26+
"AllPass(parent)"
27+
],
28+
"related": [],
29+
"name": "AllPass",
30+
"classanchor": "sound/AllPass",
31+
"category": "Effects",
32+
"subcategory": "AllPass",
33+
"parameters": []
34+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"brief": "Sets the gain for the filter.",
3+
"related": [],
4+
"name": "gain()",
5+
"description": "Sets the gain for the filter in the range 0.0 - 1.0, where larger values \n increase phase displacement.",
6+
"syntax": ["allpass.gain(g)"],
7+
"returns": "void",
8+
"type": "method",
9+
"category": "Effects",
10+
"subcategory": "AllPass",
11+
"classanchor": "AllPass",
12+
"parameters": [
13+
{
14+
"name": "g",
15+
"description": "phase displacement in the range 0.0 - 1.0",
16+
"type": ["float"]
17+
}
18+
]
19+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"brief": "Start the effect.",
3+
"related": [],
4+
"name": "process()",
5+
"description": "Start the effect.",
6+
"syntax": ["effect.process(input)"],
7+
"returns": "void",
8+
"type": "method",
9+
"category": "Effects",
10+
"subcategory": "AllPass",
11+
"classanchor": "AllPass",
12+
"parameters": [
13+
{
14+
"name": "input",
15+
"description": "Input sound source",
16+
"type": ["SoundObject"]
17+
}
18+
]
19+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"brief": "Stop the effect.",
3+
"related": [],
4+
"name": "stop()",
5+
"description": "Stop the effect.",
6+
"syntax": ["effect.stop()"],
7+
"returns": "void",
8+
"type": "method",
9+
"category": "Effects",
10+
"subcategory": "AllPass",
11+
"classanchor": "AllPass",
12+
"parameters": []
13+
}

content/references/translations/en/sound/Amplitude_analyze_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"related": [],
44
"name": "analyze()",
55
"description": "Queries a value from the analyzer and returns a float between 0. and 1.",
6-
"syntax": [".analyze()"],
6+
"syntax": ["amplitude.analyze()"],
77
"returns": "float",
88
"type": "method",
99
"category": "Analysis",

content/references/translations/en/sound/Amplitude_input_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"related": [],
44
"name": "input()",
55
"description": "Define the audio input for the analyzer.",
6-
"syntax": [".input(input)"],
6+
"syntax": ["amplitude.input(input)"],
77
"returns": "void",
88
"type": "method",
99
"category": "Analysis",

content/references/translations/en/sound/AudioIn_amp_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"related": [],
44
"name": "amp()",
55
"description": "Change the amplitude/volume of this sound.",
6-
"syntax": [".amp(amp)"],
6+
"syntax": ["soundobject.amp(amp)"],
77
"returns": "void",
88
"type": "method",
99
"category": "I/O",

content/references/translations/en/sound/AudioIn_pan_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"related": [],
44
"name": "pan()",
55
"description": "Move the sound in a stereo panorama.",
6-
"syntax": [".pan(pos)"],
6+
"syntax": ["soundobject.pan(pos)"],
77
"returns": "void",
88
"type": "method",
99
"category": "I/O",

content/references/translations/en/sound/AudioIn_play_.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"name": "play()",
55
"description": "Start capturing the input stream and route it to the audio output",
66
"syntax": [
7-
".play()",
8-
".play(amp)",
9-
".play(amp, add)",
10-
".play(amp, add, pos)"
7+
"audioin.play()",
8+
"audioin.play(amp)",
9+
"audioin.play(amp, add)",
10+
"audioin.play(amp, add, pos)"
1111
],
1212
"returns": "void",
1313
"type": "method",

content/references/translations/en/sound/AudioIn_set_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"related": [],
44
"name": "set()",
55
"description": "Set amplitude and pan position with one method.",
6-
"syntax": [".set(amp, pos)", ".set(amp, add, pos)"],
6+
"syntax": ["audioin.set(amp, pos)", "audioin.set(amp, add, pos)"],
77
"returns": "void",
88
"type": "method",
99
"category": "I/O",

0 commit comments

Comments
 (0)