Group Abstract Group Abstract

Message Boards Message Boards

Change amplitude of the audio generated by Play?

Posted 10 years ago

How to change the amplitude of the audio generated by the command "Play[Sin[4402Pi*t],{t,0,10}]"? What options deal with this issue? Thanks...

POSTED BY: John Steigerwalt
4 Replies

Sorry for my lack of basic understanding that prevents me from stating my issue more clearly. I have been looking in Help for the Play function and not seeing a volume control that I think should be available. A simple example would be to combine a fundamental note with one overtone note and assign a volume independently to each. "Play[(10 * Sin[4402Pit]) + (5Sin[8802Pi*t]),{t,0,1}]" From what I hear it seems that the amplitude coefficients 10 and 5 are ignored in the sound output.

Thank you for a continued response...

POSTED BY: John Steigerwalt
POSTED BY: Marco Thiel

Thanks for your response. What I don't understand is why the following two Play commands seem to respond with the same volume sound: Play[2Sin[4402Pit],{t,0,1}] Play[20Sin[4402Pit],{t,0,1}] I want to combine several amplitude waveforms each with its own volume coefficient.

POSTED BY: John Steigerwalt
POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard