[android-developers] Anti-aliasing filter on AudioRecord?

2010-12-11 Thread TheSeeker
I have been thinking if when i use the funcion AudioRecord at 8KHz by sample I have aliasing? To avoid the effect of aliasing normally i should put a low pass filter to eliminate frecuencies above 4KHz So i have this filter for default? -- You received this message because you are subscribed to t

[android-developers] Re: How to send a string to server

2010-10-01 Thread TheSeeker
r Bibekhttp://techdroid.kbeanie.com > > On Sep 23, 10:44 pm, Paweł Zięba wrote: > > > Do you really need a such big array allocated in memory? > > Maybe you want to save it to file or database? > > If so, you don't need to create the huge array. > > Just try

[android-developers] Re: how to send data to server while recording

2010-09-23 Thread TheSeeker
I have had a lot of problems to send data(a string of length 250 000) to a server using java. I have probe a lot of things: 1. send byte by byte i send 40Mbytes instead of 1Mbyte of data to server(because i use a cicle "for()"and TCP/IP header add 40bytes and data is 1byte) int ncc = 250 000 for(in

[android-developers] Re: How to send a string to server

2010-09-23 Thread TheSeeker
a better approach. > > > > On Thu, Sep 9, 2010 at 9:41 PM, TheSeeker wrote: > > yes, i had a mismach, thanks. But i still have the same problem with > > time(1 min ) and GC. Create 2 or more array instead of the big one > > will solve the problem with time? &

[android-developers] Re: How to send a string to server

2010-09-09 Thread TheSeeker
yes, i had a mismach, thanks. But i still have the same problem with time(1 min ) and GC. Create 2 or more array instead of the big one will solve the problem with time? On Sep 8, 5:47 pm, Frank Weiss wrote: > Looks bad, very bad. > > First, I have no idea why you're allocating 1.8 MB (remember t

[android-developers] Re: How to send a string to server

2010-09-08 Thread TheSeeker
I did it, but now i have a problem with garbage collector on android (GC freed) and the time spend it on send a big string(array of char) to a server Here code snippet xm1,xm2a,xm2b,xm4,xm5,xm6 are String of Java, array is an array of char huge char[] array = new char[90]

[android-developers] Re: microphone, filters of voice in Android

2010-09-08 Thread TheSeeker
I am looking for in source code but it too much info. On Aug 29, 9:06 pm, TheSeeker wrote: > I would like to known information about the filters that are used when > the voice is recorded before to take samples of audio. I am interested > how android take the voice and converted into

[android-developers] How to send a string to server

2010-09-01 Thread TheSeeker
Hi I am trying to send a string to server, i would like to know how many alternatives i have. Actually i am using a socket but i don't know if there is a better option. The string is big(lenght about 192000 , yes too much 192000), i think is a little is stupid try to do this, but the server works w

[android-developers] microphone, filters of voice in Android

2010-09-01 Thread TheSeeker
I would like to known information about the filters that are used when the voice is recorded before to take samples of audio. I am interested how android take the voice and converted into a lot of bit (PCM codification?) and in the mathematics that are behind. -- You received this message because