GithubHelp home page GithubHelp logo

labs's Introduction

Programming Lab for Sean Chen Piano

This is a page for programming adventures in music and other subjects!

This (unnecessary) SPA is written in Clojurescript with the Shadow-cljs workflow and

Installation

First make sure shadow-cljs is installed, preferrably globally, as these instructions assume the existence of the command shadow-cljs (I'm using yarn):

[yarn global add] shadow-cljs

While you're at it, also do

yarn [install]

First build worker.cljs for release, since that's not going to change often:

shadow-cljs release worker

Development

It's encouraged to start a shadow-cljs if you're going to be running shadow-cljs commands alot, since then you won't need to start a new JVM each time:

shadow-cljs start

Then, watch the app, which will also make a dev server capable of hot reloading:

shadow-cljs watch app

Once it's done, go to localhost:8080.

Release

Just run shadow-cljs release app!

Sub-Apps

The subapps are as follows.

Polyrhythms

This page is a polyrhythmic metronome. It allows you to generate accurate polyrhythms in various tempi. Uses the Web-Audio API and a webworker to schedule the ticks. Visit this blogpost to see details about what this is, why, and how.

TODO

  • Either put a message about landscape being ideal, or make a vertical version
  • Volume/Off controls (individual?)
  • Multiple tracks?

labs's People

Contributors

kamiyo avatar

Watchers

James Cloos avatar  avatar  avatar

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.