Questions tagged [sample-rate]
157 questions
1
vote
1 answer
Matlab, fdesign, sample rate
I am using the function fdesign.lowpass in Matlab, on a signal that is sampled at 8kHz. I am making a filter for a speech signal and want to filter out gaussian noise, i have found the fundamental freq. to be around 343Hz with FFT.
So I am using the…

AprilDC
- 11
- 4
1
vote
2 answers
iOS: Changing sample rate dynamically in Audio Unit
Is it possible to change/set sample rate in the middle of a running AudioSession/AudioUnit without stopping/restarting the current AudioSession/AudioUnit (Just like audio route) ?
I have an active audio session whose sample rate is 44.1…

Partho Biswas
- 2,290
- 1
- 24
- 39
1
vote
2 answers
Can I record 24/48k audio using AudioRecord?
I am recording audio using AudioRecord. Currently I am using 44100 as sample rate and 16bit as AudioFormat.
Can I use 48000 as sample rate and 24bit as AudioFormat?
Below is the code with sample rate 44100 and audio format as 16bit.
int…

ravi
- 2,722
- 7
- 25
- 42
1
vote
1 answer
FFmpeg transcoded sound (AAC) stops after half video time
I have a strange problem in my C/C++ FFmpeg transcoder, which takes an input MP4 (varying input codecs) and produces and output MP4 (x264, baseline & AAC LC @44100 sample rate with libfdk_aac):
The resulting mp4 video has fine images (x264) and the…

TheSHEEEP
- 2,961
- 2
- 31
- 57
1
vote
1 answer
Audio Capture in windows phone 8 with external microphone
I can capture some audio in wp8.1 platform but the sample rate is very low: 16KHz.
I'm trying now to connect an external microphone via the 3.5mm jacket but it not responding so much.... Is there an way at all to change the sample rate ?

axcelenator
- 1,497
- 3
- 18
- 42
1
vote
1 answer
Illegal rate transition while trying to normalize signal in simulink
I have a signal in simulink which I want to normalize so that the highest value of the signal is always 1. So I use a MaxRunningResettable-Block to remember the highest value that passed so far. I then divide the signal by that value.
A little test…

Matthias La
- 275
- 1
- 13
1
vote
1 answer
Is there any way in Xcode to improve the audio playback quality?
I'm making a app that gives users a rich collection of natural sounds.
However the tracks are in 48khz and I need to reduce them to 38khz so that the size of the app could go down.I'll be using AVFoundation to play the audio.
Now I'm worrying that…

Prithiv Dev
- 86
- 10
1
vote
1 answer
Varispeed with Libsndfile, Libsamplerate and Portaudio in C
I'm working on an audio visualizer in C with OpenGL, Libsamplerate, portaudio, and libsndfile. I'm having difficulty using src_process correctly within my whole paradigm. My goal is to use src_process to achieve Vinyl Like varispeed in real time…

syyc8A3QierDK4G
- 15
- 3
1
vote
2 answers
web audio api changes sample rate when a working draft is released?
I trying to develop a simple guitar tuner based on harmonic detection using the web audio API and js.
https://github.com/lontafara/El-audio-en-la-web
I have always worked with a sample rate of 48000 Hz. Allowing me some resolution in the frequency…

user3575793
- 13
- 5
1
vote
1 answer
Why is the Property SampleRate in the WaveFormat Class in NAudio ReadOnly?
I try to change the sampleRate when using signalGenerator in NAudio. But is readOnly, is there a reason to it?
Can I overwrite it without trouble ?
public void MaakGeluid(int sampleRate) {
waveOut = new WaveOut();
…

herman
- 49
- 6
1
vote
2 answers
Match Two Sets of Measurement Data With Different Logging Start Times and End Times
Problem
I have two arrays (Xa and Xb) that contain measurements of the same physical signal, but they are taken at different sample rates. Lastly, physical logging of Xa data starts at a different time, than that of Xb. The logging of data also…

Danny G.
- 71
- 1
- 7
1
vote
1 answer
Upsampling audio from 44100 to 96000 Hz and linear interpolation
I'm trying to upsample 44100 Hz to 96000 Hz and I've tried this.
sum1 = mPastWavBuffer[(int)mOffset];
sum2 = mPastWavBuffer[(int)mOffset+1];
double sum = (sum1 + (sum2-sum1)) * (mOffset-(int)mOffset);
mOffset is a double value and contains the step…

Magnus
- 379
- 1
- 15
1
vote
0 answers
Unity cannot change sample rate of speaker in Mac OS X
I am developing a project in which some audio data need to be playback in Unity 4. The sample rate of input data is 24000 Hz (24kHz), and normally the default sample rate of speaker in system is 44100 (44.1kHz). In Windows, I can use…

user2098146
- 11
- 1
1
vote
1 answer
Error recording voice at16000 khz 16bit mono little endian wav file in android device
Possible Duplicate:
how to convert or record .wav file in 16khz 16bit mono little-endian?
I want to implement audio recording from an android device at 16000 khz 16bit mono little endian wav file.
I had implemented the logic in android like this.…

BhavikKama
- 8,566
- 12
- 94
- 164
1
vote
1 answer
Programmatically reduce the sample-rate of uploaded MP3 files
I have full control of my server, so I can install any plugins or whatever, but that software must be licensable for commercial use.
I want to create a "dulled" version (i.e. lower frequency and bit-rate) of the songs people upload, which will be…

Headchopperz
- 117
- 3
- 13