Giter Site home page Giter Site logo

bgins / coincident-spectra Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 1.0 1.78 MB

A spectral-microtuning additive synthesizer

Home Page: https://coincident-spectra.fission.app/

License: Apache License 2.0

JavaScript 10.40% HTML 5.38% Svelte 43.11% CSS 0.16% TypeScript 40.95%
audio microtuning spectra

coincident-spectra's People

Contributors

bgins avatar jeffgca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jeffgca

coincident-spectra's Issues

Experiment with 32 partials

The additive synth currently uses 16 partials. We may be able to get away with using 32 partials, which would create a richer sound and demonstrate partial retuning more effectively.

Try adding 32 spectra and listen for how the audio holds up. If it works, consider how this will change the UI. Do we display two tables with 16 partials side-by-side? One long table?

Upgrade to SvelteKit stable release

Summary

Problem

SvelteKit has released a 1.0.0, and we aren't using it.

Impact

No immediate impact, but moving to stable brings us forward past breaking changes.

Solution

Upgrade to latest SvelteKit stable release.

Add Get Started modal

Summary

Problem

Users do not have enough context to use the app on first use.

Impact

Users may be confused until they find the more information button that opens the guide.

Solution

Add a welcome modal that describes the app and informs the user how to use it. The modal should have a "Get Started" button that starts WebAudio and initializes the synth.

Improve MIDI device handling

The current MIDI implementation only detects the MIDI devices available at page load. The WebMIDI API has a MIDIConnectionEvent that we should be able to use to detect device connected and disconnected events.

Notes hang when the window loses focus

Summary

Problem

Notes can hang when the window loses focus and the user releases held notes.

Impact

Hung notes. The user has to pause and restart the audio to stop them.

Solution

The Page Visibility API may help in some cases like switching browser tabs, but will not work when a developer switches to another application and the browser window is still visible.

Window blur events might be a better overall solution.

Add more typings

We are missing types in a few places:

  • src/lib/audio/audio.ts and src/lib/audio/additive-synth.js. Update these when Elementary types are available.
  • src/lib/controllers/keyboard.ts, src/lib/controllers/midi.ts, and src/routes/index.svelte.

After updating types, remove ignores from .eslintignore and tighten the rules in .eslintrc.cjs.

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.