Skip to content

whitep4nth3r/bandwagon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bandwagon

Join in, everyone else is here

### Task 1

Create a synth keyboard, that plays sound, on which the notes available to play can be enabled/disabled based on a selected key/mode.

  • play sound on click
  • volume control???
  • style synth on click
  • make synth responsive
  • bind synth to keys?
  • set up partykit
  • identify different users with something on the cursor
  • send click event over websocket
  • confirm it works in two windows
  • limit notes based on key

What we learned in Task 1

  • event.buttons
  • Bitwise AND (&)
  • There's a formula to calculate Hz of a note — but the input is based on the note number of the piano key — so it doesn't really translate to other instrument concepts — so we defined the frequencies manually found here
  • It's very difficult to create a piano sound with the Web Audio API unless you use sample files. You can change the pitch of sample files by using the detune function (where you can edit the sound in cents, 100 cents is a semitone).
  • HTML range input has orient="vertical"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published