Path: csiph.com!weretis.net!feeder8.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mostowski Collapse Newsgroups: comp.lang.javascript Subject: Re: Building midi message for a software synth Date: Sat, 26 Jun 2021 11:19:37 +0200 Message-ID: References: <419b4226-1b11-48ca-b1eb-4a3cbf9664e2n@googlegroups.com> <2f9df51d-3949-4b6e-8fdb-2c252e93f34cn@googlegroups.com> <7594c976-2202-40c4-8a34-70ad6ff73bcan@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 26 Jun 2021 09:19:40 -0000 (UTC) Injection-Info: solani.org; logging-data="15134"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.8 Cancel-Lock: sha1:FPEJgrLav8rbDXp4+9/4JGqvymg= In-Reply-To: X-User-ID: eJwFwQkBwDAMAkBLSYC0ldNn+JewO6Gz72CrKcsrd50KJgS9mo62+HFGk9YsutPGg1YQI3zyu9TmwTPWDx5bFG8= Xref: csiph.com comp.lang.javascript:40251 I tried something very simple with Dogelog: http://www.dogelog.ch/song.html Strangely it works in Chrome, but doesn't work in Safari. :-( Some description how it was done: Preview: Dogelog plays Mary had a little Lamb. (Jekejeke) https://gist.github.com/jburse/20fff6f056c1f4421874e41769a9c387#gistcomment-3793350 Next step is to use async/await, so that the delay/2 primitive can be replaced by a sleep/1 primitive. Working on it... Mostowski Collapse schrieb: > From the introduction: > > "Audio on the web has been fairly primitive up to this point and until > very recently has had to be delivered through plugins such as Flash and > QuickTime. The introduction of the audio element in HTML5 is very > important, allowing for basic streaming audio playback. > > But, it is not powerful enough to handle more complex audio > applications. For sophisticated web-based games or interactive > applications, another solution is required. It is a goal of this > specification to include the capabilities > > found in modern game audio engines as well as some of the mixing, > processing, and filtering tasks that are found in modern desktop > audio production applications." > https://www.w3.org/TR/2021/REC-webaudio-20210617/ > > Jonas Thörnvall schrieb: >> There probably is but i am not much of a reader of content, i rather >> look at things done and see "if i can figure out"  what going on. >> >