Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Nov 3, 2024
2 parents 788fe2d + 28a8e65 commit d0ef2b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Here is an simple example which streams a file from the Flash Memory and writes

uint8_t channels = 2;
uint16_t sample_rate = 22050;
uint8_t bits_per_sample = 16;

MemoryStream music(StarWars30_raw, StarWars30_raw_len);
I2SStream i2s; // Output to I2S
Expand All @@ -41,7 +42,7 @@ void setup(){
auto config = i2s.defaultConfig(TX_MODE);
config.sample_rate = sample_rate;
config.channels = channels;
config.bits_per_sample = 16;
config.bits_per_sample = bits_per_sample;
i2s.begin(config);

music.begin();
Expand Down
10 changes: 10 additions & 0 deletions examples/examples-custom-boards/lyrat-mini/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
The LyraT Mini is a bit tricky to use because it has a ES8311 which is handling the output and a
ES7243 which is handling the microphone input: both need to be on separate I2S ports.

You should be able to use the examples that can be found in the [audiokit directory](https://github.com/pschatzmann/arduino-audio-tools/tree/main/examples/examples-audiokit): just replace the
driver with LyratMini!

For the examples install:

- [Arduino AudioTools](https://github.com/pschatzmann/arduino-audio-tools)
- [Arduino Audio Driver](https://github.com/pschatzmann/arduino-audio-driver)

0 comments on commit d0ef2b4

Please sign in to comment.