Jason (jcreed) wrote,

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

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded