Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: waveform

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88045] Re: waveform
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Wed, 23 Apr 2008 04:05:58 -0400 (EDT)
  • References: <fukeou$s30$1@smc.vnet.net>

Jack Kennedy wrote:
> I'm new to the audio functions of Mathematica, and I'd like
> to create a waveform that is a sine wave of whose frequency
> increasing linearly over time. Does anybody know a way
> to do this?
> 
> Thanks,
> Jack
> 
> 

Play[Sin[(1500 + 100 t) t], {t, 0, 3}]

(adjust parameters to taste), and press the play button in the notebook. 
Alternatively, if you would like the sound to be generated immediately, try:

Play[Sin[(1500 + 100 t) t], {t, 0, 3}] //EmitSound

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: A Problem with Simplify
  • Next by Date: Re: Dynamic: feature?
  • Previous by thread: Re: waveform
  • Next by thread: Problem with RegionFunction