[squeak-dev] The Trunk: MorphicExtras-ct.330.mcz

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Thu Aug 25 14:35:53 UTC 2022

Fun fact: If you use MIDI instead of built-in sounds, there is even a drum (even though it is not listed in the piano roll). :-)



Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Donnerstag, 25. August 2022 15:58:02
An: squeak-dev at lists.squeakfoundation.org; packages at lists.squeakfoundation.org
Betreff: [squeak-dev] The Trunk: MorphicExtras-ct.330.mcz

Christoph Thiede uploaded a new version of MorphicExtras to project The Trunk:

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

Name: MorphicExtras-ct.330
Author: ct
Time: 25 August 2022, 3:57:58.536239 pm
UUID: 2e1c5775-6f30-154d-b1ba-77d1d443e805
Ancestors: MorphicExtras-ct.329

In the Score Player example, use different instruments as intended by the example track. Adds ScorePlayerMorph>>#atTrack:selectInstrument:.

=============== Diff against MorphicExtras-ct.329 ===============

Item was changed:
  ----- Method: ScorePlayerMorph class>>extraExample (in category '*MorphicExtras-examples') -----
         "ScorePlayerMorph extraExample openInHand"

+        | scorePlayerMorph |
+        scorePlayerMorph := self on: MIDIScore extraExample.
+        #('organ1' 'oboe1' 'brass1' 'oboe1' 'oboe2' 'bass1' 'bassoon1' 'bass1' 'pluckedElecBass' 'bass1')
+                withIndexDo: [:name :index |
+                        scorePlayerMorph atTrack: index selectInstrument: name].
+        ^ scorePlayerMorph!
-        ^ self on: MIDIScore extraExample!

Item was added:
+ ----- Method: ScorePlayerMorph>>atTrack:selectInstrument: (in category 'controls') -----
+ atTrack: trackIndex selectInstrument: selection
+        ^ self atTrack: trackIndex from: (instrumentSelector at: trackIndex) selectInstrument: selection!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220825/7a9ecc4f/attachment.html>

More information about the Squeak-dev mailing list