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

패키지 상세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를 통해 쉽게 통합하고 앱 디자인에 맞게 시각 스타일을 커스터마이징할 수 있습니다. 재생 중 동적인 오디오 피드백을 제공함으로써 사용자 참여도를 향상시킵니다.

사용 사례

  • 음악 플레이어 앱
  • 오디오 파형 시각화
  • 라이브 오디오 분석
  • 인터랙티브 오디오 대시보드
  • 교육용 오디오 도구

주요 기능

  • 실시간 오디오 시각화
  • 안드로이드 전용 지원
  • 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.

카테고리

소스 저장소

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

아직 데이터가 없습니다.