/live_view_demo

MIDI piano roll Phoenix LiveView Demo for Phoenix Phrenzy contest

Primary LanguageElixirGNU Affero General Public License v3.0AGPL-3.0

MIDI LiveView Demo

This is my entry in Phoenix Phrenzy, showing off what Phoenix and LiveView can do.

  • Connect MIDI keyboards or controllers to your computer.
  • See music played on a piano roll generated via Phoenix LiveView talking to the Web MIDI API.
  • Listen to notes played by the browser using the Web Audio API.

Screenshot of running app:

MIDI LiveView preview

See it running at https://midiliveview.herokuapp.com/.

The Usual README Content

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

License

Copyright (C) 2019 Rob McKinnon

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.