Code Monkey home page Code Monkey logo

uke-chord's Introduction

<uke-chord>

A Web Component element for a tab chord diagrams using SVG graphics with no framework dependencies. Can be used for guitar, ukulele, 7 string guitar, 5 string charango, 3 string mountain dulcimer, etc...

alt tag

Usage

Include the following script tag in the head section of your page:

<script src="//pianosnake.github.io/uke-chord/uke-chord.js"></script>

Then start using the custom element. See more examples and a live demo here.

  <uke-chord frets="2001"></uke-chord>

Develop

Download this repo and submit pull requests.

License

MIT License

uke-chord's People

Contributors

pianosnake avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

uke-chord's Issues

How to use it with webpack & Reactjs

Hi,
I am trying to add the this uke-chord to my react project but can't figure out a way to render it. I use webpack to do the packing and attached is my webpack.config.js, but on the webpage it seems like is being treated as a XML tag. Could you help me figure this out?

uke

How to x a string?

Florin,

Loving <uke-chord>! Thank you for creating it! Have you ever considered adding way to x out a string that shouldn't be played? Example:

Which would be triggered with something like:

<uke-chord frets="022x"></uke-chord>

I created a codepen with your awesome JS if you want to check it out (or fork it) and hope you don't mind:

https://codepen.io/pubwriter/pen/abNNMbZ

Thanks,
Brian

Request: Scales

Florin,

I am super grateful to you and your uke-chord JS gift - as it's been a huge teaching aid for me.

Q. Do you think there's any way to expand on it so we can use it for scales?

Example:

Keep up the good work.

Cheers,
Brian

PS: Let me know how I can send you a $ contribution.

Support for position (request)

The nut parameter is a good indicator of whether we are in the first position or not, but it would be good to also have a position indicator, like vexchord does, for example:

image

Outstanding work, thank you very much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.