PaulStoffregen
33ad99be10
Reassign DMA channels for compatibility with OctoWS2811
10 years ago
PaulStoffregen
2371818686
Fix repetitive file playing in AudioPlaySdWav
10 years ago
PaulStoffregen
0cdc17dd06
Fix DSP inst multiply_16tx16b_add_16bx16t()
10 years ago
PaulStoffregen
60e6ed2eee
AudioOutputAnalog to default to 1.2V range
10 years ago
PaulStoffregen
38f22b072f
Fix default STGL5000 line level output voltage
10 years ago
PaulStoffregen
128a0940d3
Remove old AudioSynthWaveform
10 years ago
PaulStoffregen
7142f4c47d
Add amplitude() to AudioSynthWaveformSine
10 years ago
PaulStoffregen
441fa091b4
Fix FM modulation of AudioSynthWaveformSineModulated
10 years ago
PaulStoffregen
a8efaeeea7
Add missing open source license headers
10 years ago
PaulStoffregen
8fd56ee20a
Add AudioSynthWaveformSine
10 years ago
Paul Stoffregen
34a40b548d
Merge pull request #27 from robsoles/master
Semi automated routing, SGTL members renamed & gain/volume set around 1
10 years ago
Paul Stoffregen
533ef61ed6
Merge pull request #28 from el-supremo/master
Fixed AudioSynthWaveform. Uses LUT with linear interpolation for sinewav...
10 years ago
Pete (El Supremo)
191e65e02a
Change FIR filter (as suggested by rheslip) to filter one channel instead of two. Updated example, added documenting file
10 years ago
Pete (El Supremo)
7b68746d03
Update the PlaySynthMusic example to use a floating point table of note frequencies (not divided by 2)
10 years ago
Pete (El Supremo)
0c0731862c
Fixed AudioSynthWaveform. Uses LUT with linear interpolation for sinewave.
Square, triangle and sawtooth are generated directly.
10 years ago
robsoles
54aaa02150
Fixed gain calculator problem
Bit of a fight with the github client, heaps of distraction and no time
delayed me getting back to this. Sorry.
10 years ago
PaulStoffregen
677c072ca1
add comment to look into thread safety in SD WAV play()
10 years ago
PaulStoffregen
a50017b4c4
Build wav2sketch for Windows
10 years ago
robsoles
511d9a1625
control_sgtl5000.* overhaul with many renames.
While changing everything else I also modified most things regarding
gain or volume from using 0 to 100 (or -100 thru 0 to 100) to using 1
(or -1 to 1) with only one exception I can think of right now in the
autoVolumeControl(..); - I modified all examples I found .volume or
similar in to suit.
I found opportunity to write these changes, I did not have a chance to
test much more extensively than just compiling it. I will have a chance
to test them by about 24 hours time.
10 years ago
robsoles
250e0d412f
Improve accuracy in AudioPeak(..);
min and max resetting to 0 each reset wasn't as accurate in a shortened
sampling time as making them the opposite of their potential maximums.
removed conditional serial prints as well, they were a hangover from
trying to make AudioInputAnalog & AudioOutputAnalog cooperate in a 'non
standard' order for my current pet project.
Considered renaming Dpp() to what it is abbreviating, being
DataPeak2Peak, but not sure that is a good name anyway.
10 years ago
robsoles
2475d5ca8e
Fix 'no return value' in other route(..);
The alternative route(..) was declared as unsigned short but was not
return anything.
10 years ago
robsoles
b54767d746
Added route(..), fixed dap_enable(..)
Adding route() made me review dap_enable() more closely and it wasn't
doing what I intended to do before, it was ignoring I2S coming back from
Teensy, DAP was sourced from ADC as was I2S_DOUT and DAC was sourced
from DAP; Teensy received valid data from ADC but data from Teensy was
just discarded if user selected it.
10 years ago
Paul Stoffregen
ab3b21ec3c
Merge pull request #24 from el-supremo/master
Remove old version of AudioSynthWaveform. Fix sine wave generation to cl...
10 years ago
Pete (El Supremo)
456a59dc0c
Fix up synth_tonesweep and the example to conform (more closely) to the naming conventions
10 years ago
Pete (El Supremo)
40cc5e4572
Fix bug in PlaySynthMusic example - remove unnecessary include
10 years ago
Pete (El Supremo)
a2682bac25
declare tone_incr to be volatile to prevent the compiler optimizing frequency() out of existence
10 years ago
Pete (El Supremo)
519822e76c
Remove old version of AudioSynthWaveform. Fix sine wave generation to clean up its specturm and also fix ramping.
10 years ago
PaulStoffregen
1b51f558fb
Fix memory leak in AudioPlaySdRaw
10 years ago
Paul Stoffregen
db3d4801e9
Merge pull request #23 from el-supremo/master
Fix #20
10 years ago
Pete (El Supremo)
28f93925d2
Fix Issue #20 - AudioFilterFIR should receive data as read-only blocks
10 years ago
Pete (El Supremo)
764ea901fc
Speed up copy_to_fft_buffer a bit
10 years ago
PaulStoffregen
3737c4590d
Update readme
10 years ago
Paul Stoffregen
9c3bd838ec
Merge pull request #14 from el-supremo/master
Play William Tell Overture using new AudioSynthWaveform
10 years ago
Paul Stoffregen
11843d59d7
Merge pull request #15 from robsoles/master
Add adc_hpf() to allow control of ADC high pass filter.
10 years ago
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 years ago
Pete (El Supremo)
8bc4acdb48
Play William Tell Overture using new AudioSynthWaveform
10 years ago
PaulStoffregen
65fefb7f34
Move square root to utility folder
10 years ago
PaulStoffregen
febe2e85c4
WAV file parsing to handle extended format headers
10 years ago
PaulStoffregen
81e1016b24
Improve WAV file parsing
10 years ago
PaulStoffregen
0eefb414ec
Add keywords file
10 years ago
PaulStoffregen
39fb562527
Fix AudioAnalyzeFFT256 magnitude & averaging
10 years ago
PaulStoffregen
7059c1383c
Add misc math functions
10 years ago
Paul Stoffregen
7b3fbe6dd5
Merge pull request #13 from robsoles/master
Actual fix for multiple filter sets in AudioFilterBiquad
10 years ago
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 years ago
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 years ago
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 years ago
robsoles
5e8e352ec3
Stereo peak meter using AudioPeak
Simplistic visual peak meter just outputs to terminal.
10 years ago
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 years ago
PaulStoffregen
ef55379cbf
Change PassThroughAnalog to follow analog pin name convention
10 years ago
PaulStoffregen
e9d52cd601
reword connect in AudioInputAnalog
10 years ago