C# Class Sources.Waves

Show file Open project: FacepunchProgrammers/coderelay-audio

Public Methods

Method Description
Saw ( long length ) : double[]
Sine ( long length ) : double[]
Square ( long length ) : double[]
String ( int samples, int frequency, int damping, int seed ) : double[]

Method Details

Saw() public static method

public static Saw ( long length ) : double[]
length long
return double[]

Sine() public static method

public static Sine ( long length ) : double[]
length long
return double[]

Square() public static method

public static Square ( long length ) : double[]
length long
return double[]

String() public static method

public static String ( int samples, int frequency, int damping, int seed ) : double[]
samples int
frequency int
damping int
seed int
return double[]