MathGroup Archive 1999

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

Search the Archive

Re: Display (was: psfix)

  • To: mathgroup at
  • Subject: [mg17056] Re: Display (was: psfix)
  • From: pokornp at ()
  • Date: Fri, 23 Apr 1999 02:32:03 -0400
  • Organization: Ceske Vysoke Uceni Technicke, Praha
  • References: <7f9iod$> <7fe9s9$>
  • Sender: owner-wri-mathgroup at

P.J. Hinton (paulh at wrote:
: In article <7f9iod$56i at>, hans.steffani at (Hans Steffani) writes:

: > The Helpbrowser says
: > 
: > Display[channel, graphics, "format"] writes
: >           graphics or sound in the specified format. 


One would expect 

 Display ["hello.wav", Play [Sin[2*Pi*440*t], {t,0,1}], "WAV" ]

to make a wav file.
It does not. At least in my 3.0 version.
Is there some package or another tool to make something like this with sound ?

Thank you

Pavel Pokorny
Math Dept, Prague Institute of Chemical Technology
e-mail: Pavel.Pokorny at

: > 
: > but this does not work.
: > 
: > But I found out that I should be
: > 
: > Display[string, graphics, "format"] writes
: >           graphics or sound in the specified format. 
: > 
: > with string being the filename of the graphic file.

: What do you define as "does not work"?  An example of a channel is a 
: pipe, and this surely works on Unix versions of Mathematica.

: If you have either PBMPlus or netPBM installed on your system, 
: try something like this:

: Plot[Sin[x], {x,0,2Pi}, 
:   DisplayFunction :> (
:       Display["!pnmsmooth | ppmtogif > testme.gif", #, "PBM"]&)]

: The plot is fed into psrender, which converts the graphic to a 
: portable bitmap.  It is then piped through two of the filter tools
: from the above toolkits to create a somewhat blurred gif.

: I believe that you can also use an OutputStream[] as a channel.

: --
: P.J. Hinton	
: Mathematica Programming Group		paulh at
: Wolfram Research, Inc.

  • Prev by Date: Re: Extendraphics(&MathLink) package problem
  • Previous by thread: Re: Display (was: psfix)
  • Next by thread: Re: Display (was: psfix)