> Hi Fabrice,
>
>> First thank you very much and congratulation for your excellent and
>> useful classes.
> thanks!
>
>> How do you program a silence into the MIDI sequence?
> Well, since all startTimes in SimpleMIDIFile are absolute, inserting
> a silence would mean simply not adding anything to that specific
> startTime. Or is that not what you mean?
>
>> The addNote method requires a note; is ready to handle a symbol?
> No. Not a bad idea though. I could extend the method to accept note
> names as well as note numbers in the noteNumber arg.
>
>> I usually use .addNote from inside of Pbind function and I want to
>> use \ for a silence.
> If you would want to add a "dummy" event at a silence time, you
> could consider creating a second track in the SimpleMIDIFile and put
> notes that are supposed to be rests in there. Then you can mute that
> track when importing to a midi sequencer, or choose to change the
> rests to audible notes again by changing their track number if
> needed. Adding a note with velocity 0 could also be an option, but
> that could cause trouble with some sequencers, since noteOn messages
> with velocity 0 are usually interpreted as being noteOff messages.
> You'd need to test that for your specific case.
>
> cheers,
> Wouter
>
>> On 9 Aug 2007, at 23:36, Wouter Snoei wrote:
>>
>>> Hi folks,
>>>
>>> I'm releasing my personal library of Classes and extensions. It
>>> can be downloaded at:
>>>
>>>
http://www.woutersnoei.nl/wslib/>>>
>>> "wslib_v0.23.tar.gz" is the current version (might change without
>>> notice)
>>>
>>> Main features are:
>>> - A full MIDI file implementation (including cc, bend etc)
>>> - Automatic backup feature
>>> - Graphic vector import, export and generation to the XML-based
>>> SVG file format
>>> - Graphic vector export to PostScript
>>> - Pen based replacements for SCSlider and SCButton, with loads of
>>> extra options
>>> - Color extensions for named web colors
>>> - GUI code generator, including Pen functions
>>> - File management tools based on Unix commands (create folders,
>>> move, rename, copy, delete or compress files)
>>> - Dedicated GUI for recording audiofiles from the server
>>> - lots of shortcuts and small additions
>>> - and more..
>>>
>>> A dedicated part of my website will follow later, for now just use
>>> the download link above.
>>> Thanks to Tom Tlalim for being my beta tester.
>>>
>>> Comments and suggestions very welcome.
>>>
>>> Ejoy!
>>>
>>> Wouter
>>>
>>> ps: the WFS library is not included..
>>>
>>>
>>> Wouter Snoei
>>>
>>>
info@...
>>>
http://www.woutersnoei.nl>>>
>>> _______________________________________________
>>> sc-users mailing list
>>>
sc-users@...
>>>
http://www.create.ucsb.edu/mailman/listinfo/sc-users>>
>> _______________________________________________
>> sc-users mailing list
>>
sc-users@...
>>
http://www.create.ucsb.edu/mailman/listinfo/sc-users>
> Wouter Snoei
>
>
info@...
>
http://www.woutersnoei.nl>
> _______________________________________________
> sc-users mailing list
>
sc-users@...
>
http://www.create.ucsb.edu/mailman/listinfo/sc-users