We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42be683 commit a2cc164Copy full SHA for a2cc164
examples/synth/src/main.rs
@@ -34,7 +34,7 @@ fn main() {
34
let frequency: MidiFrequency = note.frequency();
35
36
// Create an audio source for the note.
37
- let audio_source = Oscillator::sine_wave(frequency).amplify(1.0);
+ let audio_source = Oscillator::sawtooth_wave(frequency).amplify(1.0);
38
39
// Get the note id (u8) if you need it. 0 is the lowest note. 127 is the highest note.
40
let source_id: MidiNoteId = note.id();
0 commit comments