Extension. Get Level sound microphone.

171 views
Skip to first unread message

Juan Antonio

unread,
Sep 8, 2018, 8:55:54 AM9/8/18
to MIT App Inventor Forum
Hello friends,

in this post I wrote about JavaScript, FFT and levels in sound files:

Now, this is an extension to Get Level microphone.

sonido11.png

1.- Extension is com.KIO4_VUmeter

2.- If you use this extension to emulation in MIT Companion or Build App set block StartForCompanion
3.- If you use this extension to Build App for Google Play set block StartForGooglePlay


4.- You can get level sound in mic from 0 to 32768.

5.- I cann't upload the extension to this forum, you can download it from ...


Regards,
Juan Antonio Villalpando.


Massimo Antonini

unread,
Sep 16, 2018, 3:31:44 AM9/16/18
to MIT App Inventor Forum
Hi
is there a relationship between the levels of the microphone and the db unit?
Best regards
Massimo

Massimo Antonini

unread,
Sep 16, 2018, 3:31:48 AM9/16/18
to MIT App Inventor Forum

Juan Antonio

unread,
Sep 16, 2018, 11:01:09 AM9/16/18
to MIT App Inventor Forum
You can get level sound in mic from 0 to 32768.

You have to calibrate each device (mic) individually.

amplitudeDb = 20 * Math.log10((amplitud) / 32768); 

Massimo Antonini

unread,
Sep 17, 2018, 8:04:55 AM9/17/18
to MIT App Inventor Forum
thank you, you're so kind
Reply all
Reply to author
Forward
0 new messages