davetapley / dingr Goto Github PK
View Code? Open in Web Editor NEWDingr figures out out what tunes you can ding with your bells
Dingr figures out out what tunes you can ding with your bells
Can just store it as a '-'
in Tune#notes
.
Disregard them in Tune#match_notes
.
Show how many players are used in a song, and when multiple matches are available for a tune, list the one with the most players used first.
For all incomplete tunes, find the missing notes for the best version we have for each.
Need to find a good way of timing them up with the notes.
Perhaps a string for each note chunk (see #3).
When ever we show the notes for a song, group them in to their time signature.
Can assume 4/4 for now.
/tune/:id/version/:lowest_semitone
This means we can render any tune, even if we don't have enough player bells for it.
When displaying same notes consecutively in a tune, we should chunk them together in a box and/or color, so it's clear.
The player/note could then be shown with the corresponding color.
Currently tune versions are ID by their index in the array returned by match_notes
.
These IDs aren't canonical, and can prevent a user viewing a transpose unless it's a complete (or the current 'best') match.
Instead of assigning colors to players randomly for each song, a player should be able to choose their color from a pool of those maximally distant from other colors.
Set a player unavailable to exclude them for tune computation
Once a song is matched, identify the players used in each song version.
On show page show each player alongside note.
Perhaps group them by color, per #3.
Two parts:
We're trying to display tunes in a time signature (since #1), but we need note length.
I propose all notes are implicitly semibreves, but we may prefix a note with -
. This note would be handled as normal, but could be used as a placeholder to indicate that two notes actually form a breve, thus:
C4 C4
, is two semibreves.
C4 -C4
is a breve.
Find a way to figure out which bell notes we are missing from each song, so that we can potentially find the right bell for it.
Probably add notes/rests first.
Then render a note chunked version (#3) and have a text field for each chunk.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.