Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bitdepth]

The tag has no usage guidance.

0
votes
1answer
34 views

What exactly mean X bit depth?

I am not sure if I understand meaning of “bit depth” in audio. As I see in many audio applications the audio sample values (when not distorted) are between ...
0
votes
1answer
29 views

THD requirement for generated sine

I need to generate a sine signal using a DAC with a certain THD specification, say 0.1% @ 1KHz. As a first approach I’m considering it to be an ideal DAC along with an ideal LPF for aliasing removal ...
0
votes
2answers
46 views

Audio Bit Depth “mapping” from DAW to Audio card: is this correct?

Let say I'm generating a 1 kHz sine wave within my DAW, using some synth (Sytrus in my case). I normalize it, so it play at max "digital" amplitude 0db. Thus, any sample of the signal would gets a ...
-1
votes
2answers
326 views

Amplitude ranges for different bit-depths

In Python, I am using the library Soundfile (which uses the library libsndfile) for digital sound processing. I am working with different sound files coming from different internet databases, and ...
0
votes
1answer
35 views

How many bytes would I require to store few seconds of fan controller PWM signal?

How many bytes would I require to store few seconds of fan controller PWM signal? Such PWM is typically around 25Hz, so I think I need to sample it at 50Hz, right? But what about the bit depth? ...
1
vote
1answer
137 views

unsigned audio formats, does DC offset matter?

I'm a little confused about DC offset in audio files. If I have a signal that's not using the entire dynamic range, does the DC offset matter at all, or does it need to be centered around some zero ...
1
vote
1answer
637 views

How to properly match bit growth of a FIR filter with a reference value

I am trying to implement a chain of CIC/FIR filters on an ZYNQ FPGA. Using the Xilinx FIR compiler works fine so far but I am unable to properly get all the math. At the moment I have 2 chains of ...
0
votes
1answer
1k views

Convert 16-bit wav file to 12-bit raw audio file

I want to convert a 16-bit wav file to 12 bit raw audio samples (to simulate the output of an ADC). I'm trying to run ...
0
votes
2answers
159 views

How to Reverse Color Quantization?

Are there any algorithms that attempt to perform the inverse of color quantization on an image? In other words, is there a smart way to increase the bit depth of image? The obvious answer would be to ...
0
votes
0answers
83 views

Bit Scaling Audio Streams

I posted this in stackoverflow but a poster suggested I ask the question here too... Basically, I'm getting a USB audio stream in the form of a unsigned 8-bit integer pointer. I want to convert ...
0
votes
3answers
115 views

Is a real Grayscale image always 8 bit per pixel indexed?

I tested several Grayscale images downloaded from the Internet. Some of them are 8bpp indexed while others are 24bpp (true colored). Looks like different Grayscale images have different depths. For ...
1
vote
2answers
574 views

Inter-filter bit width

I'm designing a $2$-stage filter and was simulating the effect of quantization to a certain number of bits at the filter output. The result I got was far from expected - and would appreciate any ...
0
votes
1answer
958 views

16 bit PCM Audio Sounds Like Bit Crushing

I'm developing an Android app which uses USB soundcard for input and output. The audio processes are in the native (C++) side. The device's bit resolution is 16. I get the audio stream from the ...
2
votes
1answer
264 views

Sound quality with really high sampling rate, but really low bit depth with dithering?

This question is probably more for fun and theory, but how will the sound quality be, if you create a sound with really high sampling rate (like 192kHz) and really low bit depth (e.g. 3bit)? Can you ...