패키지, 저장소 및 앱 카테고리 검색

flutter_sound 표지
패키지 상세v9.30.0

flutter_sound

오디오 재생 및 녹음용 완전한 API입니다. Tau 가족의 일원입니다. 오디오 플레이어, 오디오 레코더. 우크라이나를 위해 기도하세요.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
8.2만
좋아요
1.6천
Pub 점수
140

패키지 설치

flutter pub add flutter_sound

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Flutter Sound는 여러 플랫폼에서 오디오 재생 및 녹음을 가능하게 하는 Flutter용 포괄적인 오디오 라이브러리입니다. 'Tau' 가족의 일원으로, 안드로이드, iOS, 웹, macOS, Windows, 리눅스에서 오디오 작업을 위한 통합 API를 제공합니다. 간단함과 신뢰성을 중시하여 설계되었으며 다양한 오디오 형식을 지원하고 실시간 오디오 처리 기능도 제공합니다. 오디오 플레이어와 레코더가 모두 포함되어 있어 강력한 오디오 기능이 필요한 앱에 적합합니다. 설명에는 우크라이나를 지지하는 진심 어린 메시지도 포함되어 있습니다.

사용 사례

  • 모바일 및 데스크톱 앱에서 오디오 재생
  • 실시간 오디오 녹음
  • 음성 메모 애플리케이션
  • 음악 플레이어 통합
  • 오디오 처리 워크플로우
  • 크로스플랫폼 오디오 솔루션

주요 기능

  • 재생 및 녹음 지원
  • 다중 플랫폼 호환성
  • 다양한 플랫폼 간 통합 API
  • 실시간 오디오 처리
  • 내장 오디오 형식 지원
  • Tau 가족 생태계의 일부

적합한 대상

  • 오디오 중심 앱을 개발하는 개발자
  • 크로스 플랫폼 오디오 애플리케이션
  • 음성 녹음이 필요한 앱
  • 미디어 플레이어 및 팟캐스트 앱
  • 교육 또는 커뮤니케이션 도구

고려 사항

  • 플랫폼별 권한이 필요합니다
  • 웹용으로 추가 구성이 필요할 수 있습니다
  • 네이티브 종속성으로 인해 패키지 크기가 큼
  • 기본 사용법을 넘어서는 문서가 제한적
  • 저사양 기기에서 성능 오버헤드 가능성

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

pub version Flutter Sound

Flutter Sound as a τ Project

Flutter Sound is a set of libraries which deal with audio :

  • A player for audio playback
  • A recorder for recording audio
  • Several utilities to handle audio files

Demo

Overview

Flutter Sound is a library package allowing you to play and record audio for :

  • iOS
  • Android
  • Web

The Flutter Sound package supports playback from:

  • Dart buffers
  • Assets
  • Files
  • Remote URL
  • Dart Streams

The Flutter Sound package supports recording to:

  • Dart buffers
  • Files
  • Dart Streams

SDK requirements

  • Flutter Sound requires an iOS 10.0 SDK (or later)
  • Flutter Sound requires an Android 21 (or later)
  • Flutter Sound is OK with the main Web browsers
    • Google Chrome
    • Firefox
    • Safari

Examples (Demo Apps)

Flutter Sound comes with several Demo/Examples.

You can run a live view of these examples here.

Features

The Flutter Sound package includes the following features :

  • Play and Record sound or music with various codecs. (See the supported codecs here)
  • Play local or remote files specified by their URL.
  • Play assets.
  • Play from a dart stream
  • Playback from a live dart Stream
  • Support for releasing/resuming resources when the app pauses/resumes.

Flutter Sound and Streams

Streams support is a main Flutter Sound feature that is very exciting.

  • Flutter Sound can record to a dart stream of audio data (PCM Float32 or PCM Int16). This let you process live audio data in dart, or send these data to a remote host.
  • Flutter Sound can playback from a dart stream of audio data (PCM Float32 or PCM Int16). This let play live audio data generated from dart (sequencer, sound generator, ...) or from a remote host.

You can look to the FS Streams guide.

License

  • Flutter Sound is published under the MPL-2.0 License.
  • Flutter Sound is copyrighted by Dooboolab and Canardoux.
  • Flutter Sound is now released under the permissive Mozilla license which has a weak copyleft clause: if you modify some of Flutter Sound code you must publish your modifications under the MPL license too. But you may publish your App with any license you want. Even a Proprietary/Closed-Sources License (shame on you!).
  • The Tau documentation is published under the Creative Commons CC BY-NC-SA 4.0 license.

The τ family

The Tau family begins to be rich :). It is composed by those following Flutter plugins.

  • Flutter Sound 9.x (this legacy plugin developed for many years)
  • Etau (which is a port on Flutter Web of the W3C Web Audio API)
  • Tauweb (which is the Etau implementation for Flutter Web)
  • Tauwar (which is the Etau implementation for Flutter on mobiles)
  • Taudio (which is (will be) something like Flutter Sound 10.0)

Architecture

Etau

This is (will be) an implementation on flutter of the W3C Web Audio API. Etau is actually in a developement state. It is an Alpha version. Even not a Beta version. There are many things to do before you can use it. Specially:

  • A documentation (TODO)
  • A support of the three main platforms:
    • Web
    • iOS (TODO)
    • Android (TODO)

The Web Audio API is terrific:

Because the Web Audio API is a W3C recommandation, you can find very good documentations on the Web. Of course, the Mozilla documentation but also documentation from other sources.

In a few words, the Web Audio API let you assembly nodes as a Node Chain, from a Source Node (perhaps the mic), to a Destination Node (perhaps the speaker), threw several nodes able to process the sound (echo, analyzer, panner, distorder, ...). But you really should look to the Mozilla documentation which is very good.

Now, you will have to ask yourself if you must use Taudio (which is just a wrapper around Etau), or directly Etau. The W3C recommandation is powerful but simple to use. There are probably no many reasons to use Taudio any longer.

Etau is (will be) released under the Gnu Public Licence v3 (GPL v3).

Taudio

The current Flutter Sound version is 9.x. Taudio is a new name for Flutter Sound 10.0. Taudio is actually in a developement state. It is an Alpha version. Even not a Beta version. There are many things to do before you can use it. Specially:

  • A documentation (TODO)
  • A support of the three main platforms:
    • Web (TODO)
    • iOS (TODO)
    • Android (TODO)

Taudio is (will be) released under the Gnu Public Licence v3 (GPL v3). This mean that if you don't want, cannot or maynot release your App under a GPL License, you must stuck with Flutter Sound 9.x. This is not a big deal: Flutter Sound v 9.x will be maintained for a forseable future.

Taudio is a complete rewritten of Flutter Sound 9.x. It keeps compatibility with the Flutter Sound 9.x API but adds a new wrapper above Etau.

Flutter Sound stands with Ukraine

PeaceForUkraine Peace for Ukraine

PrayForUkraine

We need help

{: .important } We greatly appreciate any contributions to the project which can be as simple as providing feedback on the API or documentation.

Actually, I am almost alone to maintain and develop three important projects :

  • Etau
  • Flutter Sound 9.x
  • Taudio (flutter Sound 10.0)

This is too much on my shoulders. We desesperatly need at least one other developer.

Thanks

{: .note }

If you like my work, you can click on the Thumb up button of the top of the pub.dev page.

This is free and this will reassure me that I do not spend most of my life for nobody.

카테고리

의존성

의존성 목록 7 개

소스 저장소

이 패키지를 사용하는 프로젝트