パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.0.2

flutter_visualizers

Android専用の、再生中のオーディオを可視化するためのFlutterプラグインです。

30日間ダウンロード
32
いいね数
67
Pub ポイント
40

パッケージをインストール

flutter pub add flutter_visualizers

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

flutter_visualizers は、Android デバイス上でオーディオ再生を可視化するように設計された Flutter プラグインです。リアルタイムでオーディオ信号の視覚的表現を提供し、音楽プレイヤーやオーディオ解析アプリケーションに最適です。このプラグインは、Android の組み込み可視化 API を活用して、アプリ UI に波形やスペクトルグラフを直接レンダリングします。現在は Android のみをサポートしており、クロスプラットフォームでの利用が制限されています。開発者は pub.dev を通じて簡単に統合でき、アプリのデザインに合わせて視覚スタイルをカスタマイズできます。再生中の動的なオーディオフィードバックにより、ユーザーの関与を高めます。

用途

  • 音楽プレイヤー アプリ
  • オーディオ波形の可視化
  • ライブオーディオ分析
  • インタラクティブなオーディオダッシュボード
  • 教育用オーディオツール

主な機能

  • リアルタイムオーディオの可視化
  • Android専用のサポート
  • pub.dev との簡単な統合
  • カスタマイズ可能なビジュアルスタイル
  • 組み込みの Android 可視化 API

適している対象

  • Android向けのオーディオアプリ
  • 音楽とサウンドのビジュアライゼーションプロジェクト
  • リアルタイム音声フィードバックを求める開発者
  • ライブ波形表示を必要とするアプリ
  • 教育または実験用のオーディオツール

注意事項

  • iOS またはその他のプラットフォームでは利用できません
  • Android専用機能に限定
  • Android SDK の設定が必要です
  • 低価格端末でのパフォーマンスに影響を与える可能性があります
  • GitHubリポジトリ以外の公式ドキュメントはありません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

flutter_visualizers (Depreciated & Not maintaining)Pub

A Flutter plugin to Visualize the audio being played (only android).

Usage

  • Add this to your pubspec.yaml

    dependencies:
    flutter_visualizers: ^0.0.2
    
    
  • Get package from Pub:

    flutter packages get
    
  • Import it in your file

    import 'package:flutter_visualizers/flutter_visualizers.dart';
    

Example

  • Firstly, get a audioSessionID from your native android Mediaplayer.

    player.getAudioSessionId()
    
  • Simply Include this code in body

    new Visualizer(
            builder: (BuildContext context, List<int> wave) {
              return new CustomPaint(
                painter: new LineVisualizer(
                  waveData: wave,
                  height: MediaQuery.of(context).size.height,
                  width : MediaQuery.of(context).size.width,
                  color: Colors.blueAccent,
                ),
                child: new Container(),
              );
            },
            id: playerID,
          )
    

    Here playerId is the AudioSessionId which id needed to initialize the Visualizer. (Required Audio Recording Permission in Android)

    See the Complete Example

Sample

Video

Credits

License

Copyright [2019] [Sahdeep Singh]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Getting Started with Flutter

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。