A new version of MorphicExtras was added to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-ct.270.mcz ==================== Summary ==================== Name: MorphicExtras-ct.270 Author: ct Time: 1 October 2019, 8:29:45.819339 pm UUID: ddef6e73-100a-5e49-bfb6-58a2571d53a1 Ancestors: MorphicExtras-ct.267 Add MIDIScore example Depends on MorphicExtras-ct.266 and Sound-ct.69. This commit is part of reconstruction of Objectland (also known as "The Worlds of Squeak"). For more information, see: http://forum.world.st/The-Inbox-MorphicExtras-ct-267-mcz-td5104764.html =============== Diff against MorphicExtras-ct.267 =============== Item was added: + ----- Method: MIDIScore class>>extraExample (in category '*MorphicExtras-examples') ----- + extraExample + "(ScorePlayerMorph on: MIDIScore extraExample) openInWorld" + + | tracks | + tracks := self extraExampleTrackData collect: [:track | (ReferenceStream on: + (Base64MimeConverter mimeDecodeToBytes: track readStream)) next]. + ^ self new + tracks: tracks values trackInfo: tracks keys; + ticksPerQuarterNote: 96; + tempoMap: self extraExampleTempoMap; + yourself! Item was added: + ----- Method: MIDIScore class>>extraExampleTempoMap (in category '*MorphicExtras-examples') ----- + extraExampleTempoMap + + ^ {0->750000 . 26496->769230 . 26592->789473 . 26688->810810 . 26784->833333 . 26880->857142 . 26976->882352 . 27072->909090} + collect: [:tempoData | TempoEvent time: tempoData key tempo: tempoData value]! Item was added: + ----- Method: MIDIScore class>>extraExampleTrackData (in category '*MorphicExtras-examples') ----- (excessive size, no diff calculated) |
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. :-) Von: Squeak-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>
Gesendet: Dienstag, 1. Oktober 2019 20:29:52 An: [hidden email] Betreff: [squeak-dev] The Inbox: MorphicExtras-ct.270.mcz A new version of MorphicExtras was added to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-ct.270.mcz ==================== Summary ==================== Name: MorphicExtras-ct.270 Author: ct Time: 1 October 2019, 8:29:45.819339 pm UUID: ddef6e73-100a-5e49-bfb6-58a2571d53a1 Ancestors: MorphicExtras-ct.267 Add MIDIScore example Depends on MorphicExtras-ct.266 and Sound-ct.69. This commit is part of reconstruction of Objectland (also known as "The Worlds of Squeak"). For more information, see: http://forum.world.st/The-Inbox-MorphicExtras-ct-267-mcz-td5104764.html =============== Diff against MorphicExtras-ct.267 =============== Item was added: + ----- Method: MIDIScore class>>extraExample (in category '*MorphicExtras-examples') ----- + extraExample + "(ScorePlayerMorph on: MIDIScore extraExample) openInWorld" + + | tracks | + tracks := self extraExampleTrackData collect: [:track | (ReferenceStream on: + (Base64MimeConverter mimeDecodeToBytes: track readStream)) next]. + ^ self new + tracks: tracks values trackInfo: tracks keys; + ticksPerQuarterNote: 96; + tempoMap: self extraExampleTempoMap; + yourself! Item was added: + ----- Method: MIDIScore class>>extraExampleTempoMap (in category '*MorphicExtras-examples') ----- + extraExampleTempoMap + + ^ {0->750000 . 26496->769230 . 26592->789473 . 26688->810810 . 26784->833333 . 26880->857142 . 26976->882352 . 27072->909090} + collect: [:tempoData | TempoEvent time: tempoData key tempo: tempoData value]! Item was added: + ----- Method: MIDIScore class>>extraExampleTrackData (in category '*MorphicExtras-examples') ----- (excessive size, no diff calculated)
Carpe Squeak!
|
In reply to this post by commits-2
This can be moved to Treated Inbox in favor of MorphicExtras-ct.277. Von: Squeak-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>
Gesendet: Dienstag, 1. Oktober 2019 20:29:52 An: [hidden email] Betreff: [squeak-dev] The Inbox: MorphicExtras-ct.270.mcz A new version of MorphicExtras was added to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-ct.270.mcz ==================== Summary ==================== Name: MorphicExtras-ct.270 Author: ct Time: 1 October 2019, 8:29:45.819339 pm UUID: ddef6e73-100a-5e49-bfb6-58a2571d53a1 Ancestors: MorphicExtras-ct.267 Add MIDIScore example Depends on MorphicExtras-ct.266 and Sound-ct.69. This commit is part of reconstruction of Objectland (also known as "The Worlds of Squeak"). For more information, see: http://forum.world.st/The-Inbox-MorphicExtras-ct-267-mcz-td5104764.html =============== Diff against MorphicExtras-ct.267 =============== Item was added: + ----- Method: MIDIScore class>>extraExample (in category '*MorphicExtras-examples') ----- + extraExample + "(ScorePlayerMorph on: MIDIScore extraExample) openInWorld" + + | tracks | + tracks := self extraExampleTrackData collect: [:track | (ReferenceStream on: + (Base64MimeConverter mimeDecodeToBytes: track readStream)) next]. + ^ self new + tracks: tracks values trackInfo: tracks keys; + ticksPerQuarterNote: 96; + tempoMap: self extraExampleTempoMap; + yourself! Item was added: + ----- Method: MIDIScore class>>extraExampleTempoMap (in category '*MorphicExtras-examples') ----- + extraExampleTempoMap + + ^ {0->750000 . 26496->769230 . 26592->789473 . 26688->810810 . 26784->833333 . 26880->857142 . 26976->882352 . 27072->909090} + collect: [:tempoData | TempoEvent time: tempoData key tempo: tempoData value]! Item was added: + ----- Method: MIDIScore class>>extraExampleTrackData (in category '*MorphicExtras-examples') ----- (excessive size, no diff calculated)
Carpe Squeak!
|
Per request below, I moved MorphicExtras-ct.270 to Treated Inbox.
Big thumbs up for restoring "The Worlds of Squeak" :-) Dave On Wed, Oct 02, 2019 at 11:45:11AM +0000, Thiede, Christoph wrote: > This can be moved to Treated Inbox in favor of MorphicExtras-ct.277. > > ________________________________ > Von: Squeak-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]> > Gesendet: Dienstag, 1. Oktober 2019 20:29:52 > An: [hidden email] > Betreff: [squeak-dev] The Inbox: MorphicExtras-ct.270.mcz > > A new version of MorphicExtras was added to project The Inbox: > http://source.squeak.org/inbox/MorphicExtras-ct.270.mcz > > ==================== Summary ==================== > > Name: MorphicExtras-ct.270 > Author: ct > Time: 1 October 2019, 8:29:45.819339 pm > UUID: ddef6e73-100a-5e49-bfb6-58a2571d53a1 > Ancestors: MorphicExtras-ct.267 > > Add MIDIScore example > > Depends on MorphicExtras-ct.266 and Sound-ct.69. > > This commit is part of reconstruction of Objectland (also known as "The Worlds of Squeak"). For more information, see: http://forum.world.st/The-Inbox-MorphicExtras-ct-267-mcz-td5104764.html > > =============== Diff against MorphicExtras-ct.267 =============== > > Item was added: > + ----- Method: MIDIScore class>>extraExample (in category '*MorphicExtras-examples') ----- > + extraExample > + "(ScorePlayerMorph on: MIDIScore extraExample) openInWorld" > + > + | tracks | > + tracks := self extraExampleTrackData collect: [:track | (ReferenceStream on: > + (Base64MimeConverter mimeDecodeToBytes: track readStream)) next]. > + ^ self new > + tracks: tracks values trackInfo: tracks keys; > + ticksPerQuarterNote: 96; > + tempoMap: self extraExampleTempoMap; > + yourself! > > Item was added: > + ----- Method: MIDIScore class>>extraExampleTempoMap (in category '*MorphicExtras-examples') ----- > + extraExampleTempoMap > + > + ^ {0->750000 . 26496->769230 . 26592->789473 . 26688->810810 . 26784->833333 . 26880->857142 . 26976->882352 . 27072->909090} > + collect: [:tempoData | TempoEvent time: tempoData key tempo: tempoData value]! > > Item was added: > + ----- Method: MIDIScore class>>extraExampleTrackData (in category '*MorphicExtras-examples') ----- > (excessive size, no diff calculated) > > > |
Free forum by Nabble | Edit this page |