99de614f24
								
							 
						 
						
							
								
								Revert line out level value  
							
							Something wrong with my attempt to apply the math in the datasheet,
CHIP_LINE_OUT_VALUE is better set to 0x0505 rather than 0x0D0D. 
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								998bfc2668
								
							 
						 
						
							
								
								Add delay to coefficient loader fix.  
							
							I thought the time taken to read back and then write zero back to the
DAP_FILTER_COEF_ACCESS WR bit would be enough but coefficients did not
load to the selected filter, tried 1ms delay instead still didn't work -
chances are that either not zero-ing or only zero-ing just before
writing the DAP_COEF_WR_xx_xSB registers would be fine but for now I'd
prefer to zero it sooner than later. 
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								c0efade772
								
							 
						 
						
							
								
								Fix SGTL5000 filter coefficent loader  
							
							load_peq(..); wasn't writing the INDEX and WR bits in
DAP_FILTER_COEF_ACCESS 
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								2f0383f501
								
							 
						 
						
							
								
								Correct the calculation of delay_rate_incr  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								3e6e912dd9
								
							 
						 
						
							
								
								Cosmetic fix to Flange.begin  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								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); 
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								a27b78fc24
								
							 
						 
						
							
								
								AudioSynthWaveform updated to add tone ramping when a tone starts and ends  
							
							PlayMidiTones example modified to work with ramping. 
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								0b64ca0e24
								
							 
						 
						
							
								
								Add chorus and flange effects and an example sketch for each  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								19bc87c838
								
							 
						 
						
							
								
								Add the fir_filer sketch to the examples directory  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								bb1117e933
								
							 
						 
						
							
								
								Delete *.bak  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								3e4d82e9c5
								
							 
						 
						
							
								
								Removed extraneous comment lines  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								3b1570c6ec
								
							 
						 
						
							
								
								Added AudioFilterFIR which performs FIR filter  
							
							using user-supplied coefficients 
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								bf8cffdf02
								
							 
						 
						
							
								
								Fix memory leaks in AudioPlaySDcardWAV  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								ba7c3d8080
								
							 
						 
						
							
								
								Add AudioEffectFade object  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								14e2019092
								
							 
						 
						
							
								
								clean up old TODO comments  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								c98b062518
								
							 
						 
						
							
								
								Dial tone example using only analog input (no audio shield)  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								e1e5a34c73
								
							 
						 
						
							
								
								Fix update scheduling with AudioInputAnalog  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								8cac457d8f
								
							 
						 
						
							
								
								Add comment to filter example  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								aa53af053a
								
							 
						 
						
							
								
								Add DTMF Dial Tone decode + transmit example  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								2a63896a70
								
							 
						 
						
							
								
								Add AudioAnalyzeToneDetect  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								8020f09e02
								
							 
						 
						
							
								
								Merge pull request  #1  from MickMad/master  
							
							Add objects to use with Mikroe Audio Codec PROTO (AudioContolWM8731master, AudioInputI2Sslave, AudioOutpuI2Sslave), with example 
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								7281ae2031
								
							 
						 
						
							
								
								Add objects to use with Mikroe Audio Codec PROTO (AudioContolWM8731master, AudioInputI2Sslave, AudioOutpuI2Sslave), with example  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								85609adbac
								
							 
						 
						
							
								
								Add AudioFilterBiquad object  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								886b2f63b7
								
							 
						 
						
							
								
								Fix PassThroughAnalog example  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								67e7db35a6
								
							 
						 
						
							
								
								Add AudioNoInterrupts() and AudioInterrupts()  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								759a8e2439
								
							 
						 
						
							
								
								Document analogReference in PlayFromSketch example  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								533e753cb5
								
							 
						 
						
							
								
								change format for new_objects files  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								773b35a6d7
								
							 
						 
						
							
								
								Add preliminary documentation on creating new objects  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								e6ee6db33c
								
							 
						 
						
							
								
								Add analogReference() to AudioOutputAnalog  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								6431c2f185
								
							 
						 
						
							
								
								Fix mixer gain function  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								da835d59df
								
							 
						 
						
							
								
								fix AudioOutputAnalog update scheduling  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								e6f99d8b04
								
							 
						 
						
							
								
								Add AudioOutputAnalog object, for audio to Teensy 3.1 DAC  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								7763119ac1
								
							 
						 
						
							
								
								Remove leftover debugging print  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								961093ad10
								
							 
						 
						
							
								
								Add wav2sketch utility  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								20e6855743
								
							 
						 
						
							
								
								Add PlayFromSketch example  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								c6962f58b4
								
							 
						 
						
							
								
								AudioPlayMemory using u-law and simpler header  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								9e16bb1de7
								
							 
						 
						
							
								
								Remove 8 kHz upsampling  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								4a8c00cffe
								
							 
						 
						
							
								
								Add ulaw decode table  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								c62c430c16
								
							 
						 
						
							
								
								Add AudioPlayMemory object  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								9a455c1dc0
								
							 
						 
						
							
								
								Add AudioSynthWaveform (any waveform), remove AudioSineWave (sine only)  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								a1c6308a33
								
							 
						 
						
							
								
								Fix waveform definitions  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								8e0e013c14
								
							 
						 
						
							
								
								Add waveforms, sine, square, triangle, sawtooth  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								ed585c49af
								
							 
						 
						
							
								
								Fix repeated WAV file play  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								b51edd8d8c
								
							 
						 
						
							
								
								Stereo 16 bit, 44.1 kHz WAV file support  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								e9e88a7672
								
							 
						 
						
							
								
								Remove unnecessary odd offset parsing from WAV mono mode  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								4a4cb83485
								
							 
						 
						
							
								
								Update readme  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								e23c08cb8f
								
							 
						 
						
							
								
								initial beta release, for realz ;-)  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								c4c4566ac8
								
							 
						 
						
							
								
								Initial beta release! :-)  
							
							
							
						 
						pirms 11 gadiem  
				
					
						
							
								 
						
							
								5100d9c31a
								
							 
						 
						
							
								
								Initial commit  
							
							
							
						 
						pirms 11 gadiem