Skip to content

OmnimusicSK/the-instrument

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎹 The Instrument

A playable music application consisting of an interactive user interface that triggers synthesizer instruments in realtime.

🌟 features

  • customizable keyboard layout
  • customizable synth voices
  • controlled with mouse actions on computer with keyboard
  • controlled with touch on touch devices
  • fullscreen
  • settings interface
  • colours are choosable
  • settings are remembered for next visit
  • fully web browser compatible
  • Screen resizes if window is resized
  • vertical or horizontal key layout
  • 3D view !!
to be implemented
  • outputs midi signals
  • change scales and tunings
  • arpeggiator
  • add more instruments
  • add expressive controls over synth voices with after touch.
  • multitouch
  • gesture control
  • add percussion backing tracks
  • record actions and playback
  • record output to audio file
  • add particle effects and visualizations

guide on how to deploy on github pages

- if hosting on github,
- i.e., 
- USERNAME.github.io/REPO_NAME
- https://zeukterialpneumaion.github.io/the-instrument/

Step 1: Initialize Git Repository


Run the following commands to initialize a git repository in your Vite app and push your existing code to a remote repository on GitHub.

Step 2: Update vite.config.js


  • Add the base URL in this file by setting the base as “/{repo-name}/”.

  • For example, if your repository’s name is book-landing-page then set the base like this:

    import { defineConfig } from 'vite' import react from '@vitejs/plugin-react'

   // https://vitejs.dev/config/
   export default defineConfig({
       plugins: [react()],
       base: "/book-landing-page/"
   })


Step 3: Install gh-pages


  • Install gh-pages package as a dev dependency.

  • npm install gh-pages --save-dev

  • Step 4: Update package.json

  • Update package.json with the following predeploy and deploy scripts.


"scripts": {
   "predeploy" : "npm run build",
   "deploy" : "gh-pages -d dist",
   ...
}

  • Add the complete website URL by setting homepage in package.json

  • "homepage": "https://{username}.github.io/{repo-name}/"

  • Thus, your updated package.json will look like this:

{
 "name": "book-product",
 "private": true,
 "version": "0.0.0",
 "homepage": "https://zeukterialpneumaion.github.io/the-instrument/",
 "type": "module",
 "scripts": {
   "predeploy" : "npm run build",
   "deploy" : "gh-pages -d dist",
   "dev": "vite",
   "build": "vite build",
   ...
}


Step 5: Run Deploy

  • If you’ve made it till here, you’re almost there. Run the final command:

  • npm run deploy

  • And you’re done!


add this to vite.config.js


export default {
 base: '/<REPO_NAME>/'
}


updating process


  • to update from local repository when changes are made,
  • follow this process:
 - git add .
 - git commit -m "ajh - adding some info to readme"
 - git push -u origin main
 - npm run deploy

ajh. march 2024. jezhoughton@proton.me

About

an instrument!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 96.4%
  • CSS 2.7%
  • Other 0.9%