Pete (El Supremo)
456a59dc0c
Fix up synth_tonesweep and the example to conform (more closely) to the naming conventions
před 10 roky
Pete (El Supremo)
40cc5e4572
Fix bug in PlaySynthMusic example - remove unnecessary include
před 10 roky
Pete (El Supremo)
a2682bac25
declare tone_incr to be volatile to prevent the compiler optimizing frequency() out of existence
před 10 roky
Pete (El Supremo)
519822e76c
Remove old version of AudioSynthWaveform. Fix sine wave generation to clean up its specturm and also fix ramping.
před 10 roky
Pete (El Supremo)
28f93925d2
Fix Issue #20 - AudioFilterFIR should receive data as read-only blocks
před 10 roky
Pete (El Supremo)
764ea901fc
Speed up copy_to_fft_buffer a bit
před 10 roky
PaulStoffregen
3737c4590d
Update readme
před 10 roky
Paul Stoffregen
9c3bd838ec
Merge pull request #14 from el-supremo/master
Play William Tell Overture using new AudioSynthWaveform
před 10 roky
Paul Stoffregen
11843d59d7
Merge pull request #15 from robsoles/master
Add adc_hpf() to allow control of ADC high pass filter.
před 10 roky
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.
před 10 roky
Pete (El Supremo)
8bc4acdb48
Play William Tell Overture using new AudioSynthWaveform
před 10 roky
PaulStoffregen
65fefb7f34
Move square root to utility folder
před 10 roky
PaulStoffregen
febe2e85c4
WAV file parsing to handle extended format headers
před 10 roky
PaulStoffregen
81e1016b24
Improve WAV file parsing
před 10 roky
PaulStoffregen
0eefb414ec
Add keywords file
před 10 roky
PaulStoffregen
39fb562527
Fix AudioAnalyzeFFT256 magnitude & averaging
před 10 roky
PaulStoffregen
7059c1383c
Add misc math functions
před 10 roky
Paul Stoffregen
7b3fbe6dd5
Merge pull request #13 from robsoles/master
Actual fix for multiple filter sets in AudioFilterBiquad
před 10 roky
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?
před 10 roky
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).
před 10 roky
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.
před 10 roky
robsoles
5e8e352ec3
Stereo peak meter using AudioPeak
Simplistic visual peak meter just outputs to terminal.
před 10 roky
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.
před 10 roky
PaulStoffregen
ef55379cbf
Change PassThroughAnalog to follow analog pin name convention
před 10 roky
PaulStoffregen
e9d52cd601
reword connect in AudioInputAnalog
před 10 roky
Paul Stoffregen
b8e4ce85ca
Merge pull request #12 from robsoles/master
fixed updateCoefs(..) for other than set 0 coefficients
před 10 roky
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.
před 10 roky
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.
před 10 roky
Paul Stoffregen
3fdd2654b5
Merge pull request #11 from robsoles/master
fix for compounding/cascading filters
před 10 roky
robsoles
d90ea2c06f
put pointer assignment after test
I put the line I had moved into the loop the wrong side of the test
conditional.
před 10 roky
robsoles
49234c34ab
fix for bug I introduced with my last fix.
I left 'end' in an undefined state before.
před 10 roky
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.
před 10 roky
Paul Stoffregen
67099c39de
Merge pull request #10 from robsoles/master
adding surround and bass enhance controls
před 10 roky
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.
před 10 roky
PaulStoffregen
8ab67fe42b
Add comments about I2S FIFO reset bits (was an issue on I2S test fixture)
před 10 roky
PaulStoffregen
cb5ea4bf7f
Add status and position functions to AudioPlayMemory
před 10 roky
PaulStoffregen
5164e6177a
Add status and position functions to AudioPlaySdRaw
před 10 roky
PaulStoffregen
636bba0723
Add status and position functions to AudioPlaySdWav
před 10 roky
PaulStoffregen
a2574cb0fc
Fix AudioPlaySdWav end-of-data handling
před 10 roky
PaulStoffregen
ec3c9074ff
Improve AudioAnalyzePrint
před 10 roky
PaulStoffregen
795e43ddb6
Fix compile error
před 10 roky
Paul Stoffregen
d086aeed23
Merge pull request #9 from el-supremo/master
Cosmetic fixes to chorus and flange examples and synth_tonesweep (ignore AudioSynthToneSweep changes)
před 10 roky
Pete (El Supremo)
b09b9d3c89
cosmetic changes to synth_tonesweep.cpp and .h
před 10 roky
Pete (El Supremo)
f4237e51ec
Cosmetic fixes to AudioSynthToneSweep.cpp and .h
před 10 roky
Pete (El Supremo)
e3acf32f5d
Cosmetic changes to chorus and flange examples
před 10 roky
Paul Stoffregen
7e0ccb30d8
Merge pull request #8 from robsoles/master
Add AVC control to control_sgtl5000.* and example
před 10 roky
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.
před 10 roky
PaulStoffregen
3d66692947
Rename AudioPrint to AudioAnalyzePrint
před 10 roky
PaulStoffregen
8e66b244fc
Rename AudioPlaySDcardRAW to AudioPlaySdRaw
před 10 roky
PaulStoffregen
5ff60b9a70
Rename AudioPlaySDcardWAV to AudioPlaySdWav
před 10 roky