August 13th, 2016

beartato phd

(no subject)

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.