fretboard

Project Url: fluxtah/fretboard
Introduction: A guitar chord chart widget written for Jetpack Compose
More: Author   ReportBugs   
Tags:

FretboardFretboard is a small library written in Jetpack Compose to create chord charts for guitars.

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContent {
            MaterialTheme {
                Container {
                    GuitarChord(
                        fingering = "2|3|2|0|x|x",
                        fromFret = 0,
                        toFret = 5)
                }
            }
        }
    }
}

How to get Fretboard into your build:

Step 1. Add the JitPack repository to your build file

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

Step 2. Add the dependency

dependencies {
  implementation 'com.github.fluxtah:fretboard:0.1.60'
}

Licence

Copyright 2020 Ian Warwick

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.
Apps
About Me
GitHub: Trinea
Facebook: Dev Tools