Class ConsoleAcoustic
Sound-related extensions for console
Inheritance
object
ConsoleAcoustic
Namespace: Terminaux.Base.Extensions
Assembly: Terminaux.dll
Syntax
public static class ConsoleAcoustic
Methods
| Edit this page View SourceGetSynthInfo(string)
Gets synth information from the synth JSON representation
Declaration
public static SynthInfo GetSynthInfo(string synthJson)
Parameters
Type | Name | Description |
---|---|---|
string | synthJson | Synth JSON representation |
Returns
Type | Description |
---|---|
SynthInfo | An output SynthInfo class that contains the necessary information |
Exceptions
Type | Condition |
---|---|
TerminauxException |
PlaySynth(SynthInfo)
Plays the beep synth
Declaration
public static void PlaySynth(SynthInfo synthInfo)
Parameters
Type | Name | Description |
---|---|---|
SynthInfo | synthInfo | Synth info. You can obtain this from GetSynthInfo(string). |
Exceptions
Type | Condition |
---|---|
TerminauxException |