Jason (jcreed) wrote,
Jason
jcreed

K's off at an atypically Saturdayish Type-Thursday event, so I stuck around the apartment hiding from 100-degree heat, and noodled around with javascript audio programming, as is my wont. Turns out, empirically, at least on my copy of chrome running on a decent desktop machine, if you do a couple of createBufferSources and schedule them to run at the same time sufficiently in the future, they reliably play at exactly the same time, down to the sample. I checked this by making a pulse wave and its inverse, and I got the expected silence when they were played simultaneously.
Tags: programming
Subscribe

  • (no subject)

    Playing around with the agda javascript backend, now. Like, my ears are popping from the sudden change of type-theory-pressure.

  • (no subject)

    https://deadlockempire.github.io is a very cute edutainment game, meant to teach people about deadlocks and race conditions and concurrency…

  • (no subject)

    Today I am reading a page in French about how to adjust a Makefile to make a linux wiimote-over-bluetooth library from 6 years ago compile…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments