That does seem like a clean solution to these problems of ensuring glitch free playback. It also gets rid of aliasing issues at the same time.
On Jun 26, 2013, at 2:29 AM, Robert O'Callahan <robert@ocallahan.org> wrote:
> On Wed, Jun 19, 2013 at 5:31 AM, Chris Rogers <crogers@google.com> wrote:
> There has been some discussion of allowing an AudioContext to be created at a specific sample-rate, which can handle some of these sample-rate cases when used in conjunction with AudioBufferSourceNode.
>
> I think that's the way to go here.
>
> With MediaStreamDestinationNode and MediaStreamAudioSourceNode you can even stitch together multiple AudioContexts running at different sample rates.
>
> Rob
> --
> Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iyvoeunr, 'm aotr atnod sgaoy ,h o'mGee.t" uTph eann dt hwea lmka'n? gBoutt uIp waanndt wyeonut thoo mken.o w
. . . . . ...Joe
Joe Berkovitz
President
Noteflight LLC
Boston, Mass.
phone: +1 978 314 6271
www.noteflight.com
"Your music, everywhere"