Hi Bert - Yes please do the back-port! The only changes you need are the one-line interpolation in the mix... method to banish noise and the refs to this.damp to make the high notes ring better.
The changes for shareable envelopes are vast - I wouldn't bother. Keyboard sustain will be my next move (easy) but I'm not sure it would be that hard to read a real keyboard. Let's find out how to read USB input - nice for all sorts of fun hardware experiments (have you got your strawberry pie yet? ;-) - Dan -------------- Sent from my iPhone On Mar 12, 2012, at 4:31 AM, Bert Freudenberg <[email protected]> wrote: > Very nice indeed! > > The PluckedSound, at least, sounds better than its Squeak predecessor now. I > guess we should port back your improvements :) I tried commenting out the > Squeak primitive code, and found that with current CPU speeds, it is not > needed anymore. On my machine the synthesis, even if interpreted, uses only > about 1 % of CPU time per voice. > > One feature missing from the Lively keyboard (that the Squeak one had) is > sustaining a note as long as a key is pressed. And loading MIDI files can't > be that far off, right? Only attaching an actual keyboard might proof > impractical ... > > - Bert - > > On 11.03.2012, at 10:53, Jens Lincke wrote: > >> wow, this is very clear sound now, nice :-) >> >> Am 11.03.2012 um 03:52 schrieb Dan Ingalls: >> >>> Hi all - >>> >>> For anyone interested, I finally got a chance to finish most of what I >>> wanted to do. FM synthesis now works - there's a brass-like and >>> clarinet-like patch to try. Also I added a line of interpolation to banish >>> the noise in PluckedSounds - they're really nice now. I also refactored >>> everything so that Envelopes are free of streaming state and thus can be >>> shared among notes. >>> >>> Should work in Chrome and Firefox browsers, and even in Safari with the >>> Flash lashup. >>> >>> >>> http://lively-kernel.org/repository/webwerkstatt/users/Dan/SoundTest2.xhtml >>> >>> Enjoy >>> >>> - Dan >>> > > > > _______________________________________________ > lively-kernel mailing list > [email protected] > http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
_______________________________________________ lively-kernel mailing list [email protected] http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
