Pete (El Supremo)
a2682bac25
declare tone_incr to be volatile to prevent the compiler optimizing frequency() out of existence
vor 10 Jahren
Pete (El Supremo)
519822e76c
Remove old version of AudioSynthWaveform. Fix sine wave generation to clean up its specturm and also fix ramping.
vor 10 Jahren
Pete (El Supremo)
28f93925d2
Fix Issue #20 - AudioFilterFIR should receive data as read-only blocks
vor 10 Jahren
Pete (El Supremo)
764ea901fc
Speed up copy_to_fft_buffer a bit
vor 10 Jahren
PaulStoffregen
3737c4590d
Update readme
vor 10 Jahren
Paul Stoffregen
9c3bd838ec
Merge pull request #14 from el-supremo/master
Play William Tell Overture using new AudioSynthWaveform
vor 10 Jahren
Paul Stoffregen
11843d59d7
Merge pull request #15 from robsoles/master
Add adc_hpf() to allow control of ADC high pass filter.
vor 10 Jahren
robsoles
27ed288398
Add adc_hpf() to allow control of ADC high pass filter.
unsigned short .adc_hpf(uint8_t bypass, uint8_t freeze);
unsigned short .adc_hpf(uint8_t bypass);
bypass & freeze as defined on page 34 of the SGTL5000 datasheet.
vor 10 Jahren
Pete (El Supremo)
8bc4acdb48
Play William Tell Overture using new AudioSynthWaveform
vor 10 Jahren
PaulStoffregen
65fefb7f34
Move square root to utility folder
vor 10 Jahren
PaulStoffregen
febe2e85c4
WAV file parsing to handle extended format headers
vor 10 Jahren
PaulStoffregen
81e1016b24
Improve WAV file parsing
vor 10 Jahren
PaulStoffregen
0eefb414ec
Add keywords file
vor 10 Jahren
PaulStoffregen
39fb562527
Fix AudioAnalyzeFFT256 magnitude & averaging
vor 10 Jahren
PaulStoffregen
7059c1383c
Add misc math functions
vor 10 Jahren
Paul Stoffregen
7b3fbe6dd5
Merge pull request #13 from robsoles/master
Actual fix for multiple filter sets in AudioFilterBiquad
vor 10 Jahren
robsoles
c34a7ab254
cosmetic change
I am tired of seeing Serial.begin(9600); where 9600 is not going to be
used at all. Can Serial.begin(Serial.baud()); be acceptable?
vor 10 Jahren
robsoles
b949d79da7
Mono peak meter using Analog in/out & AudioPeak
Untested, will test it personally in next couple of days but sincerely
expect it will work so committing.
Todo: Test properly. Improve comments and possibly link to wiring
example(s).
vor 10 Jahren
robsoles
f95bdca19b
re-trim the comments in the example.
modified an older 'detached' copy of the example source to try multiple
filters out and didn't notice the old comments till reviewing later.
vor 10 Jahren
robsoles
5e8e352ec3
Stereo peak meter using AudioPeak
Simplistic visual peak meter just outputs to terminal.
vor 10 Jahren
robsoles
44e34bb099
Actual fix for multiple filter sets in AudioFilterBiquad
My manipulation of the contents of *data instead of the value of data
itself was foolish at best - forgot to leave the * off for my intent.
vor 10 Jahren
PaulStoffregen
ef55379cbf
Change PassThroughAnalog to follow analog pin name convention
vor 10 Jahren
PaulStoffregen
e9d52cd601
reword connect in AudioInputAnalog
vor 10 Jahren
Paul Stoffregen
b8e4ce85ca
Merge pull request #12 from robsoles/master
fixed updateCoefs(..) for other than set 0 coefficients
vor 10 Jahren
robsoles
80155c9020
fix updateCoefs(..) wasn't updating other coefficient sets
While trying to find why assigning more than one set of coefficients for
AudioFilterBiquad results in no output I discovered my check for flag
before updating other than 1st set of coefficients was flawed so I fixed
it.
I also modified the way 'data' is assigned so the assignment only occurs
once per set of coefficients, possibly not the most efficient but I like
it better than my previous method.
These changes don't appear to effect the use of AudioFilterBiquad for a
single set of coefficients and, unfortunately, it doesn't make it start
working either - implementation of a second (or more than one) set of
coefficients still results in output being silenced but the update to
updateCoefs(..) is necessary so I am committing it.
vor 10 Jahren
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.
vor 10 Jahren
Paul Stoffregen
3fdd2654b5
Merge pull request #11 from robsoles/master
fix for compounding/cascading filters
vor 10 Jahren
robsoles
d90ea2c06f
put pointer assignment after test
I put the line I had moved into the loop the wrong side of the test
conditional.
vor 10 Jahren
robsoles
49234c34ab
fix for bug I introduced with my last fix.
I left 'end' in an undefined state before.
vor 10 Jahren
robsoles
ad746ca291
fix for compounding/cascading filters
'data' needs to be reset inside the 'flag' controlled loop or
*undefined* behavior is likely when user sets 'flag' and loop repeats
without resetting 'data' to beginning of block.
vor 10 Jahren
Paul Stoffregen
67099c39de
Merge pull request #10 from robsoles/master
adding surround and bass enhance controls
vor 10 Jahren
robsoles
795c785f7b
adding surround and bass enhance controls
added last of dap 'bits' to control_sgtl5000.* and include an example
for bass enhance, need to make one for surround stuff.
vor 10 Jahren
PaulStoffregen
8ab67fe42b
Add comments about I2S FIFO reset bits (was an issue on I2S test fixture)
vor 10 Jahren
PaulStoffregen
cb5ea4bf7f
Add status and position functions to AudioPlayMemory
vor 10 Jahren
PaulStoffregen
5164e6177a
Add status and position functions to AudioPlaySdRaw
vor 10 Jahren
PaulStoffregen
636bba0723
Add status and position functions to AudioPlaySdWav
vor 10 Jahren
PaulStoffregen
a2574cb0fc
Fix AudioPlaySdWav end-of-data handling
vor 10 Jahren
PaulStoffregen
ec3c9074ff
Improve AudioAnalyzePrint
vor 10 Jahren
PaulStoffregen
795e43ddb6
Fix compile error
vor 10 Jahren
Paul Stoffregen
d086aeed23
Merge pull request #9 from el-supremo/master
Cosmetic fixes to chorus and flange examples and synth_tonesweep (ignore AudioSynthToneSweep changes)
vor 10 Jahren
Pete (El Supremo)
b09b9d3c89
cosmetic changes to synth_tonesweep.cpp and .h
vor 10 Jahren
Pete (El Supremo)
f4237e51ec
Cosmetic fixes to AudioSynthToneSweep.cpp and .h
vor 10 Jahren
Pete (El Supremo)
e3acf32f5d
Cosmetic changes to chorus and flange examples
vor 10 Jahren
Paul Stoffregen
7e0ccb30d8
Merge pull request #8 from robsoles/master
Add AVC control to control_sgtl5000.* and example
vor 10 Jahren
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.
vor 10 Jahren
PaulStoffregen
3d66692947
Rename AudioPrint to AudioAnalyzePrint
vor 10 Jahren
PaulStoffregen
8e66b244fc
Rename AudioPlaySDcardRAW to AudioPlaySdRaw
vor 10 Jahren
PaulStoffregen
5ff60b9a70
Rename AudioPlaySDcardWAV to AudioPlaySdWav
vor 10 Jahren
PaulStoffregen
4d67342153
Rename AudioToneSweep to AudioSynthToneSweep
vor 10 Jahren
PaulStoffregen
46e437354d
Add MIT license to last few files
vor 10 Jahren