<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>By the way, does anyone remember the origin of this song? It would be nice to give the example a strong name, and I could perpetuate the composer in a method comment. :-)</p>
<div id="x_Signature">
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von commits@source.squeak.org <commits@source.squeak.org><br>
<b>Gesendet:</b> Dienstag, 1. Oktober 2019 20:29:52<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org<br>
<b>Betreff:</b> [squeak-dev] The Inbox: MorphicExtras-ct.270.mcz</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">A new version of MorphicExtras was added to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/MorphicExtras-ct.270.mcz">http://source.squeak.org/inbox/MorphicExtras-ct.270.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: MorphicExtras-ct.270<br>
Author: ct<br>
Time: 1 October 2019, 8:29:45.819339 pm<br>
UUID: ddef6e73-100a-5e49-bfb6-58a2571d53a1<br>
Ancestors: MorphicExtras-ct.267<br>
<br>
Add MIDIScore example<br>
<br>
Depends on MorphicExtras-ct.266 and Sound-ct.69.<br>
<br>
This commit is part of reconstruction of Objectland (also known as "The Worlds of Squeak"). For more information, see:
<a href="http://forum.world.st/The-Inbox-MorphicExtras-ct-267-mcz-td5104764.html">
http://forum.world.st/The-Inbox-MorphicExtras-ct-267-mcz-td5104764.html</a><br>
<br>
=============== Diff against MorphicExtras-ct.267 ===============<br>
<br>
Item was added:<br>
+ ----- Method: MIDIScore class>>extraExample (in category '*MorphicExtras-examples') -----<br>
+ extraExample<br>
+        "(ScorePlayerMorph on: MIDIScore extraExample) openInWorld"<br>
+ <br>
+        | tracks |<br>
+        tracks := self extraExampleTrackData collect: [:track | (ReferenceStream on:<br>
+                (Base64MimeConverter mimeDecodeToBytes: track readStream)) next].<br>
+        ^ self new<br>
+                tracks: tracks values trackInfo: tracks keys;<br>
+                ticksPerQuarterNote: 96;<br>
+                tempoMap: self extraExampleTempoMap;<br>
+                yourself!<br>
<br>
Item was added:<br>
+ ----- Method: MIDIScore class>>extraExampleTempoMap (in category '*MorphicExtras-examples') -----<br>
+ extraExampleTempoMap<br>
+ <br>
+        ^ {0->750000 . 26496->769230 . 26592->789473 . 26688->810810 . 26784->833333 . 26880->857142 . 26976->882352 . 27072->909090}<br>
+                collect: [:tempoData | TempoEvent time: tempoData key tempo: tempoData value]!<br>
<br>
Item was added:<br>
+ ----- Method: MIDIScore class>>extraExampleTrackData (in category '*MorphicExtras-examples') -----<br>
(excessive size, no diff calculated)<br>
<br>
<br>
</div>
</span></font>
</body>
</html>