arduino-audio-tools
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Q1_14.h File Reference
#include <stdint.h>
#include "AudioTools/CoreAudio/AudioBasic/int24_t.h"

Go to the source code of this file.

Classes

class  q1_14_t
 Fixed-point Q1.14 number: a plain 16-bit signed integer holding 1 integer bit and 14 fractional bits (value = raw / 16384.0). Covers the range [-2.0, 1.99993896484375] with a resolution of ~6.1e-5, using only integer add/sub/mul/div – no hardware floating-point instructions. More...
 

Namespaces

namespace  audio_tools
 Generic Implementation of sound input and output for desktop environments using portaudio.
 

Functions

bool operator!= (float a, q1_14_t b)
 
q1_14_t operator* (float a, q1_14_t b)
 
q1_14_t operator+ (float a, q1_14_t b)
 
q1_14_t operator- (float a, q1_14_t b)
 
q1_14_t operator/ (float a, q1_14_t b)
 
bool operator< (float a, q1_14_t b)
 
bool operator<= (float a, q1_14_t b)
 
bool operator== (float a, q1_14_t b)
 
bool operator> (float a, q1_14_t b)
 
bool operator>= (float a, q1_14_t b)