mp3s sound funky on Squeak ( Windows )

Maloney, John John.Maloney at disney.com
Tue Aug 20 00:53:28 UTC 2002


Brent,

Another quick test of the Squeak sound system is:

  AbstractSound stereoBachFugue play

If this comes out garbled or with stutters/dropouts, then it may be because Squeak isn't
getting enough processor cycles to compute sound buffers in time. That same problem
would affect MP3 playing. If this is the case, some things to try are:

  1. quit from all applications other than Squeak (especially other media players!)
  2. turn off as many background jobs as possible
  3. if you are on a laptop, check your power management settings; if there is
      a "power cycling" or "power conservation" mode, try disabling it
  4. you might have trouble with MP3 if you're running on very old, slow
      hardware (seems unlikely, given that you're running Win 2000)

If all of that fails, you can increase the size of the sound buffer by editing
SoundPlayer class>initialize. Then execute the comment at the top of that
method, "SoundPlayer initialize; shutDown; startUp" to make it take effect.

When you figure out what the problem is, drop us a note and let us know...

The Bach fugue example plays perfectly on my Windows 2000 machine
(an IBM Thinkpad).

	-- John


At 11:53 AM -0700 8/19/02, Brent Vukmer wrote:
>When I open the MPEGPlayer on a 3.2 image or a 3.3a image, and select an MP3 file, then press the play button -- it plays, but it sounds really, really garbled.  How should I troubleshoot what's going on?
>
>I'm running on Windows 2000 and I should have the latest updates for both 3.2 and 3.3.
>
>
>Thanks,
>Brent





More information about the Squeak-dev mailing list