[Laszlo-user] How to do a vumeter / Activity meter from a Sound() object or best: directly from a mediastream

Pierre Augier pierre.augier at inrialpes.fr
Wed Aug 1 02:02:32 PDT 2007


Hi All !!

I 'm looking to do a vumeter or a activity meter (talking / not talking) 
for each mediastream OR global sound in a videoconference application 
(moreover, it could be a new interresting feature for mediastream, very 
usefull for conference application ... please support the OL A/V 
extension :-) )

For the moment, i've found 2 things, but unusable for me:

** an example in ActionScript 3 with computeSpectrum() (very nice but OL 
doesn't work with AS3 ...)

http://jeanphiblog.media-box.net/dotclear/index.php?2006/07/01/216-as3-soundmixercomputespectrum


** an exemple with swiftMP3, but this generate a spectrum file, so it's 
not possible with "live" stream

http://www.swift-tools.net/


....

I'm looking for something very simple,

the best would be to have a level for each mediastream BUT a global 
sound level would be great, and at least ... an activity level :-)

for the moment i've got a globalSound object, at the root of the App 
(canvas), that takes all the "sub" sounds

<script>
    globalSound = new Sound();
</script>
   
it permits me to mute/unmute the app ... is it dirty ???
I would like at least to catch this sound level to do the vumeter ....


regards, and thanks for help by advance

Pierre Augier


More information about the Laszlo-user mailing list