Pete (El Supremo)
10c8a8634d
FIR only needs one input buffer
pirms 10 gadiem
Pete (El Supremo)
9dde3c1926
Add a multiplier (by rheslip)
pirms 10 gadiem
Pete (El Supremo)
191e65e02a
Change FIR filter (as suggested by rheslip) to filter one channel instead of two. Updated example, added documenting file
pirms 10 gadiem
Pete (El Supremo)
7b68746d03
Update the PlaySynthMusic example to use a floating point table of note frequencies (not divided by 2)
pirms 10 gadiem
Pete (El Supremo)
0c0731862c
Fixed AudioSynthWaveform. Uses LUT with linear interpolation for sinewave.
Square, triangle and sawtooth are generated directly.
pirms 10 gadiem
PaulStoffregen
677c072ca1
add comment to look into thread safety in SD WAV play()
pirms 10 gadiem
PaulStoffregen
a50017b4c4
Build wav2sketch for Windows
pirms 10 gadiem
Paul Stoffregen
ab3b21ec3c
Merge pull request #24 from el-supremo/master
Remove old version of AudioSynthWaveform. Fix sine wave generation to cl...
pirms 10 gadiem
Pete (El Supremo)
456a59dc0c
Fix up synth_tonesweep and the example to conform (more closely) to the naming conventions
pirms 10 gadiem
Pete (El Supremo)
40cc5e4572
Fix bug in PlaySynthMusic example - remove unnecessary include
pirms 10 gadiem
Pete (El Supremo)
a2682bac25
declare tone_incr to be volatile to prevent the compiler optimizing frequency() out of existence
pirms 10 gadiem
Pete (El Supremo)
519822e76c
Remove old version of AudioSynthWaveform. Fix sine wave generation to clean up its specturm and also fix ramping.
pirms 10 gadiem
PaulStoffregen
1b51f558fb
Fix memory leak in AudioPlaySdRaw
pirms 10 gadiem
Paul Stoffregen
db3d4801e9
Merge pull request #23 from el-supremo/master
Fix #20
pirms 10 gadiem
Pete (El Supremo)
28f93925d2
Fix Issue #20 - AudioFilterFIR should receive data as read-only blocks
pirms 10 gadiem
Pete (El Supremo)
764ea901fc
Speed up copy_to_fft_buffer a bit
pirms 10 gadiem
PaulStoffregen
3737c4590d
Update readme
pirms 10 gadiem
Paul Stoffregen
9c3bd838ec
Merge pull request #14 from el-supremo/master
Play William Tell Overture using new AudioSynthWaveform
pirms 10 gadiem
Paul Stoffregen
11843d59d7
Merge pull request #15 from robsoles/master
Add adc_hpf() to allow control of ADC high pass filter.
pirms 10 gadiem
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.
pirms 10 gadiem
Pete (El Supremo)
8bc4acdb48
Play William Tell Overture using new AudioSynthWaveform
pirms 10 gadiem
PaulStoffregen
65fefb7f34
Move square root to utility folder
pirms 10 gadiem
PaulStoffregen
febe2e85c4
WAV file parsing to handle extended format headers
pirms 10 gadiem
PaulStoffregen
81e1016b24
Improve WAV file parsing
pirms 10 gadiem
PaulStoffregen
0eefb414ec
Add keywords file
pirms 10 gadiem
PaulStoffregen
39fb562527
Fix AudioAnalyzeFFT256 magnitude & averaging
pirms 10 gadiem
PaulStoffregen
7059c1383c
Add misc math functions
pirms 10 gadiem
Paul Stoffregen
7b3fbe6dd5
Merge pull request #13 from robsoles/master
Actual fix for multiple filter sets in AudioFilterBiquad
pirms 10 gadiem
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?
pirms 10 gadiem
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).
pirms 10 gadiem
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.
pirms 10 gadiem
robsoles
5e8e352ec3
Stereo peak meter using AudioPeak
Simplistic visual peak meter just outputs to terminal.
pirms 10 gadiem
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.
pirms 10 gadiem
PaulStoffregen
ef55379cbf
Change PassThroughAnalog to follow analog pin name convention
pirms 10 gadiem
PaulStoffregen
e9d52cd601
reword connect in AudioInputAnalog
pirms 10 gadiem
Paul Stoffregen
b8e4ce85ca
Merge pull request #12 from robsoles/master
fixed updateCoefs(..) for other than set 0 coefficients
pirms 10 gadiem
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.
pirms 10 gadiem
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.
pirms 10 gadiem
Paul Stoffregen
3fdd2654b5
Merge pull request #11 from robsoles/master
fix for compounding/cascading filters
pirms 10 gadiem
robsoles
d90ea2c06f
put pointer assignment after test
I put the line I had moved into the loop the wrong side of the test
conditional.
pirms 10 gadiem
robsoles
49234c34ab
fix for bug I introduced with my last fix.
I left 'end' in an undefined state before.
pirms 10 gadiem
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.
pirms 10 gadiem
Paul Stoffregen
67099c39de
Merge pull request #10 from robsoles/master
adding surround and bass enhance controls
pirms 10 gadiem
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.
pirms 10 gadiem
PaulStoffregen
8ab67fe42b
Add comments about I2S FIFO reset bits (was an issue on I2S test fixture)
pirms 10 gadiem
PaulStoffregen
cb5ea4bf7f
Add status and position functions to AudioPlayMemory
pirms 10 gadiem
PaulStoffregen
5164e6177a
Add status and position functions to AudioPlaySdRaw
pirms 10 gadiem
PaulStoffregen
636bba0723
Add status and position functions to AudioPlaySdWav
pirms 10 gadiem
PaulStoffregen
a2574cb0fc
Fix AudioPlaySdWav end-of-data handling
pirms 10 gadiem
PaulStoffregen
ec3c9074ff
Improve AudioAnalyzePrint
pirms 10 gadiem