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

piano 封面
套件詳情v1.0.4

piano

用於鋼琴樂譜學習的實用工具和組件。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
108
喜歡數
41
Pub 分數
30

安裝套件

flutter pub add piano

套件介紹

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

鋼琴套件提供一系列工具和組件,專為支援學習鋼琴樂譜而設計。它提供互動式元件,用於顯示和參與音樂記譜,讓使用者能視覺化音符、練習節奏並提升閱讀技能。此套件基於 Flutter 建構,可無縫整合至行動、網頁與桌面平台,非常適合專注於音樂教育的教育應用程式。該套件輕量且可客製化,協助開發者創造直覺的鋼琴學習體驗。

適用情境

  • 互動式樂譜顯示
  • 鋼琴音符識別
  • 音樂教育應用
  • 練習計時器整合
  • 即時反饋系統

主要特色

  • 注意可視化
  • 跨平台相容性
  • 可自訂的 UI 小部件
  • 支援MIDI輸入
  • 與 Flutter 渲染引擎的整合

適合對象

  • 音樂教育工作者
  • 應用開發者
  • 學習鋼琴的學生
  • 教育軟體創作者

使用建議

  • 需要了解音樂記譜法
  • 僅限鋼琴相關內容
  • 依賴外部MIDI或輸入來源
  • 最適合結構化學習環境

原始 README

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

Piano

A Flutter package that provides:

  • logic for working with musical notes, clefs and octaves;
  • a widget that can render notes on a clef;
  • an interactive piano widget.

Where is it used?

In "Learn The Notes", a simple sight reading trainer you can find on the iOS App Store here and macOS App Store here.

Example showing musical clef and interactive piano

How do I use it?

Here's an example app:

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:piano/piano.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CupertinoApp(
        title: 'Piano Demo',
        home: Center(
          child: InteractivePiano(
            highlightedNotes: [
              NotePosition(note: Note.C, octave: 3)
            ],
            naturalColor: Colors.white,
            accidentalColor: Colors.black,
            keyWidth: 60,
            noteRange: NoteRange.forClefs([
              Clef.Treble,
            ]),
            onNotePositionTapped: (position) {
              // Use an audio library like flutter_midi to play the sound
            },
          ),
        ));
  }
}

More like this

  • I blog about Flutter here: https://handform.net/
  • I'm on LinkedIn: https://www.linkedin.com/in/craigbmcmahon/

所屬分類

依賴

依賴清單 3 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。