arduino / arduino/ArduinoCore-API
AudioStream API
- 主要言語
- C++
- スター
- 306
- フォーク
- 150
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi @PaulStoffregen,
We're exploring adding an AudioStream API to Arduino that extends the current Stream type. The draft interface can be found here: [api/Audio/AudioStream.h](https://github.com/arduino/ArduinoCore-API/blob/master/api/Audio/AudioStream.h). We would appreciate any feedback you have on it.
We've taken a look at the Teensy Core's [AudioStream type](https://github.com/PaulStoffregen/cores/blob/master/teensy3/AudioStream.h) and noticed it doesn't have any public interfaces to access the raw sample data. Was this done for performance reasons?
Uses cases we are thinking about include:
- [reading a file from SD card and playing back via I2S or DAC](https://github.com/arduino/ArduinoCore-API/blob/master/api/Audio/examples/WaveToI2S/WaveToI2S.ino)
- [reading data from a I2S or ADC microphone and saving to SD card](https://github.com/arduino/ArduinoCore-API/blob/master/api/Audio/examples/I2SToWave/I2SToWave.ino)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず api/Audio/AudioStream.h と、Audio の例である WaveToI2S/WaveToI2S.ino および I2SToWave/I2SToWave.ino を読み、次にリンク先の Teensy AudioStream type と比較します。この issue は、インターフェースのドラフトと既存の設計の背景にある理由についてフィードバックを求めているため、完了には明確に定義されたコード変更ではなく、合意された API の方向性が必要です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- api, audio-video-rtc, embedded-iot
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100