Method | Description | |
---|---|---|
Dispose ( ) : void | ||
PCSpeaker ( int rate = 44100 ) : System | ||
Play ( WaveForm wave, int freq, int length ) : void |
Play a note for length ms. If length is negative, play until told to stop. |
|
ReadBuffer ( short buffer, int count ) : int | ||
Stop ( int delay ) : void |
Stop the currently playing note after delay ms.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
GenerateSaw ( int x, int oscLength ) : int | ||
GenerateSine ( int x, int oscLength ) : int | ||
GenerateSquare ( int x, int oscLength ) : int | ||
GenerateTriangle ( int x, int oscLength ) : int |
public Play ( WaveForm wave, int freq, int length ) : void | ||
wave | WaveForm | Wave form to play. |
freq | int | Frequency. |
length | int | Length in ms. |
return | void |
public ReadBuffer ( short buffer, int count ) : int | ||
buffer | short | |
count | int | |
return | int |