Run a GunDB server peer locally. You can use this one: https://github.com/benzguo/gun.server
vprtwn / harp.city Goto Github PK
View Code? Open in Web Editor NEWcollaborative drone music toy
Home Page: https://harp-city.now.sh
collaborative drone music toy
Home Page: https://harp-city.now.sh
Run a GunDB server peer locally. You can use this one: https://github.com/benzguo/gun.server
@eltomito the solution is to invoke Tone.context.resume() from an explicit user action. There is little that a library can do to get around the Autoplay policy, it is something that each developer must do for their own application. i will add a note to the top of the README
For the issue on 13.4.9, the issue is that the audio context is not started. since you've got a deferred callback which actually makes the sound, the browsers aren't able to understand that as an explicit user action starting the audio, so i think Safari won't let you play any sound until a user clicks a button followed directly by either context.resume() or something that makes sound.
For starting the context, it's enough to either call Tone.start() or sampler.context.resume() from within that button callback. I don't think you need to grab into the internal _context.
The second issue with Safari on the typescript branch is because there are no shims on that branch yet, and since Safari requires webkitAudioContext instead of AudioContext and that code isn't in there yet.
try disabling perfect drawing:
https://konvajs.org/docs/performance/Disable_Perfect_Draw.html
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.