Skip to content

Commit

Permalink
clean up and rename two_sine_waves
Browse files Browse the repository at this point in the history
  • Loading branch information
ahicks92 committed Dec 21, 2024
1 parent 50bb8da commit 16aebe0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ fn main() -> Result<()> {
freq3 = b.allocate_slot::<f64>();
}

let note1_start = read_slot(&freq1, C_FREQ)
let note1 = read_slot(&freq1, C_FREQ)
.divide_by_sr()
.periodic_sum(1.0f64, 0.0f64)
* Chain::new(pi2);
let note1 = note1_start.sin();
.inline_mul(Chain::new(pi2))
.sin();
let note2 = read_slot(&freq2, E_FREQ)
.divide_by_sr()
.periodic_sum(1.0f64, 0.0)
Expand Down

0 comments on commit 16aebe0

Please sign in to comment.