audio-recording

audio recognition and comparison [closed]

吃可爱长大的小学妹 提交于 2020-01-21 11:38:26
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I am working on a group project. We are looking to develop a program that can receive audio and compare it to a saved audio file and output a audio message if the input and saved files match. We would like to compare audio files with some sort of python method, but we haven't been

iOS: increase volume of recorded audio

与世无争的帅哥 提交于 2020-01-16 19:36:31
问题 Is it possible to process the audio and increase its base volume? Please do not suggest to increase .volume property. I am looking for way to increase volume of already recorded audio programmatically and save that audio with big volume level. I am recording from speaker. 回答1: There are a couple ways of doing this. Normalization and Compression are the two that come to mind. See the links for better explanations. Audio Normalization - calculate the current loudest sample in the file, and then

iOS: increase volume of recorded audio

扶醉桌前 提交于 2020-01-16 19:36:29
问题 Is it possible to process the audio and increase its base volume? Please do not suggest to increase .volume property. I am looking for way to increase volume of already recorded audio programmatically and save that audio with big volume level. I am recording from speaker. 回答1: There are a couple ways of doing this. Normalization and Compression are the two that come to mind. See the links for better explanations. Audio Normalization - calculate the current loudest sample in the file, and then

Tinyalsa/ALSA for Android adjustment. arecord records only noise or nothing

限于喜欢 提交于 2020-01-16 16:42:35
问题 I've installed Alsamixer from Google Play. Gadget is Samsung Galaxy S3. It has one soundcard (indexed as 0), and 4 devices (0-3). The device list (from /proc/asound/devices ) is the following: 0: [ 0] : control 16: [ 0- 0]: digital audio playback 17: [ 0- 1]: digital audio playback 18: [ 0- 2]: digital audio playback 19: [ 0- 3]: digital audio playback 24: [ 0- 0]: digital audio capture 25: [ 0- 1]: digital audio capture 26: [ 0- 2]: digital audio capture 27: [ 0- 3]: digital audio capture 33

sound record tickling / ticks / noises / spikes

三世轮回 提交于 2020-01-16 12:02:40
问题 I successfully record sound on an Android 2.3.4 device (full settings are: AudioSource.MIC + 44100Hz + AudioFormat.CHANNEL_IN_MONO + AudioFormat.ENCODING_PCM_16BIT ). I also properly write the PCM data to a WAV file. The problem is that there are those noises which makes the recording terrible. The attached file shows exactly what I mean . Notice the obvious spikes. I have tested the same recording (the music in the attached file) with some sound recording apps on the market, and they record

multiple AVAudioRecorder instances

感情迁移 提交于 2020-01-13 13:08:45
问题 i'm working on an app that records sound. furthermore, i want the user to be able to comment certain situations with his own voice. i thought it would be sufficient to configure one audio session and just create two AVAudioRecorder instances with different file URLs. but that doesn't work, the second audio recorder does create its audio file, but it doesn't record any sound. does anyone know how to realize two AVAudioRecorder instances that actually work on one device? recording with only one

record voice for a specific time period in android

≯℡__Kan透↙ 提交于 2020-01-13 05:15:08
问题 I have two buttons, one for start recording and another for stop recording. i got success in recording sound and storing in sdcard: now what i want is if i press stop button before 15 sec i should remain as it is, but if recording time going more then 15 sec it should automatically stop recording and store recorded file in sd card: my code for recording sound is here : ** public void startRecording(View view) throws IOException { startButton.setEnabled(false); stopButton.setEnabled(true);

How to record audio from Audio Element using javascript

六月ゝ 毕业季﹏ 提交于 2020-01-13 05:12:27
问题 I am making an audio recorder using HTML5 and Javascript and do not want to include any third party API, I reached at my first step by creating an audio retriever and player using <audio> tag and navigator.webkitGetUserMedia Function which get audio from my microphone and play in through <audio> element but I am not able to get the audio data in an array at this point I don't know what to do which function to use. 回答1: simple just create a audio node, below is tweaked code from MattDiamond's

Problems with MediaRecorder class setting audio source - setAudioSource() - unsupported parameter

放肆的年华 提交于 2020-01-12 08:31:08
问题 I'm new in Android development and I have the next question/problem. I'm playing around with the MediaRecorder class to record just audio from the microphone. I'm following the steps indicated in the official site: http://developer.android.com/reference/android/media/MediaRecorder.html So I have a method that initializes and configure the MediaRecorder object in order to start recording. Here you have the code: this.mr = new MediaRecorder(); this.mr.setAudioSource(MediaRecorder.AudioSource

how to save the recorded audio files in another folder programmatically?

泄露秘密 提交于 2020-01-11 09:55:07
问题 i'm trying to save the recorded audio files in a folder that i wanted it to be rather then the default folder. but somehow i failed to do so. my code: Intent recordIntent = new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION); Uri mUri = Uri.fromFile(new File(Environment.getExternalStorageDirectory(), "/Record/sound_"+ String.valueOf(System.currentTimeMillis()) + ".amr")); recordIntent.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, mUri); startActivityForResult(recordIntent, RESULT_OK);