Phil Schatzmann

  • Blogs
    • Arduino
    • Data Science
    • Machine Sound
    • Machine Learning
    • Quantitative Trading
    • EDGAR
    • 3D Printing
    • Infrastructure
    • Other Topics
  • Projects
    • The Synthesis ToolKit (SKT) Library for Arduino
    • Investor
    • Smart EDGAR
    • OpenSCAD Kernel
    • News Digest
    • Zolldokumente.ch
    • SwissQR
  • Login
  • Subscribe

Machine Sound

Arduino

TinyUSB: the RP2040 I2S Output Challange

The starting point for writing audio data from USB to I2S using a Rasperry Pico (RP2040) Microcontroller is the speaker example sketch from my extended TinyUSB library. We would just do an i2s.write(data, len) in the callback: Unfortunately this did not work and this was locking up the output quite Read more…

By pschatzmann, 4 months9. January 2025 ago
Machine Sound

Rasperry Picco 2W – Testing Streaming Audio to I2S

Today I found the time to test some audio on the Rasperry Pico 2W Microcontroller. I tried out the standard Interenet Streaming sketch from the Audio Tools examples. Unfortunatly, I noticed that the regular WiFi login logic is quite unreliable, but using the WiFiMulti works each time. Here is the Read more…

By pschatzmann, 4 months2. January 2025 ago
Arduino

Arduino AudioTools: Streaming audio via http post

In my Arduino AudioTools project I am providing many examples that show how to distribute audio over the network. One scenario that is easy to implement, is to write the data via http post. On the server side usually one of the following options is expected: the content length and Read more…

By pschatzmann, 6 months21. November 2024 ago
Arduino

Arduino AudioTools: Audio Number Type Conversion on Stereoids

I am providing the untyped NumberFormatConverterStream class to convert between different signed bit sizes. This class is using the typed templated NumberFormatConverterStreamT do do the actual work. Currently there are also some Codecs that can also be used to convert the nubmer format: e.g. L8, L16 and Float. I decided Read more…

By pschatzmann, 6 months17. November 2024 ago
Arduino

The ESP32 I2S 24 bit Mystery

I had the issue that the 24 bit output via A2DP was not working, but the corresponding 32 bit example was just working fine. So I decided to double check the I2S output with the help of a logical analyzer. Checking 16 bits First I was double checking how the Read more…

By pschatzmann, 6 months16. November 2024 ago
Arduino

Arduino AudioTools: Logging on Stereoids

The Readme from the AudioTools project describes how to use the logger: AudioToolsLogger.begin(Serial, AudioToolsLogLevel::Debug); You can log to any object that is a subclass of Print and valid log level values are: Debug, Info, Warning, Error. But only few peaple realize the power behind this! So let me give you Read more…

By pschatzmann, 6 months9. November 2024 ago
Arduino

Arduino Support for the Lyrat Mini Board

I had some open issue, that the LyraT Mini Audio Board was not working with my AudioTools and AudioDrivers library, so I was digging into this board a bit deeper. Here are the main two differences to the regular supported LyraT or AudioKit boards: It uses a ES8311 codec chip Read more…

By pschatzmann, 6 months3. November 2024 ago
Arduino

Filtering Out Metadata Before Decoding MP3

MP3 files can contain metadata that stores information about the title, the author etc. If you send an MP3 stream with metadata to a decoder, the logic is usually resilient enough to skip this automatically. However there can be some cases where the codec can’t cope and is crashing. One Read more…

By pschatzmann, 6 months29. October 2024 ago
Arduino

TinyUSB Audio: Testing the Microphone Quality using a Stream

In my last blogs, I described how I managed to extend TinyUSB to provide an simple USB Audio device in Arduino. So far I have been using some randon numbers to generate noise. This is not very helpful to check if we lost some samples. A SawTooth wave is much Read more…

By pschatzmann, 7 months25. October 2024 ago
Arduino

A new Architechture for Talkie: TalkiePCM

There are quite a few popular TTS libraries for Arduino but most of them suffer from the same problem: The TTS function is not properly separated from the output function. Architechture In a properly architected solution we would have a A TTS function which produces platfrom independent PCM data An Read more…

By pschatzmann, 7 months21. October 2024 ago

Posts pagination

Previous 1 2 3 … 18 Next
Phil Schatzmann
Rue du Biais 24 B
1957 Ardon
Switzerland

phil.schatzmann@gmail.com

Categories
3D 3D Printed Planes 3D Printing Arduino Data Science EDGAR Infrastructure LogicAnalyzer Machine Learning Machine Sound News Digest OpenSCAD Kernel Other Topics Pico Projects Quantitative Trading RC Text To Speech
RSS RSS
  • Remote Control for the Arduino AudioTools AudioPlayer
  • A Http Live Streaming (HLS) Player with the Arduino Audio Tools

Hestia | Developed by ThemeIsle