Weekend Gift Myvoix2.0.js Mike Storm shape Drawing (I.)

Source: Internet
Author: User

Recently updated the previously released speech recognition framework Myvoix, adding a microphone waveform analysis effect. have not seen Myvoix introduction of classmates please poke (portal) GitHub address

 In the new update, waveform analysis can be tied to a microphone source, or it can be used separately with other sources. First, take a look at the code for waveform drawing of the microphone.

<! DOCTYPE html>

  

As you can see, you only need a canvas, then you can draw the waveform by calling the Createsoundwave method, the effect is as follows.

Of course, you need to use the Chrome browser and allow the Web to use your microphone. One line of code draws out the waveform of the microphone, and has speech recognition, is not very cool. After the post I will analyze the source code, I wish you a pleasant weekend.

forwarding Please indicate the source: http://www.cnblogs.com/arthus/p/ 3884442.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.