Questions tagged [sample-rate]
157 questions
0
votes
1 answer
“Read Analog Voltage” sample rate
I want to make sure my code looks like working, since I don't have a lot of time with a signal generator tomorrow and I want to know how to set the sample rate.
I want to sample a 2kHz signal with a samplerate of 6kHz with a Arduino MEGA 2560.
It,…

AprilDC
- 11
- 4
0
votes
1 answer
"Read Analog Voltage" sample rate
In this arduino example:
ReadAnalogVoltage
What would the samplerate be if I run it on a MEGA 2560?
And what should I do to set the samplerate to 6kHz?
Thank you.

AprilDC
- 11
- 4
0
votes
1 answer
wav inconsistent number of samples when using avconv
I need to produce a number of consistent music samples.
Having 1 second long wave with sample rate 44100, I should be able to get an array of exactly 44100 samples. Unfortunatelly, this is not true.
My approach is the following:
1) Produce…

user2590425
- 11
- 1
0
votes
1 answer
What is the meaning of this error message in Simulink?
Upon execution of a Simulink model, I received following error:
The sample time propagated to
'[...]/Discrete-Time Integrator' is not discrete
but [0, 1]. Specify a discrete sample time in the source of the
incoming signal.
Where can I find…

Karlo
- 1,630
- 4
- 33
- 57
0
votes
0 answers
Windows laptop sound out supports *only* 48K sample rate?
I'm trying to help a student switch his HP Windows-10 Laptop to a 44.1K playback sample rate, so he can run my software. Unlike every Windows machine I've seen before, the Sound>Device>Advanced (sp?) panel shows only a 48K playback rate. No 44.1K…

John Clements
- 16,895
- 3
- 37
- 52
0
votes
0 answers
Android development sound playing
I'm using LibGDX, but I read in other places that this problem is in Android development in general and not only in LibGDX.
I'm making a game and I want to play sounds in it. I have AssetManager which loads the sounds and I made a class which has…

Gad Wissberg
- 455
- 1
- 6
- 19
0
votes
2 answers
Record audio at 48Khz Flash
I'm trying to record audio with a sample rate of 48Khz. I before tried using HTML5's AudioContext but this only outputted 41Khz.
Is there a way (using Flash) to record audio at 48Khz?

f.lorenzo
- 1,146
- 2
- 11
- 24
0
votes
1 answer
MongoDB Aggregation Framework sample rate
I want to try MongoDB for my database solution, so I'm playing around with it. The Aggregation Framework is perfect and most of the documentation explains me very well what I have to do.
My data look like this:
{ "_id" : …

marijnz0r
- 934
- 10
- 23
0
votes
1 answer
Does gyroscope accuracy correlate with sensor delay in Android?
I need very accurate rotation measurements of the gyroscope with at least a sampling rate of 50Hz (the more the better).
This is why I want to know if changing the sample rate of the gyroscope increases/decreases the accuracy of the measurements.…

Jonas W
- 85
- 8
0
votes
2 answers
How to set the bit depth of .wav file through Windows API? (C#)
I'm recording sound from my Microphone, using the mciSendString() API function. My code is very similar to the code which is written in this link: http://blog.hansentech.com/mhblog_2011_02_26.html
Unfortunately, when I'm listening to the output…

Aviv
- 456
- 1
- 7
- 16
0
votes
2 answers
Fade out function of audio between samplerate changes
I'm trying to create a simple function that will decrease audio volume in a buffer (like a fade out) each iteration through the buffer. Here's my simple function.
double iterationSum = 1.0;
double iteration(double sample)
{
iterationSum *= 0.9;
…

Magnus
- 379
- 1
- 15
0
votes
1 answer
Checking device's supported PCM sample rates
I'd like to check whether device supports particular sample rate.
I've tried the following (which should work according http://developer.android.com/reference/android/media/AudioRecord.html#getMinBufferSize(int, int, int) ) but doesn't (it never…

XorOrNor
- 8,868
- 12
- 48
- 81
0
votes
1 answer
sample rate not working
I have this line
manager.registerListener(sensorListener, manager.getDefaultSensor(Sensor.TYPE_PRESSURE), logTime);
where logTime = 300000000 microseconds = 5 minutes.
I am trying to log every 5 minutes but with this setup it logs every second or…

7heViking
- 7,137
- 11
- 50
- 94
0
votes
2 answers
how to divide sample rate frequency by 10 bands for equalization
How to divide sample rate frequency by 10 bands for equalization.
For example i have audio pcm with 44100 hz and 1 byte per sample. How can i understand which sample is related with specified band. And how to divide samples to bands.
Can you give me…

testCoder
- 7,155
- 13
- 56
- 75
0
votes
1 answer
Flex sound sampling rate
I have some high quality recorded sounds that I want to use within a flex application.
I tried to save the sounds at 22050 HZ and 64BIT Stereo with GoldWave , but the weird thing is that I get this error in FLEX : "unsupported sampling rate 32000HZ…

NVG
- 3,248
- 10
- 40
- 60