Marcel Taeumel uploaded a new version of Sound to project The Trunk:
http://source.squeak.org/trunk/Sound-mt.49.mcz==================== Summary ====================
Name: Sound-mt.49
Author: mt
Time: 6 April 2016, 10:28:46.469834 am
UUID: a2a341f2-f4d3-b946-a104-0e5f59c1554c
Ancestors: Sound-mt.48
Adds code for conveniently playing MIDIs stored in the file system. Compares with Form class.
=============== Diff against Sound-mt.48 ===============
Item was added:
+ ScorePlayer subclass: #MIDISound
+ instanceVariableNames: ''
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'Sound-Scores'!
+
+ !MIDISound commentStamp: 'mt 4/6/2016 10:19' prior: 0!
+ This empty class just makes the fact explicit that this object is a sound object that needs can be played. Just like other sounds.
+
+ Example: (MIDISound fromFileNamed: 'some.mid') play!
Item was added:
+ ----- Method: ScorePlayer class>>fromFileNamed: (in category 'instance creation') -----
+ fromFileNamed: fileName
+
+ ^ self onScore: (MIDIFileReader scoreFromFileNamed: fileName)!