Coder Social home page Coder Social logo

splmeter's People

Watchers

James Cloos avatar

splmeter's Issues

the SPL value was not showed when restart the splmeter

What steps will reproduce the problem?
1. execute the splmeter,and see the spl value(dB) was showed on screen.
2. exit splmeter
3. start splmeter again,but nothing was showed on screen

What is the expected output? What do you see instead?
if i restart the splmeter app,i should see the spl value.
But it didn't show it. 

What version of the product are you using? On what operating system?
splmeter 2.0 on HTC HERO

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 8:41

Perhaps wrong Pref value defined

According to Wikipedia[1] sound pressure in air (Pref) is 20 µPa = 0.00002 Pa, 
but in code other constant is used:

private static final double P0 = 0.000002;


[1] http://en.wikipedia.org/wiki/Sound_pressure#Sound_pressure_level


Original issue reported on code.google.com by [email protected] on 9 May 2011 at 4:18

A Little Question for Show spl value

sometimes when i executed the splmeter,
the spl value will be not showing on the screen,
even exit the application,too

but sometimes execution correctly.


thanks!

Original issue reported on code.google.com by [email protected] on 6 Mar 2010 at 12:48

Pliz

 java.lang.NumberFormatException: -Infinity

please help



Original issue reported on code.google.com by [email protected] on 17 Jul 2012 at 2:42

Slow mode not working

What steps will reproduce the problem?
1. Selecting slow mode does not seem to work
2.
3.

What is the expected output? What do you see instead?
No change in the response time


What version of the product are you using? On what operating system?
SPL V2.8, Droid2, System v2.3.20.A955, Android v2.2


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Nov 2010 at 9:49

Source code suggestions

This is more of a solution than a bug report. Apologies for not sending a 
proper patch file.

This code base worked for me on my HTC Dream and Magic, but doesn't work 
properly in the emulators (lots of error logs), and doesn't report any audio at 
all for the nexus one.

This is using SVN checkout revision 32.

There are three main problems:
 1) The buffer size is too small (BUFFSIZE on line 48 of splEngine.java)
 2) A magic "8000" is passed into the AudioRecord constructor (line 350-351 of splEngine.java) where the buffer size should be used.
 3) The frequency should be 44100 for better accuracy (FREQUENCY on line 43 of splEngine.java)


1 - I'm not sure why this code works on the Dream and Magic, but it technically 
shouldn't. The buffer size of 320 is smaller than the required 4096 for those 
devices. It's also smaller than the value required by the emulators and the 
nexus one (640 and 8192 respectfully). This is solved by making the buffer size 
equal to:
AudioRecord.getMinBufferSize(FREQUENCY, CHANNEL, ENCODING);

2 - that 8000 should be the buffer size. This is why you don't get any audio 
information on the Nexus one. It requires at least 8192 for the buffer size, 
and the magic 8000 prevents the AudioRecord instance from being created 
properly.

3 - I'm guessing the reason you used the small buffer was to get more frequent 
polling. With a buffer size of 8192 and a frequency of 8000, you'd have more 
than a second delay in your audio processing. This can be rectified by changing 
the frequency to 44100 (which is also one of the values suggested by Google). 
There will still be a tiny delay, but it should be more than good enough.

I discovered these while writing a small audio capture test application that I 
based on your code. After these three modifications, my application ran on all 
devices I could throw it at without errors (Dream, Magic, Nexus one, and every 
emulator currently available in the SDK). It also updates faster and seems to 
give more accurate results.

Cheers, hope this helps

Original issue reported on code.google.com by [email protected] on 16 Jun 2010 at 4:37

Calibration not saved between uses.

What steps will reproduce the problem?
1. Open Application
2. Go through calibration procedure
3. Exit Applicaiton
4. Start Application again

What is the expected output? What do you see instead?
I expect to see the same level I just calibrated.  Instead I see the
uncalibrated levels. 


What version of the product are you using? On what operating system?

SPL Meter Full Version 2.2  On Nexus One Android 2.1


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Mar 2010 at 10:55

Forces close on start of the program

What steps will reproduce the problem?
1. Install from market (android 1.5, tmobile pulse)
2. Run application
3. It forces close

What is the expected output? What do you see instead?
Working application

What version of the product are you using? On what operating system?
whatever version is on market

Original issue reported on code.google.com by [email protected] on 3 Apr 2010 at 1:10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.