garbomuffin / nbsplayer Goto Github PK
View Code? Open in Web Editor NEWIt's like Note Block Studio, but as a website.
Home Page: https://garbomuffin.github.io/nbsplayer/
License: MIT License
It's like Note Block Studio, but as a website.
Home Page: https://garbomuffin.github.io/nbsplayer/
License: MIT License
I don't like having to delete all my notes and replacing them.
.nbs files can currently be loaded but cannot be saved. Saving should be supported.
nbs files can contain custom instruments. nbsplayer should support this.
In (almost?) all browsers unfocused tabs are throttled. In this case requestAnimationFrame
is throttled (for good reasons) which prevents the song from advancing.
I don't know what other methods there are to play things in browsers, and especially none that wouldn't require reworking lots of stuff.
Workaround is of course to pop the out into its own window.
nbsjs had this, and it's time to port it to nbsplayer.
Canvas rendering could be faster.
Cache groups of notes in a single texture. A separate drawImage() for every note is very slow, so grouping notes together once and rendering them all together can be significant for speed.
Use WebGL when available. A few small drawImage() and fillRect() shaders are all that would be needed. These would probably be much faster than drawImage() on a 2d canvas. 2d canvas can be used if a WebGL canvas is not available.
The whole layer/note loop is probably slower than it could be.
Horizontally scrolling the song when the user uses a trackpad or the like would be good.
Could use some unit tests or whatever. The UI might be hard to test but NBS.js and editor.js should be possible to test.
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.