On 4/2/06, Kelvin Lawson <[EMAIL PROTECTED]> wrote: > Hey Will, long time no speak.
Heh, I've been really busy :) > > I've been experimenting a lot lately with trying to get pitch shifting > > working, and I've made a pleasant discovery that, at least in Linux, > > makes it a snap to implement. I'm totally jazzed about this :) > > Yeah I spotted this on your blog the other day. Kudos! This is a great > solution as it saves reinventing the wheel. Any chance you could post a > little HOWTO to the list on setting this up? :-) It's a good solution for Linux, though I don't think JACK or the other stuff runs on Win32 though; it's *possible* you could build a similar kind of toolchain on Win32 though with whatever SDL is using for sound delivery. I'd be glad to write up a howto. It was fairly easy to do once I figured out the little gotchas. I'll post it in the next few days. > > More directly PyKaraoke-related, I wrote a patch against v0.3 that > > added a configurable on-screen display (showing player status, time in > > the song, etc.); anybody at all interested in that kind of feature, or > > am I just being a showoff at the local shows? :) > > > > I'd need to probably refactor it to work properly in v0.4 since that > > introduced the segmented display scheme; though I was just overlaying > > FreeType font stuff onto the buffer right before it gets flushed to > > the display device, so it may still just apply and work. > > If you're modifying the cdgSurfArray, then it just now needs to set > appropriate bitfields in UpdatedTiles to specify which tiles have been > modified. Then cdgDisplayUpdate() will automatically work on only the > updated tiles. If it's not obvious what to do then I'd be happy to do > the merge. > > Thinking about it, it's probably not appropriate to blit the text into > cdgSurfArray as it would get scrolled if there was any scrolling in the > CDG. Better to do this to the unscaled_tiles array immediately before > scaling and output. This way it won't be left hanging around in the main > cdgSurfArray for use by the scrolling code. The way I'd gotten it working before wasn't to write on the cdgSurfArray, just on the finished buffer right before it got sent to the screen. I think :) If that's still true, then yeah, I just need to update the UpdatedTiles chunk to tell it I've written changes there. Of course, the way I was doing it, I was just drawing the text on every frame anyway. I think I saved the rendered text and only changed *it* when necessary, then blitted it onto the finished output buffer right before it got displayed. Bleh. I need to dig some more to remember how I did it :) -- Looking for something to read? Visit http://willfe.com/ ... it's easy, safe, and fun for the whole family! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Pykaraoke-discuss mailing list Pykaraoke-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss