Exemple #1
0
 public override void ProcessFile(OutputFile file, ConvertOptions options)
 {
     using (var stream = new FileStream(file.Path, FileMode.Create))
     {
         Writer.SampleRate = options.Wave_Frequency ?? 44100;
         Writer.WriteWave(stream, CreateSong(file.Data, GetWaveform(options), options.Wave_Volume ?? 1.0, options.Wave_Clip ?? false, options.Wave_Frequency ?? 44100));
     }
 }