Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Display sound but suppress graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61450] Display sound but suppress graphics
  • From: William K Reinholtz <kirk.reinholtz at jpl.nasa.gov>
  • Date: Wed, 19 Oct 2005 02:16:57 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Mathgroup:

OK, I tried, I really did, but I can't figure out how to cause a  
sound to play without also displaying a graph of that sound.  This is  
on Mac OSX Mathematica 5.2

For example, the following plays the tone (which is what I want) and  
also displays a graphic, which I do not want.  I've tried all sorts  
of fidding with $SoundDisplayFunction and $SoundDisplay etc to no avail.

Thanks for the help!

With[{p = 16},
     dit = Table[Sin[p*30 2 Pi t/8192], {t, 0, 8191/p, 1}];
     zdit = Array[0, Length@dit];
     ];
ListPlay[Flatten@{dit, zdit, dit, zdit, dit, zdit, dit, zdit, dit}]


  • Prev by Date: Re: boolean function, interpolation
  • Next by Date: Re: Function, Command, Operator, Object...etc.
  • Previous by thread: Re: Re: Unsorted Union
  • Next by thread: Re: Display sound but suppress graphics