- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Sat, 19 Oct 2013 17:18:14 +0200
- To: Patrick Martin <patrick.martin.r@gmail.com>
- Cc: "public-audio@w3.org" <public-audio@w3.org>
Received on Saturday, 19 October 2013 15:18:41 UTC
One way we've talked about solving this is to allow you to construct an AudioContext with a specified sample rate. Then you should be able to use AudioBufferSourceNode.start(t) to schedule buffers back-to-back and get good results. If you want to have different buffer sequences with different sample rates and mix the results somehow, that gets tricky. You could theoretically do it by hooking together multiple AudioContexts using MediaStreamAudioSource/DestinationNode. It might be better to have a new node type, say AudioBufferSequenceNode, which has a fixed but selectable sample rate and lets you explicitly queue buffers for playback. 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 * *
Received on Saturday, 19 October 2013 15:18:41 UTC