robsoles
b78a26f628
add a peak input measuring object
deadly simplistic peak difference measuring object, after begin() just
goes through samples and find the maximum and minimum signed values,
natural behavior of begin() is to reset the max and min, member uint16_t
Dpp() returns maximum difference seen and .stop() does what it says.
10 years ago
PaulStoffregen
183fcd95a9
Add MIT license
10 years ago
PaulStoffregen
e4cb836eea
Reorganize all header files
10 years ago
PaulStoffregen
2bb856fa95
Move input & output objects to their own files
10 years ago
PaulStoffregen
7b16c9dc0c
Fix compiler warnings
10 years ago
Pete (El Supremo)
28a58248d9
My own version of AudioSynthWaveform. Sine is generated with arm_sin_q15() (but is slower) and the other three waveforms are generated without using tables.
10 years ago
PaulStoffregen
3c31127761
Fix compiler warnings
10 years ago
Pete (El Supremo)
62698957fb
Add an audio sweep. User defined start and end frequencies and length of time of sweep.
10 years ago
Pete (El Supremo)
1d58a8e996
Correct storage class of some variables in FIR
10 years ago
robsoles
f6e459c3a1
Syncing changes to level & volume setting routines
I forgot to sync the changes relating to things like 'dac_vol_right(..)'
& 'dac_vol_left(..)' removed in favor of 'dac_vol(left,right)' instead;
applies to 'volume(..)', 'lo_lvl(..)' & 'dac_vol(..)'.
10 years ago
robsoles
fcf9987c16
Various corrections and addition of calcBiquad(..);
removed 'route(..)' due not easily supportable atm. Updated
'dap_enable(..)' in lieu of route. Fixed dap_audio_eq_band(..) bad use
of unsigned. Changed 'updateCoefs(..)' so default behavior is not reset
other three elements of state.
10 years ago
robsoles
f62bd8ef11
Some filter additions, some SGTL5000 additions
added AudioBiquadFilter::
public:
void updateCoefs(int *source, bool noReset);
void updateCoefs(int *source);
added AudioControlSGTL5000::
private:
unsigned int modify(unsigned int reg, unsigned int val, unsigned int
iMask);
public:
unsigned int micGain(unsigned int n) { return modify(0x002A, n&3, 3); }
unsigned short lo_lvl_right(uint8_t n);
unsigned short lo_lvl_left(uint8_t n);
unsigned short lo_lvl(uint8_t n);
unsigned short dac_vol_right(float n);
unsigned short dac_vol_left(float n);
unsigned short dac_vol(float n);
unsigned short dap_mix_enable(uint8_t n);
unsigned short dap_enable(uint8_t n);
unsigned short dap_peqs(uint8_t n);
unsigned short dap_audio_eq(uint8_t n);
unsigned short dap_audio_eq_band(uint8_t bandNum, float n);
void dap_audio_eq_geq(float bass, float mid_bass, float midrange, float
mid_treble, float treble);
void dap_audio_eq_tone(float bass, float treble);
void load_peq(uint8_t filterNum, int *filterParameters);
void route(uint8_t via_i2s, uint8_t via_dap);
10 years ago
Pete (El Supremo)
a27b78fc24
AudioSynthWaveform updated to add tone ramping when a tone starts and ends
PlayMidiTones example modified to work with ramping.
10 years ago
Pete (El Supremo)
0b64ca0e24
Add chorus and flange effects and an example sketch for each
10 years ago
Pete (El Supremo)
3e4d82e9c5
Removed extraneous comment lines
10 years ago
Pete (El Supremo)
3b1570c6ec
Added AudioFilterFIR which performs FIR filter
using user-supplied coefficients
10 years ago
PaulStoffregen
ba7c3d8080
Add AudioEffectFade object
11 years ago
PaulStoffregen
14e2019092
clean up old TODO comments
11 years ago
PaulStoffregen
e1e5a34c73
Fix update scheduling with AudioInputAnalog
11 years ago
PaulStoffregen
2a63896a70
Add AudioAnalyzeToneDetect
11 years ago
Michele Perla
7281ae2031
Add objects to use with Mikroe Audio Codec PROTO (AudioContolWM8731master, AudioInputI2Sslave, AudioOutpuI2Sslave), with example
11 years ago
PaulStoffregen
85609adbac
Add AudioFilterBiquad object
11 years ago
PaulStoffregen
67e7db35a6
Add AudioNoInterrupts() and AudioInterrupts()
11 years ago
PaulStoffregen
e6ee6db33c
Add analogReference() to AudioOutputAnalog
11 years ago
PaulStoffregen
6431c2f185
Fix mixer gain function
11 years ago
PaulStoffregen
e6f99d8b04
Add AudioOutputAnalog object, for audio to Teensy 3.1 DAC
11 years ago
PaulStoffregen
c6962f58b4
AudioPlayMemory using u-law and simpler header
11 years ago
PaulStoffregen
9e16bb1de7
Remove 8 kHz upsampling
11 years ago
PaulStoffregen
c62c430c16
Add AudioPlayMemory object
11 years ago
PaulStoffregen
9a455c1dc0
Add AudioSynthWaveform (any waveform), remove AudioSineWave (sine only)
11 years ago
PaulStoffregen
a1c6308a33
Fix waveform definitions
11 years ago
PaulStoffregen
8e0e013c14
Add waveforms, sine, square, triangle, sawtooth
11 years ago
PaulStoffregen
e9e88a7672
Remove unnecessary odd offset parsing from WAV mono mode
11 years ago
PaulStoffregen
e23c08cb8f
initial beta release, for realz ;-)
11 years ago