Hi ~
I'm an android starter
I used MediaRecorder and MediaPlayer to record voice via mic before
This time,I try AudioRecord and AudioTrack to record voice
But when I launch the program, it's forced to be shut down
I've no idea where is wrong?
here are my code ~
Could you tell me why?
TKS in advanc
Jeff
I did some benchmarking first. I have versions of my algorithms in
both C++ and Java. I sample at 22KHz for 12 seconds and perform an
SFTF on 2048 sample frames with a 75% overlap in order to transcribe
what the user has played on their instrument. I do some other stuff on
the spectrum to fig
I'm curious, you do a copy with C++; did you do this because you
assumed/thought you needed the extra speed boost? I.e., not because
you're then going to use a bunch of other (already written ;-) C++ to
process the data). If the answer is YES -- "for speed," did you do
any benchmarking to see if
I solved it I am pleased to report and my app now works on all Android
phones Nexus One's LG's, HTC etc:
At last I can answer a question on this forum instead of just posting
them :-) The solution it seems is to request chunks of data from the
record device of size minBufferSize which you get usin
I too am experiencing the same exact problem. I'm using AudioRecord
and my app works fine on my Nexus, Behold II, Cliq XT, Droid and Droid
X.
LG Ally users (and Samsung Moment users) are reporting crashes. I'm
locked in at 8khz sample rate. It would be useful to have a logcat
from an LG Ally to
I am having a similar problem with one of my apps. On all other
phones I am able to record using MediaRecorder, but on the LG Ally
users are reporting crashes.
Did you solve this issue?
On Aug 2, 10:56 am, skooter500 wrote:
> Giampaolo
>
> Thanks for yoru reply, but that's definitely not the pr
Giampaolo
Thanks for yoru reply, but that's definitely not the problem. In fact
what you suggest is what I already do. doInBackground is only called
once and System.gc gets called once before the recording starts. The
call audioRecord.read blocks until the appropriate number of bytes is
read. Ive
7 matches
Mail list logo