搜尋套件、儲存庫與 APP 分類

套件詳情v0.4.2

sound_stream

一個用於從麥克風流式傳輸音訊資料並傳送至音訊引擎的 Flutter 外掛,無需使用檔案。

AndroidiOS
近 30 天下載
543
喜歡數
115
Pub 分數
140

安裝套件

flutter pub add sound_stream

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Sound_Stream 是一個 Flutter 插件,可實現從裝置麥克風即時串流音訊至音訊引擎,跳過檔案儲存。它支援低延遲音訊處理,非常適合需要立即音訊回饋或分析的應用程式。此插件支援 Android 與 iOS 平台,可與 Flutter 應用程式無縫整合。開發者可有效率地捕捉並串流原始音訊資料,適用於語音辨識、即時音訊效果或通訊應用。其輕量級設計確保音訊傳輸過程中的額外負荷極小。

適用情境

  • 即時語音處理
  • 即時音訊效果
  • 語音控制的應用程式
  • 音頻分析
  • 通訊應用

主要特色

  • 低延遲音頻串流
  • 無需檔案儲存
  • 原始音訊資料存取
  • 跨平台(Android 與 iOS)
  • 音訊輸入的簡單API

適合對象

  • 開發即時音訊應用的開發者
  • 需要麥克風輸入但不需要檔案的應用
  • 涉及語音辨識或合成的項目
  • 音頻可視化工具
  • 基於聲音的互動式介面

使用建議

  • 需要麥克風權限
  • 長時間使用時可能會大量消耗電池
  • 僅限音訊輸入
  • 可能需要特定於平台的音頻設定
  • 性能取決於裝置硬體

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

sound_stream

This plugin is still in early development stage

A Flutter plugin started from my own needs: Stream audio data from Mic and data to Audio engine without using a file. We can use it to stream audio via network or use it with STT/TTS functions.

Current features:

  • Provides stream of data from mic (Uint8List)
  • Player that receive stream of raw sound data (Uint8List)
  • Support both Android and iOS (cross-platform)
  • Recorder & Player can work simultaneously

Limitations:

To-do list:

  • Support more audio formats
  • Support more platforms (Windows, macOS, Web)
  • Current code might be messy. Should clean it up (someday)

所屬分類

原始碼儲存庫

使用此套件的專案