Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions examples/advanced_examples/audio_mixer_tone/README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# Multiple channel mixing example

- [English Version](./README.md)
- 例程难度:![alt text](../../../docs/_static/level_regular.png "中级")
- [中文版本](./README_CN.md)
- Regular Example: ![alt text](../../../docs/_static/level_regular.png "Regular Example")


## 例程简介
## Example Brief

This example demonstrates how to perform multi-channel mixing using the ADF.

```
[sdcard] ---> file_mp3_reader ---> mp3_decoder ---+
[sdcard] ---> file_mp3_reader ---> mp3_decoder ---+
|
[http] -----> http_mp3_reader ---> mp3_decoder-----|
[http] -----> http_mp3_reader ---> mp3_decoder-----|
|
|-------> Audio Mixer ----> i2s_stream_writer ---> [codec_chip] --->PA
[tone] -----> tone_aac_reader ---> aac_decoder-----| |
| |-----> Sdcard
[reorder] ----------> i2s read ------------------- | |
[recorder] ---------> i2s read ------------------- | |
| |-----> Internet
[Others]
```

Refer to the table below for the supported commands:
|Index|Command|Description or Usage|Related Function|
| -- | -- | -- | -- |
|01| play| Play a single audio channel using esp_sudio. Currently, `play` can only play one record, while others can be played using PMixer |cli_play|
|01| play| Play a single audio channel using esp_audio. Currently, `play` can only play one record, while others can be played using PMixer |cli_play|
|02| stop| Stop playing audio initiated by `play` |cli_stop|
|03| pmixer| Play a single audio channel. Multiple channels can be played simultaneously using different slots to achieve mixing effects |cli_play_mixer|
|04| smixer| Stop playback initiated by `pmixer` |cli_replay_mixer|
Expand Down
6 changes: 3 additions & 3 deletions examples/advanced_examples/audio_mixer_tone/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
此示例展示了如何使用 ADF 进行多路混音。

```
[sdcard] ---> file_mp3_reader ---> mp3_decoder ---+
[sdcard] ---> file_mp3_reader ---> mp3_decoder ---+
|
[http] -----> http_mp3_reader ---> mp3_decoder-----|
[http] -----> http_mp3_reader ---> mp3_decoder-----|
|
|-------> Audio Mixer ----> i2s_stream_writer ---> [codec_chip] --->PA
[tone] -----> tone_aac_reader ---> aac_decoder-----| |
| |-----> Sdcard
[reorder] ----------> i2s read ------------------- | |
[recorder] ---------> i2s read ------------------- | |
| |-----> Internet
[Others]
```
Expand Down