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