simple_sheet_music 0.0.1-dev.1 copy "simple_sheet_music: ^0.0.1-dev.1" to clipboard
simple_sheet_music: ^0.0.1-dev.1 copied to clipboard

A Flutter package for rendering sheet music on canvas.

A Flutter package for rendering sheet music on canvas.

## Features

Can express sheet musics declaratively. Support for multiple single staffs.
Currently supported music symbols are

  • clefs
  • notes(accidentals and fingerings)
  • barlines

    Usage #

    To make the image above, do the following

    musicObjects = [
        Clef(ClefType.treble),
        Note(
            pitch: Pitch.c4,
            noteDuration: NoteDuration.eighth,
            accidental: Accidental.sharp,
            fingering: Fingering.one),
        Note(
            pitch: Pitch.e4,
            noteDuration: NoteDuration.eighth,
            fingering: Fingering.two),
        Note(
            pitch: Pitch.g4,
            noteDuration: NoteDuration.eighth,
            fingering: Fingering.three),
        Note(
            pitch: Pitch.c5,
            noteDuration: NoteDuration.eighth,
            accidental: Accidental.flat,
            fingering: Fingering.four),
    ];
    measure = Measure(musicObjects);
    staff = Staff([measure]);
    SimpleSheetMusic(
        initialClefType: ClefType.treble,
        staffs: [staff],
    )
    

    Future plans #

    Currently planned additions are as follows.

  • Time signatures
  • Rests
  • Various fonts
  • Enrich gestures
  • import from MIDI, MusicXML
  • Grand staff
    ...
  • 11
    likes
    0
    pub points
    61%
    popularity

    Publisher

    unverified uploader

    A Flutter package for rendering sheet music on canvas.

    Repository (GitHub)
    View/report issues

    License

    unknown (license)

    Dependencies

    async, flutter, golden_toolkit

    More

    Packages that depend on simple_sheet_music