[lively-kernel] More Sounds
Bert Freudenberg
bert at freudenbergs.de
Mon Mar 12 12:31:12 CET 2012
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
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hpi.uni-potsdam.de/archive/lively-kernel/attachments/20120312/c577d3f2/attachment.html>
More information about the lively-kernel
mailing list