android


Android get sound recording volume


im trying to find a simple way to record audio to analyse it for its amplitude (volume) - nothing else. MediaRecorder.getMaxAmplitude() always returns 0 on my smartphone (Android 2.3.6, Galaxy S1 Plus), which is the case for many ppl (found a lot of references on stackoverflow). Funny thing is, it records the audio properly into a file with my voice on it...doenst make sense. On another smartphone (Galaxy S3 mini) the same code is working so it cant be a programming error...
I also tried the musicg library, but not even the whistle demo of that library is detecting anything...
Next thing i've tried was recording with AudioRecord class. Well, i get a stream of data then, but i got no idea what to do with that numbers - i dont see a way to get the volume out of that...
As already said, i only need the volume of the sounds in my surroundings. Thanks in advance for your suggestions.

Related Links

Hardware Acceleration not enabled for Dialog
Debug JS Remotely on react-native Android would hang the device
Hide opened menu after orientation change android
Link build.gradle file with android project
dose not get header info at server. i used retrofit 1.9.0 and the method for putting header is
Chrome mobile, Navigation is blocked when redirecting to SMS
Pass position in ListView to child RecyclerView Adapter
New project MainActivity Errors
How to Refresh Android Listview with new value only
Android in app billing error Class not found when unmarshalling
Buttons inside fragments tabs
POST body for sending a new messages with the Microsoft BotConnector
Google Map V2 Android and iOS place latlng decimal places
android running service starts app autmatically
Does deprecated methods are executed by the lastest API?
How to Hide / disable Power Button Options on Key Long Press

Categories

HOME
facebook-oauth
wakanda
webdriver
rdbms
3d
oracle-apex-5
trac
syntaxnet
project
github-enterprise
xcodebuild
nancy
plink
magnetic-cards
mongodb-csharp
capistrano3
sse
exit
comparator
jboss6.x
slidetoggle
ms-access-web-app
progress-bar
apktool
iis-express
google-cast
left-join
biztalk-rule-engine
openwhisk
indy10
pdw-file-browser
reactivekit
nohup
protein-database
password-protection
bc
ods
hackintosh
vmware-fusion
levenshtein-distance
portforwarding
congestion-control
avcapturedevice
android-exoplayer
monkey-testing
x++
clarifai
lightning
opengl-4
gpg-signature
universal-analytics
rsa-archer-grc
pocketsphinx-android
testrail
cudd
watch-os-2
windows-azure-queues
beamer
upx
cortex-m
jaunt-api
directdraw
concurrentmodification
avisynth
graphics2d
matlab-deployment
android-broadcast
procedural-programming
ejb-2.x
rapidsvn
post-commit-hook
jama
jqmodal
ignite-ui
verold
vsx
multitasking
openargs
scringo
joomla-template
video-codecs
onload-event
virtual-pc
fsevents
google-floodlight
timthumb
codebase
spread
echo3
filesystemobject

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App