Ejemplo n.º 1
0
 /// <summary>
 /// Receive a wave chain which plays sound that corresponds to selected phoneme.
 /// </summary>
 /// <param name="phoneme">Index of phoneme.</param>
 /// <param name="note">Determines tone of sound.</param>
 /// <param name="octave">Determines octave of requested note.</param>
 /// <param name="volume">Wave's amplitude.</param>
 /// <param name="SampleRate">Sample rate of wave chain.</param>
 /// <returns>Timed wave chain.</returns>
 public static ConjoinedWave Get(String phoneme, Note note = Note.C, Byte octave = 5, SByte volume = 96, UInt32 SampleRate = 44100)
 {
     return(Get(phoneme, Notes.Get(note, octave), volume, SampleRate));
 }