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

setting contact number to edittext in android
When are SharedPreferences deleted?
What is the context in Async task
clear missed calls and clear notification from android bar
whole viewgroup to bitmap
Corona will generate native code?
Android GCM SSLException
there is any way to save my shared preferences data into sqlite database in android
Notification in android add two notification
Android: nine-patch is centered on one device, but moves somewhat to the right on another
Android: is it possible to remove a system-managed notification programmatically?
How to use saved instance state and restore instance state?
Creating and distributing jar files in Android
android - list adapter problems
android make a listview un-scrollable
android - how can I get time in sleep

Categories

HOME
turing-machines
amp-html
depth
solver
devise
pclxl
knitr
r-googlesheets
tail
iis-6
syntaxnet
little-proxy
owin
windows-ce
activecollab
x-cart
openbugs
stellar.js
favicon
xmonad
mapstruct
sse
oledb
imagemap
backpack-for-laravel
aggregation
zxing
monit
highstock
direct3d11
draft-js-plugins
syntax-highlighting
nstimer
datastax-enterprise-graph
failover
calculation
hard-drive
login-script
contacts
sharepoint-workflow
latitude-longitude
reactivekit
modernizr
password-protection
apns-php
metawidget
postgresql-8.4
linqpad
contract
apache-directory
yii2-api
semantic-logging
context-sensitive-grammar
modelsim
android-testing
git-flow
template-toolkit
meteor-packages
stax
microstation
spring-cloud-feign
dup
cifilter
refinerycms
kango-framework
blitline
dock
rpart
uncompress
pyobjc
git-ftp
primitive-types
pseudo-class
easyrtc
punycode
cbind
tweenlite
ignite-ui
tinyxml
android-framework
getopt
embedded-fonts
ebay-lms
mvc-editor-templates
kaleidoscope
node-blade
qtconcurrent
josql
window-decoration
koken
wiimote
google-maps-mobile
saxparseexception
luajava
ie-compatibility-mode
zen
wysiwym

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