[squeak-dev] Writing a MIDI file?
Squeak List
squeaklist at yahoo.com
Tue May 4 11:45:35 UTC 2010
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, 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.
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....
----- Original Message ----
From: Stéphane Rollandin <lecteur at zogotounga.net>
To: The general-purpose Squeak developers list <squeak-dev at lists.squeakfoundation.org>
Sent: Tue, May 4, 2010 12:37:49 AM
Subject: Re: [squeak-dev] Writing a MIDI file?
> there is more info, which i will dig up in a bit. in particular, Mu0
> does this well with the stuff i will dig up. possibly you will hear
> something from that camp before i even write back :)
You fired first :)
So yes, MIDIFileWriter will convert a MIDIScore into a MIDI file. It should belong to the base image IMO, since we already have the MIDIFileReader.
MuO is a full-fledged musical composition environment and provide its own representation of MIDI-like data.
Stef
More information about the Squeak-dev
mailing list
|