Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool microphone waveform data

    I'm trying to write an application using flex and actionscript where a user speaks into a microphone and as they speak into the microphone the waveform of the sound wave is dynamically displayed. I want the user to be able to see the waveform they are creating while they are creating it. If anyone knows how this might be possible, please let me know. I know about the microphone class in flash.media but it doesn't give you direct access to the waveform data. The soundmixer class can give you access to the waveform information using the computeSpectrum() method but only for sound coming from the server. I want everything to run on the client side because I want as little lag time between the user speech and displaying the waveform as possible.

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    I don't think Flash can do this, because this is a rather intensive process. Far as I know, it can't be done in Flash as of now.

    Perhaps you can record each second or two of sound into different clips, send them to the server to be processed and then display? It wouldn't be a smooth display, but you could make it work perhaps.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •