| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff 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 | + } | ||
| Original file line number | Diff line number | Diff 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 | + } | ||
| Original file line number | Diff line number | Diff 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 | + } | ||
| Original file line number | Diff line number | Diff 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 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | "related": [], | |
| 4 | 4 | "name": "analyze()", | |
| 5 | 5 | "description": "Queries a value from the analyzer and returns a float between 0. and 1.", | |
| 6 | - "syntax": [".analyze()"], | ||
| 6 | + "syntax": ["amplitude.analyze()"], | ||
| 7 | 7 | "returns": "float", | |
| 8 | 8 | "type": "method", | |
| 9 | 9 | "category": "Analysis", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | "related": [], | |
| 4 | 4 | "name": "input()", | |
| 5 | 5 | "description": "Define the audio input for the analyzer.", | |
| 6 | - "syntax": [".input(input)"], | ||
| 6 | + "syntax": ["amplitude.input(input)"], | ||
| 7 | 7 | "returns": "void", | |
| 8 | 8 | "type": "method", | |
| 9 | 9 | "category": "Analysis", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | "related": [], | |
| 4 | 4 | "name": "amp()", | |
| 5 | 5 | "description": "Change the amplitude/volume of this sound.", | |
| 6 | - "syntax": [".amp(amp)"], | ||
| 6 | + "syntax": ["soundobject.amp(amp)"], | ||
| 7 | 7 | "returns": "void", | |
| 8 | 8 | "type": "method", | |
| 9 | 9 | "category": "I/O", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | "related": [], | |
| 4 | 4 | "name": "pan()", | |
| 5 | 5 | "description": "Move the sound in a stereo panorama.", | |
| 6 | - "syntax": [".pan(pos)"], | ||
| 6 | + "syntax": ["soundobject.pan(pos)"], | ||
| 7 | 7 | "returns": "void", | |
| 8 | 8 | "type": "method", | |
| 9 | 9 | "category": "I/O", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,10 +4,10 @@ | |||
| 4 | 4 | "name": "play()", | |
| 5 | 5 | "description": "Start capturing the input stream and route it to the audio output", | |
| 6 | 6 | "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)" | ||
| 11 | 11 | ], | |
| 12 | 12 | "returns": "void", | |
| 13 | 13 | "type": "method", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | "related": [], | |
| 4 | 4 | "name": "set()", | |
| 5 | 5 | "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)"], | ||
| 7 | 7 | "returns": "void", | |
| 8 | 8 | "type": "method", | |
| 9 | 9 | "category": "I/O", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments