Category : wav

I am developing an audio recorder in Android using JAVA by an in-built MediaRecorder object. I need to record audio clips in .wav format. But there is no way of using standard properties coming with the MediaRecorder object. I’m currently using these customize properties to generate a .wav file. mediaRecorder.setOutputFormat(AudioFormat.ENCODING_PCM_16BIT); mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); mediaRecorder.setAudioChannels(1); mediaRecorder.setAudioEncodingBitRate(128000); mediaRecorder.setAudioSamplingRate(48000); But ..

Read more

I’m running a Machine Learning model on a server that works with WAV files. Can I send WAV files stored in mobile phone through HTTP requests with Android Studio, in WAV form? So far I’m making (get) requests using retrofit2 like this: MainActivity.java: private void getbuttonclicked() { Call call = RequestManager.INSTANCE.getService().getChords(); call.enqueue((Callback)(new Callback() {public void ..

Read more