[etoys-dev] Etoys: Sound-kfr.17.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jul 17 16:51:03 EDT 2011


Karl Ramberg uploaded a new version of Sound to project Etoys:
http://source.squeak.org/etoys/Sound-kfr.17.mcz

==================== Summary ====================

Name: Sound-kfr.17
Author: kfr
Time: 17 July 2011, 10:50:30 pm
UUID: 67ba7fd8-1d25-6f4b-85e7-076c0ff2fc4e
Ancestors: Sound-kfr.16

Reverb was turnes on everytime SoundPlayer started playing. Preference setting must be put somwhere else.

=============== Diff against Sound-kfr.16 ===============

Item was changed:
  ----- Method: SoundPlayer class>>initialize (in category 'initialization') -----
  initialize
  	"SoundPlayer initialize; shutDown; startUp"
  	"Details: BufferMSecs represents a tradeoff between latency and quality. If BufferMSecs is too low, the sound will not play smoothly, especially during long-running primitives such as large BitBlts. If BufferMSecs is too high, there will be a long time lag between when a sound buffer is submitted to be played and when that sound is actually heard. BufferMSecs is typically in the range 50-200."
  
  	SamplingRate := 22050.
  	BufferMSecs := 120.
  	Stereo := true.
+ 	"Preferences
- 	Preferences
  		addPreference: #soundReverb
  		categories: #(media)
  		default: true
  		balloonHelp: 'If true, a little echo will be added, making it sound as if it is in a larger space.'
  		projectLocal: true
  		changeInformee: self
  		changeSelector: #reverbChanged.
  
+ 	self reverbChanged."
- 	self reverbChanged.
  	!



More information about the etoys-dev mailing list