* Fix the order of mono samples (each pair was swapped)
* Remove comment on version and date (currently tracked within ESP8266Audio repo)
* Added some usage instructions to the header file
* Delete sample in buffer after being rendered (ULP) to avoid sound looping in the buffer at the end of playback
Co-authored-by: Martin-Laclaustra <Martin-Laclaustra@github.com>
* Modified AudioFileSourceFS.h to add resolution operator on items defined into the fs namespace in esp32 libraries.
* Added track, set, popularimeter, compilation tags.
Changed framesize loop with 32bit counter to avoid endless loops for large frames (like APIC).
Co-authored-by: Pierre-Loup Martin <lelabodutroisieme@gmail.com>
Code courtesy of Martin Laclaustra.
Uses the ULP coprocessor on the ESP32 to send samples to the onboard
DACs, freeing the I2S port for other uses.
Connect left output to pin 25, right to pin 26.
When reusing the AudioGeneratorMP3 object to play multiple files with errors, the error count was never reset.
Also, if 3 errors are encountered, it would stop running but never clean up the buffers.
PlatformIO requires these dependencies to be explicitly mentioned. Please check the version numbers of the libraries specified are correct. However, v1.0 for each allows for successful builds. Thanks!
* separate malloc structures
* add desync() for user when randomly seeking in the input file
fix corner cases leading to exceptions when seeking
* additional test when trying to crash-shake everything
with a rotary encoder seeking into the currently played file
* use private instead of static
* remove temporary debug code
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
Patch 21c07c0bcd702e7adf3db349ac926914b98d17ce was applied to the TSF's
original code, but not to the fixed-point generator used by the ESP8266.
Apply it to the FP unit as well.
Spotted by Marc Madaule
Velocity in the MIDI format goes from 1...127, so scale the volume of
the note generator by /128 instead of /256. Increases volume of all
notes by 2x linearly (3dB).
Found by Marc Madaule
Valgrind identified cases where the chunk read position came out to be
-1, which was causing a read of memory before the actual cache buffers.
This could result in add'l noise on playback.
Rewrite https://github.com/going-digital/Talkie to work in the
ESP8266Audio framework. Allows sync and async speech.
Add a very annoying talking clock example.
Keep track of how many values are actually good in the buffer (before it
was always guaranteed to be the full size) and when EOF is detected,
only shift out valid, good bytes, and return STOP when the unused bytes
are 0 or unchanged from the last pass.
Fixes#265
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.
Merge the upstream changes to the FLAC library up to commit
7a35c528495b6d8a51e87e007f6810b5553101bc.
Shouldn't have any real impact to existing code.
Tested with the example and runs well.
LibTinySoundFont has been modified significantly since I forked
it to do the ESP8266 edits. Update to latest merges.
Tested using the LittleFS MIDI example and seems to work well.
LittleFS reads many times faster than SPIFFS, and is now in the ESP8266,
so include a file source for it and move the MIDI example to LittleFS.
Keep the SPIFFS as ESP32 doesn't support LittleFS yet.
Seems like VSCODE and others try and compile all files in a directory,
even if they aren't used. Because the spiram-fast had ESP8266-only
registers, it caused an error when attempting to build anything for the
ESP32.
Update by writing a new SPI class based version of the spiram-fast class
(tested on the ESP8266) which uses the SPI wrapper class.
Fixes#253