[squeak-dev] The Trunk: MorphicExtras-ct.330.mcz
tim at rowledge.org
Thu Aug 25 18:02:29 UTC 2022
I remember having 'fun' with getting the midi stuff to work on a Pi for Scratch. I think there can be some fairly annoying delays between requesting a note and actually hearing it; maybe that has improved as the Pi has got faster?
There were also issues I noted about the index of the instrument not matching the plugin/library (off by one problems I think) and the timidity system. Then again, the only planet where all the unix systems do sound properly is Mars, so we shouldn't be too surprised.
> On 2022-08-25, at 7:35 AM, Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de> wrote:
> 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!
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: JTC: Jump To Conclusions
More information about the Squeak-dev