Giter VIP home page Giter VIP logo

swift-music-web-playground's Introduction

Swift Music Web Playground

Deploy

A small demo of swift-music-theory in a SwiftWasm + Tokamak web app. Try it out on the web here!

Screenshot

Notes can either be played by clicking with the mouse or via a connected MIDI keyboard (the latter requires a browser that implements the Web MIDI API, see below).

Getting Started

Make sure to have Carton installed. To start the development server that continuously rebuilds the app, run

carton dev

To bundle the app for production, run

carton bundle

Supported Browsers

The base functionality requires a browser that supports HTML5, Canvas and Web Audio, which all modern browsers should provide.

Playing notes with a MIDI controller (e.g. an external MIDI keyboard) requires support for Web MIDI, which is not as widely supported yet. Browsers compatible at the time of writing (August 2022) include:

  • Chromium-based browsers (e.g. Chrome)
  • Firefox Nightly (version 105 or newer) with the following flags:
    • dom.webmidi.enabled set to true
    • dom.webmidi.gated set to false

swift-music-web-playground's People

Contributors

fwcd avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

swift-music-web-playground's Issues

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.