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

MathGroup Archive 2007

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

Search the Archive

Re: Exporting Sound

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83887] Re: Exporting Sound
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Mon, 3 Dec 2007 07:10:44 -0500 (EST)
  • References: <fireum$s1h$1@smc.vnet.net> <fitt1j$6pv$1@smc.vnet.net> <fj0nh8$j8e$1@smc.vnet.net>

Jerry wrote:
> Sir, thanks for your tip on recording a midi file.
> 
> Funny though, when I use
> 
> ding = SoundNote["F", 1, "Tinklebell"];
> 
> Sound[ding]
> 
> I play it in V6 and I hear the note.
> Then I record it to a file as you suggest:
> 
> Export["ding.mid", Sound[ding], "Sound"]
> 
> I then double click ding.mid in the directory where it was 
> placed and I get MediaPlayer and I hear a sound. But, it's 
> clearly not the same sound. It's the same length and type 
> but it's at a higher frequency. Any idea why?
> 

I think that Java has its own built-in synthesizer (it does not use the 
one in Windows), and Mathematica plays MIDI through Java.  So a 
difference is expected, but you are right that the difference in this 
case is striking.

-- 
Szabolcs


  • Prev by Date: Re: Manipulate - ODE
  • Next by Date: Re: how draw box with open front
  • Previous by thread: Re: Exporting Sound
  • Next by thread: Re: Exporting Sound