2004-01-28-0753Z


Got a WAV file tranposer written. Yes, it would be better to write a 'play' program with a transpose option, and I do intend to eventually do that, but for now this will have to do. And it transposes by lengthening or shortening the overall sequence, slowing it down or speeding it up, like the old tape-drive karaoke machines, not by fancy programming. This was a one-day hack, and it was hard enough getting this to work reasonably well.

I found out why the 'play' routine I put into the winsound module yesterday only plays the first 40 to 45 seconds of the song: the Win32 PlaySound service that I'm using just stores as much as it wants to in RAM and plays it from there. I'll have to write something more sophisticated.

Back to blog or home page

last updated 2013-01-10 20:13:16. served from tektonic.jcomeau.com