67 Commits
Author SHA1 Message Date
Earle F. Philhower, III 3450935a2a Add new project link 2025-12-09 14:50:39 -08:00
Earle F. Philhower, III cd98586a2c Suggest using latest pioarduino 2025-10-31 08:37:22 -07:00
Earle F. Philhower, III 89c60ad19b ESP32 Platform.IO information
Added section on ESP32 and Platform.IO integration issues and solutions.
2025-10-27 09:36:25 -07:00
Earle F. Philhower, III 5cb3ef5d2d Fix typo in README 2025-10-20 18:50:51 -07:00
Earle F. Philhower, III f1d74df9f7 Rewrite OPUS driver, no extra libs, update (#780)
Move to Opus 1.5.1
Remove OpusFile and OGG libraries because we parse the OGG file in
the object directly with way less memory and overhead.

Update example for LittleFS and RP2040

Fixes #372
2025-10-10 15:19:20 -07:00
Earle F. Philhower, III 36dde3c85c Update README, ESP32 is supported 2025-10-09 12:35:45 -07:00
Earle F. Philhower, III c5613c5a4b Add PWM/NoDAC filter and amp examples (#775)
Fixes #562
Fixes #732
2025-10-08 17:30:13 -07:00
Earle F. Philhower, III 7e2b839f21 Update README.md 2025-01-22 13:33:31 -08:00
Earle F. Philhower, III 90b83fb95e Update README.md 2024-12-18 15:11:36 -08:00
Earle F. Philhower, III 2f43b3b57d Update README.md 2024-10-14 17:48:14 -07:00
Earle F. Philhower, III 7e50a43b4b Update README.md 2024-10-08 18:13:22 -07:00
Roman Lut 52c49afbc0 NoDAC and PDM documentation update for ESP32 (#519) 2024-10-08 17:49:03 -07:00
KDM 60b93433d8 Update README.md (#675)
Corrected format to formant.
2024-04-16 14:55:52 -07:00
Earle F. Philhower, III 12131e9826 Update README.md 2023-01-28 14:32:54 -08:00
Earle F. Philhower, III c4bf70bccf Fix typo in README (#541)
Fixes #540
2022-06-13 08:32:18 -07:00
Earle F. Philhower, III 2069060574 Add RP2040 build (#530)
Fix examples to build on RP2040
Clean up generator warnings
No SPDIF on RP2040 (yet)
Add back C sources for AAC on ARM
No WiFi streaming on RP2040
No webradio on RP2040
No talking clock (NTP) on RP2040 either
2022-05-18 21:03:37 -07:00
Raphael Rott 76235d0e3f fix typos in readme (#513) 2022-04-25 09:02:45 -07:00
Earle F. Philhower, III 933439fa3f Update README.md 2021-12-17 11:42:16 -08:00
Earle F. Philhower, III 86a1818da5 Add codespell to CI checks (#450) 2021-11-28 10:52:33 -08:00
Oderik 62463b15f7 Document ESP8266 I2S pinout (#439) 2021-11-04 10:29:02 -07:00
Earle F. Philhower, III 5411abef6b Update Linear Clock links 2021-10-19 12:19:10 -07:00
Earle F. Philhower, III a72bee6d73 Update README.md 2021-04-02 19:54:28 -07:00
Earle F. Philhower, III fae26d4010 Add Opus file format (and OGG demux) (#294)
Add ported versions of the Opus codec, OpusFile parser, and OGG demuxer
from Xiph.org.

Only works on the ESP32 due to memory limitations (of opusfile,
strangely enough, and not because of opus compression).

Adds a basic example and a host test.

Fixes #278
2020-08-11 20:56:13 -07:00
Earle F. Philhower, III 0f40d83241 Use GitHub CI to run tests (#287) 2020-08-08 15:36:06 -07:00
Earle F. Philhower, III d37010e5d7 Add Mini-Wecker project 2020-08-03 12:55:57 -07:00
Earle F. Philhower, III 31ef7e33e1 Add gitter.im channel to README (#259)
I'm not as active as I'd like to be with this, so add a gitter channel
and allow folks to collaborate amongst themselves on technical questions
or projects.
2020-04-16 15:35:25 -07:00
Earle F. Philhower, III 0fd2d0413b Replace external SPIRAM lib w/internal optimized (#250)
* Replace external SPIRAM lib w/internal optimized

Instead of requiring everyone to download and install another Arduino
library to use this lib, include an optimized, self-contained one from
the 8266 VM PR: https://github.com/esp8266/Arduino/pull/6994

Does change the API as it now requires a HW chip select, so that
parameter is removed from the SpiRAM buffer object.

* Redo the FIFO to try and be faster

* Fix the SPI interface, buffering.

SPI FIFO needs special care so do all work in a RAM copy and the copy it
over manually w/32b writes.

Ensure the SPI command is done before touching the FIFO.

Fix buffering organization.

Make the buffer report status as a #### bar.

* Fix infinite wait on EOF

* Add SW chip select support

* Update URL to one that's live today

* Clean up metadata printout

* Clean up readme refs to obsolete lib

* Slow down the DIO->SIO reset sequence

* Update readme to remove old SPIRam library ref

Also add the resistor to the 1T circuit to avoid transistor overheating.
2020-04-14 15:41:47 -07:00
Ivan Kostoski 377b271edd ESP8266 SinglePinI2SDriver, SPDIF output improvements, FLAC memory optimization (#237)
* Added S/PDIF output using I2S peripheral

* Added AudioOutputSPDIF to README and PROGMEM changes

* SPDIF/I2S sample rate fixes

* Fix SPDIF example file name

* Minimal (single pin) I2S driver

* AudioOutputSPDIF changes for minimal I2S driver

* Documentation changes

* FLAC decoding memory optimization
2020-02-24 09:55:30 -08:00
Ivan Kostoski a7a8b917d2 Added S/PDIF output using I2S peripheral (#235)
* Added S/PDIF output using I2S peripheral

* Added AudioOutputSPDIF to README and PROGMEM changes
2020-02-07 13:05:03 -08:00
Ryan Jacobs 16bd2a7b06 enable syntax highlighting on README.md (#214) 2019-11-18 08:49:58 -07:00
Simon L e6a4e6c886 Document the internal DAC on ESP32 more explicitly (#184)
* Document INTERNAL_DAC explicitly and its usage

* Add INTERNAL_DAC usage comment in example
2019-05-12 08:31:08 -07:00
Earle F. Philhower, III 0987b12e58 Fix 8->16 bit output conversion overflow error
The I2S outputs were converting samples in the buffer passed in
from u8->s16 on every call.  When the I2S was full, however, the
sample would not get pushed and the output function would be
called at a later time with the same buffer...which was already
at 16 bits.  It'd be converted again and turned into a high
frequency noise on the output.

Now only modify a copy of the input sample in I2S and I2SNoDAC.
Fixes the conversion problem competely.

Fixes #2
2018-05-23 22:40:29 -07:00
Earle F. Philhower, III b9be5c69dd Add warning about amplified speakers on 1T 2018-05-23 08:56:08 -07:00
Earle F. Philhower, III 8684cbc42f Add linear clock note 2018-05-23 08:20:28 -07:00
Earle F. Philhower, III 8489f6990d Add I2S debug/wiring notes 2018-05-15 07:22:49 -07:00
Trailhead 7f5ad4f61c fixing typo in README.md (#96) 2018-05-15 06:41:10 -07:00
Earle F. Philhower, III a4610346a6 New use case byu CosmicMac 2018-04-02 14:20:57 -07:00
Earle F. Philhower, III bc87dca1be Add JohannesMTC link 2018-04-01 19:09:38 -07:00
Earle F. Philhower, III 582e6e70ac Add RTTTL example and use a non-square waveform
Seems like I2S DACs don't like to be presented with perfect bang-bang
square waveforms, so build a very simple model and use that to avoid
abrupt changes in values.  Sounds about as good as you're going to get
with this.

Also add a simple example showing how to play a RTTTL string.
2018-03-26 08:00:56 -07:00
Earle F. Philhower, III 9598c4862e Add ESP32-fs-plugin link to README, thx @rfestag 2018-03-09 10:11:05 -08:00
Earle F. Philhower, III 9e708af1f2 README now contains latest SPIFFS on ESP32 2018-03-05 07:26:12 -08:00
Earle F. Philhower, III 9991fb5300 Add links to cool uses 2018-02-28 20:35:59 -08:00
Earle F. Philhower, III 96fc37dce5 Refactor I2S to be cleaner, more extensible
With the multiple I2S modes on the ESP32, it makes sense to use a
cleaner class hierarchy for the I2S tools.  Make I2SNoDAC into a
subclass of I2S (renamed from I2SDAC) and remove about 80% of the
code which was identical exept for the per-sample bitstream synthesis.
2018-01-25 19:15:02 -08:00
Earle F. Philhower, III e5d23a4692 Enable Travis-CI builds
Enable automatic building of all examples and SAM(speech) on a
commit by using Travis-CI.  Build against ESP8266 and ESP32.

Minor tweaks to examples and codebase to allow successful compilation
on ESP32 compiler.
2018-01-19 15:57:30 -08:00
Earle F. Philhower, III 244007b0c5 Enable AAC-SBR on ESP-32, there's enough RAM
AAC-SBR allows for lower bitrates to have higher quality audio output,
and is used by many web radio stations.  It was disables on the ESP8266
due to RAM limitations (about 50KB too little), but the ESP32 has no
such problem.  Enable it automatically during compile.
2018-01-18 10:53:03 -08:00
Earle F. Philhower, III bd40d8af6f Include info on using BCLK/LRCLK as inputs w/SWDAC
The bit clock and l/r clock can be used as inputs, per issue #32 testing.
Explain how to do this in the readme.
2018-01-18 10:15:02 -08:00
Earle F. Philhower, III ddf4db187c Update to include 2.4 release + ESP32 support 2018-01-18 10:09:25 -08:00
tueddy 03aa2467f0 Porting for ESP-32 (#33)
* support ESP-32
* make compile with ESP-32/arduino platform
* fixed: use libmad on ESP8266 as original
2018-01-18 08:55:03 -08:00
Earle F. Philhower, III 2e348d2b1f Redirect to original SPIRAM library
Change from my own patched copy of SPIRAM libs to the original source
since the required patches were just commited.
2018-01-04 10:01:50 -08:00
Earle F. Philhower, III 8c7b30add3 Update to include the 2.4.0-rc2 JSON link 2017-12-16 16:17:47 -08:00