[squeak-dev] Writing a MIDI file?

Hannes Hirzel hannes.hirzel at gmail.com
Tue May 4 17:37:33 UTC 2010


Regarding the KeyboardMorphForInput - I can enter the scores for the
first instrument (red scores) but how do I do it for the second (green
scores).

The answer to this question would result in an update to the comment
of class KeyboardMorphForInput.

--Hannes

On 5/4/10, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
> 2010/5/4 Hannes Hirzel <hannes.hirzel at gmail.com>:
>> On 5/4/10, Squeak List <squeaklist at yahoo.com> wrote:
>>> actually,
>>>
>>> the class comment for MIDIFileWriter actually works - not very extensive,
>>> but is nearly infinitely more useful/interesting than NO comment :) an
>>> example of helpful documentation,
>> +1
>>
>> and cheers indeed for code created around
>>> 10 ago...AND still working in 4.1 update:10112 !!!
>>>
>>> thank you Lushi (AKA Yisrael Lowenstein).
>>>
>>> my original MIDI interest was to be able to convert "scores" with the
>>> same/similar format found in the AbstractSound bachFugue examples: to
>>> create
>>> a MIDI file from scratch - not exactly like the MIDIFileWriter example...
>>>
>>> Stéphane pointed out a way to do that in his Mu0 environment... and i am
>>> working on my own version fine-tuned to what i want to do in the way that
>>> makes most sense to me in the environment which i am creating :)
>>>
>>> i also agree that it (Class MIDIFileWriter) should be in the base image,
>>> if
>>> possible.
>> +1
>> or than easily accessible as something like SoundAddons on
>> Squeaksource together with a reference in the 'Extending the System'
>> workspace.
>>
>>> ken
>>>
>>>
>>> PS: this brief sort of documentation is very helpful to me.
>>>
>>> a great example imo is the class comment for: KeyboardMorphForInput.
>>>
>>> KeyboardMorphForInput commentStamp:'nice 3/24/2010 07:37' prior:0...
>>>
>>> i do not know who goes by the initials of  'nice' - but whoever it is did
>>> a
>>> rather decent job. actually extremely well done imo...
>>> and hopefully "someone" could tell me how to search the image for
>>> commentStamps created by 'nice'... that would be....
>>>
>> Nice = Nicolas Cellier
>>
>> --Hannes
>>
>>
>
> But I didn't write the comment, just replaced _ with :=
>
> Nicolas
>
>



More information about the Squeak-dev mailing list