Struct Tone
Audio tone represented by a volume and a pitch in Hz.
Namespace: InsaneScatterbrain.RetroKit.Editor
Syntax
[Serializable]
public struct Tone
Constructors
Tone(Single)
Declaration
public Tone(float pitch)
Parameters
Type | Name | Description |
---|---|---|
System.Single | pitch |
Tone(Single, Single)
Declaration
public Tone(float pitch, float volume)
Parameters
Type | Name | Description |
---|---|---|
System.Single | pitch | |
System.Single | volume |
Fields
pitch
Declaration
public float pitch
Field Value
Type | Description |
---|---|
System.Single |
volume
Declaration
public float volume
Field Value
Type | Description |
---|---|
System.Single |