Pete (El Supremo)
8bc4acdb48
Play William Tell Overture using new AudioSynthWaveform
il y a 11 ans
PaulStoffregen
cb5ea4bf7f
Add status and position functions to AudioPlayMemory
il y a 11 ans
PaulStoffregen
5164e6177a
Add status and position functions to AudioPlaySdRaw
il y a 11 ans
PaulStoffregen
636bba0723
Add status and position functions to AudioPlaySdWav
il y a 11 ans
PaulStoffregen
a2574cb0fc
Fix AudioPlaySdWav end-of-data handling
il y a 11 ans
PaulStoffregen
ec3c9074ff
Improve AudioAnalyzePrint
il y a 11 ans
PaulStoffregen
795e43ddb6
Fix compile error
il y a 11 ans
Paul Stoffregen
d086aeed23
Merge pull request #9 from el-supremo/master
Cosmetic fixes to chorus and flange examples and synth_tonesweep (ignore AudioSynthToneSweep changes)
il y a 11 ans
Pete (El Supremo)
b09b9d3c89
cosmetic changes to synth_tonesweep.cpp and .h
il y a 11 ans
Pete (El Supremo)
f4237e51ec
Cosmetic fixes to AudioSynthToneSweep.cpp and .h
il y a 11 ans
Pete (El Supremo)
e3acf32f5d
Cosmetic changes to chorus and flange examples
il y a 11 ans
Paul Stoffregen
7e0ccb30d8
Merge pull request #8 from robsoles/master
Add AVC control to control_sgtl5000.* and example
il y a 11 ans
robsoles
dd968dda0a
Add AVC control to control_sgtl5000.* and example
Added
AudioControlSGTL5000::dap_avc(..);
AudioControlSGTL5000::dap_avc_enable(..);
SGTL5000_Specific/dap_avc_agc example sketch
Also added 'public domain...' line to all my examples.
il y a 11 ans
PaulStoffregen
3d66692947
Rename AudioPrint to AudioAnalyzePrint
il y a 11 ans
PaulStoffregen
8e66b244fc
Rename AudioPlaySDcardRAW to AudioPlaySdRaw
il y a 11 ans
PaulStoffregen
5ff60b9a70
Rename AudioPlaySDcardWAV to AudioPlaySdWav
il y a 11 ans
PaulStoffregen
4d67342153
Rename AudioToneSweep to AudioSynthToneSweep
il y a 11 ans
PaulStoffregen
46e437354d
Add MIT license to last few files
il y a 11 ans
PaulStoffregen
8169a8a766
Manually merged Pete's pull request: Correct a calculation in flange;remove static class from chorus and flange
https://github.com/PaulStoffregen/Audio/pull/7
il y a 11 ans
PaulStoffregen
e3cb8ba481
Add MIT license for Pete's files
il y a 11 ans
PaulStoffregen
183fcd95a9
Add MIT license
il y a 11 ans
PaulStoffregen
c274463185
Each object includes only required headers
il y a 11 ans
PaulStoffregen
e4cb836eea
Reorganize all header files
il y a 11 ans
PaulStoffregen
bdc11e316d
Move the last couple ojects to their own files
il y a 11 ans
PaulStoffregen
0fb630e4bf
Split I2S input & output to their own files
il y a 11 ans
PaulStoffregen
f16fb938bf
Move other objects to their own files
il y a 11 ans
PaulStoffregen
a8fd397ba1
Move DSP instruction stuff to its own header file
il y a 11 ans
PaulStoffregen
6490ee9155
Move control objects to their own files
il y a 11 ans
PaulStoffregen
2bb856fa95
Move input & output objects to their own files
il y a 11 ans
PaulStoffregen
7b16c9dc0c
Fix compiler warnings
il y a 11 ans
Paul Stoffregen
f771e3cfe2
Merge pull request #6 from el-supremo/master
My own version of AudioSynthWaveform. Sine is generated with arm_sin_q15...
il y a 11 ans
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.
il y a 11 ans
PaulStoffregen
f2fa19d39b
Merge branch 'master' of git://github.com/el-supremo/Audio
Conflicts:
Audio.cpp
Audio.h
il y a 11 ans
Pete (El Supremo)
dd1c6bdb72
Remove debugging statement from AudioToneSweep and add ToneSweep example sketch
il y a 11 ans
PaulStoffregen
3c31127761
Fix compiler warnings
il y a 11 ans
Pete (El Supremo)
62698957fb
Add an audio sweep. User defined start and end frequencies and length of time of sweep.
il y a 11 ans
PaulStoffregen
c2c35827c7
Merge branch 'master' of github.com:PaulStoffregen/Audio (Pete's changes)
Conflicts:
Audio.cpp
Audio.h
il y a 11 ans
Paul Stoffregen
06555e188a
Merge pull request #4 from robsoles/master
Some filter additions, some SGTL5000 additions
il y a 11 ans
Pete (El Supremo)
1d58a8e996
Correct storage class of some variables in FIR
il y a 11 ans
robsoles
1498a6e60a
Added filter 'tone' examples and trimmed fat in balance examples
The 'tone' filter examples are both using calcBiquad(..); but one uses
AudioFilterBiquad and other uses SGTL5000 PEQ filters. Had included code
for volume level control optionally and decided to drop it from both.
il y a 11 ans
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(..)'.
il y a 11 ans
robsoles
56466edaae
Added DAC & HP balance examples
Changed method for setting level/gains for left & right from
'item_left(..); item_right(..);' style to 'volume(left,right)' style
instead.
il y a 11 ans
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.
il y a 11 ans
robsoles
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.
il y a 11 ans
robsoles
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.
il y a 11 ans
robsoles
c0efade772
Fix SGTL5000 filter coefficent loader
load_peq(..); wasn't writing the INDEX and WR bits in
DAP_FILTER_COEF_ACCESS
il y a 11 ans
Pete (El Supremo)
2f0383f501
Correct the calculation of delay_rate_incr
il y a 11 ans
Pete (El Supremo)
3e6e912dd9
Cosmetic fix to Flange.begin
il y a 11 ans
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);
il y a 11 ans
Pete (El Supremo)
a27b78fc24
AudioSynthWaveform updated to add tone ramping when a tone starts and ends
PlayMidiTones example modified to work with ramping.
il y a 11 ans