Giter Club home page Giter Club logo

bach's Introduction

bach

๐ŸŽผ Semantic music notation


build npm clojars

Introduction

bach is a semantic music notation designed to be both human and computer friendly.

Although its primary domain is music, bach enables the synchronization of rhythmic timelines with just about anything.

โš ๏ธ The project is still considered experimental should not be used in production.

Documentation

Before diving into the docs, please note that bach is a new data format, so naturally there is limited tooling and integration support for it today.

But whether you're an adventerous musician or a developer exploring bach for their project, we advise that you read our Guide page since it provides the most comphrensive overview of bach available.

Example

The following bach data represents the loopable progression of a rock backing track.

๐ŸŽน Try running it in the bach editor!

@meter = 4|4
@tempo = 83

:A = [
  3/8 -> {
    scale('E aeolian')
    chord('Em9')
  }
  5/8 -> chord('C')
  3/8 -> chord('Em9')
  4/8 -> chord('C')
  9/8 -> chord('C/D')
]

:B = [
  3/8 -> chord('B')
  5/8 -> chord('Em9')
  1 -> chord('Em9')
]

:C = [
  3/8 -> chord('B')
  5/8 -> chord('G')
  1 -> chord('G')
]

play! [
  7 of :A
  2 of :B
  3 of [
    :C
    when !{ last? } do { :B }
  ]
  3/8 -> chord('B')
  5/8 -> chord('Em9')
  1 -> chord('B7b13')
]

You can find more examples of bach in the Examples page of the documentation.

License

MIT

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.