[Bluemusic-users] Re: Implementing Swing Functionality
Brought to you by:
kunstmusik
From: Will L. <fil...@gm...> - 2006-03-18 18:07:13
|
"Steven Yi" <ste...@gm...> writes: > Hi All, > > I had a request to implement a Swing NoteProcessor in blue, but I am > not quite sure how musical swing is implemented in other programs. > Just thinking off the top of my head, I imagine an editor for Swing to > be something of a curve editor that one can edit how time is swung and > how drastically it is done so, using a time versus time curve. I > guess it'd be similar to how t-statements are applied, but on a cyclic > basis (and perhaps using spline curves instead of linear segments). I > guess too that it should have a setting for the duration over which to > apply the time curve before repeating the curve (i.e. the swing > happens per beat). Could someone recommend me a program that > implements swing I can look at for reference, or know of any books or > references to look at? > > Any help on this would be greatly appreciated! > steven Steven, I looked through the hydrogen code and found the lines pertaining to swing and humanize timing, and I've gone ahead and attached the relevant file, Hydrogen.cpp (pasting it in the message messed up the formatting). The lines you'll want to look at are lines 1190 to 1200. Hope that helps, -will |