0
$\begingroup$

I am learning how to generate/combine sounds using Mathematica in order to show that sounds cancel at some phases. As an exploratory example, I have

AudioGenerator[{"Sin", 44, 0}, 5]

and

AudioGenerator[{"Sin", 44, Pi}, 5],

which I want to play together to see if these cancel.

$\endgroup$

1 Answer 1

2
$\begingroup$
a1 = AudioGenerator[{"Sin", 44, 0}, 1]
a2 = AudioGenerator[{"Sin", 44, \[Pi]}, 1]

AudioOverlay[{a1, a2}]
$\endgroup$
1
  • $\begingroup$ Or even Mean[{a1, a2}]. $\endgroup$
    – carlog
    Commented Jun 8, 2022 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.