Official "simple Tuner" -Example- Not Working !

Hi there, I hope really one of CoronaLabs will read this now

I opened right now after long time the Simpler Tuner Demo from the Simulator “Welcome to Corona”

just to find out… “it is not working”… in detail… the Volume Detector is not working.

Always stuck to around a number of -14 or -21. Jumping and not useful

Is that just to me or can someone else reproduce that??

This is now since as long I am with Corona… and that is a few years.

Is it possible to make the GetTunerVolume API working or not after so long time???

Thanks and I hope you share your own experience with the 'SAMPLE CODE"

its called “Simple Tuner” and you find it in the Sample Codes /Media/Simple Tuner

  • I hope you SHARE your Experience - !!

xx Chris

@guruk 

I’ve had similar experiences with the sample code, specifically the audio functions for quite a while…  I did TONS of research on it, found many similar comments in the forums, but couldn’t never find any code that worked as described.

I had a few projects in glider stashed away called ‘dbmeter’ ‘dbmeter2’ ‘tuner’ and none of them ever seemed to work… until i tried them today…  :) 

Looking at my old code, and some other examples, I put together a sample that runs in the OSX simulator and shows the frequency and volume  in text, and has a rect move up as volume increases.

http://pastebin.com/ph9126DP

I used Audacity to create a 440 Hz tone, and then did a crossfade in, to get the volume to raise.

Video:

http://www.youtube.com/watch?v=wxgsC73TY6k&feature=youtu.be

Hi, thanks

i watched your video and even tested your code

seems

  1. while absolut silence it goes to -170  

  2. small noise appears it jumps immediatly to -30

  3. from there it does not really fine measure the volume at all

    while screaming it may go to -25 but thats it.

you cant hardly see by result if someone speak into the mic or not (or if its just a bit background noise)

—>> HELLO CORONA… will this every be solved? Come one guys… its now a 2 YEARS  old Topic.

xx

@guruk 

I’ve had similar experiences with the sample code, specifically the audio functions for quite a while…  I did TONS of research on it, found many similar comments in the forums, but couldn’t never find any code that worked as described.

I had a few projects in glider stashed away called ‘dbmeter’ ‘dbmeter2’ ‘tuner’ and none of them ever seemed to work… until i tried them today…  :) 

Looking at my old code, and some other examples, I put together a sample that runs in the OSX simulator and shows the frequency and volume  in text, and has a rect move up as volume increases.

http://pastebin.com/ph9126DP

I used Audacity to create a 440 Hz tone, and then did a crossfade in, to get the volume to raise.

Video:

http://www.youtube.com/watch?v=wxgsC73TY6k&feature=youtu.be

Hi, thanks

i watched your video and even tested your code

seems

  1. while absolut silence it goes to -170  

  2. small noise appears it jumps immediatly to -30

  3. from there it does not really fine measure the volume at all

    while screaming it may go to -25 but thats it.

you cant hardly see by result if someone speak into the mic or not (or if its just a bit background noise)

—>> HELLO CORONA… will this every be solved? Come one guys… its now a 2 YEARS  old Topic.

xx

I would like to know how to get the tuner to respond too.

In the docs it says to give a small delay before startRecording(), and to start the tuner BEFORE startrecording.

I would like to know how to get the tuner to respond too.

In the docs it says to give a small delay before startRecording(), and to start the tuner BEFORE startrecording.