Skip to content

Commit d0ef2b4

Browse files
committed
2 parents 788fe2d + 28a8e65 commit d0ef2b4

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Here is an simple example which streams a file from the Flash Memory and writes
3030

3131
uint8_t channels = 2;
3232
uint16_t sample_rate = 22050;
33+
uint8_t bits_per_sample = 16;
3334

3435
MemoryStream music(StarWars30_raw, StarWars30_raw_len);
3536
I2SStream i2s; // Output to I2S
@@ -41,7 +42,7 @@ void setup(){
4142
auto config = i2s.defaultConfig(TX_MODE);
4243
config.sample_rate = sample_rate;
4344
config.channels = channels;
44-
config.bits_per_sample = 16;
45+
config.bits_per_sample = bits_per_sample;
4546
i2s.begin(config);
4647

4748
music.begin();
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
The LyraT Mini is a bit tricky to use because it has a ES8311 which is handling the output and a
2+
ES7243 which is handling the microphone input: both need to be on separate I2S ports.
3+
4+
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
5+
driver with LyratMini!
6+
7+
For the examples install:
8+
9+
- [Arduino AudioTools](https://github.com/pschatzmann/arduino-audio-tools)
10+
- [Arduino Audio Driver](https://github.com/pschatzmann/arduino-audio-driver)

0 commit comments

Comments
 (0)