I got it working !
With "webaudiowasm-worklet" target and https protocol as you mentionned.

Just in case someone else ran into the same problem, there are ways to
launch a secure server with a local ssl key, but browsers won't recognized
it as secure.
So you really need a paid space on a server with security certificates so
that you have https. If you just to test few things out, it appears that
pythonanywhere gives access to https for free for three month with
beginner's account.

@Stéphane Letz <l...@grame.fr> is there a way to overcome the limitation of
stereo live inputs, i.e access all the inputs of an external soundcard
(when more than 2 inputs) ?
If not I guess I can switch to hexaphonic audio files instead of dealing
with live inputs ?
Can you elaborate on how the link between Faust audio plugin and audio
files chosen from a HTML/JS GUI works, please ?

Thanks for your answers,

Loïc


Le lun. 2 nov. 2020 à 15:38, Stéphane Letz <l...@grame.fr> a écrit :

> 1) You can possibly try the Audio Worklet model with «
> webaudiowasm-worklet »  target.
>
> 2) Note that "Audio Input API » is probably only available when you
> deliver the page with https (= secure) protocol.
>
> Stéphane
>
> > Le 2 nov. 2020 à 15:34, Loïc Reboursiere <loicreboursi...@gmail.com> a
> écrit :
> >
> > Hi Stéphane,
> >
> > thanks for your answer.
> > Indeed python simple server works (I use python -m http.server), but the
> open HTML loaded page comes with "Audio Input API not available" although
> faust online IDE works perfectly, just like exemples on this page.
> > I'm using Firefox but the same error shows up in Chrome.
> >
> > Loïc
> >
> > Le lun. 2 nov. 2020 à 11:20, Stéphane Letz <l...@grame.fr> a écrit :
> > The generated HTML page has to be loaded with http:// protocol, not
> file://.
> >
> > So you will have to start a local server, like using «  python -m
> SimpleHTTPServer »  for instance.
> >
> > Stéphane
> >
> > > Le 2 nov. 2020 à 11:15, Loïc Reboursiere <loicreboursi...@gmail.com>
> a écrit :
> > >
> > > Hi,
> > >
> > > I'm working on hexaphonic guitar (electrified guitar with an
> hexaphonic pickup, i.e, one pickup per string) and hexaphonic effects.
> > > By following one of the Faust lockdown webinar I manage to get an
> hexaphonic delay with the following code :
> > > bounce(d) = @(vslider("delay %d[style:knob]", 4410, 0, 44100, 441)) :
> *(vslider("feedback %d[style:knob]", 0.1, 0, 1, 0.01));
> > > monoecho(d) = +~bounce(d);
> > > multiecho(N) = hgroup("hexdelay", par(i, N, monoecho(i)));
> > >
> > > process = multiecho(6);
> > >
> > > I'd like to embed the GUI in an HTML website, but when I try to export
> it in any of the available web formats and launch the generated HTML file,
> nothing appears except for the block size (I guess) menu. I've tried on
> different browsers but nothing changes. I've also tried with Faust examples
> and it doesn't work either.
> > >
> > > What am I missing ? Does it have to do with the "poly voices" option ?
> Or is it be being a newbie to javascript and how to test javascript code ?
> > >
> > > Thanks for your answers,
> > >
> > > Loïc
> > > --
> > > ------------------------------------------------------------
> > > http://www.medicationtime.net
> > > http://soundcloud.com/MedicationTime
> > > http://www.vimeo.com/user2896549
> > > http://vimeo.com/user2896549/videos/all
> > >
> > > http://www.numediart.org
> > > ------------------------------------------------------------
> > > _______________________________________________
> > > Faudiostream-users mailing list
> > > Faudiostream-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> >
> >
> >
> > --
> > ------------------------------------------------------------
> > http://www.medicationtime.net
> > http://soundcloud.com/MedicationTime
> > http://www.vimeo.com/user2896549
> > http://vimeo.com/user2896549/videos/all
> >
> > http://www.numediart.org
> > ------------------------------------------------------------
>
>

-- 
------------------------------------------------------------
http://www.medicationtime.net
http://soundcloud.com/MedicationTime
http://www.vimeo.com/user2896549
http://vimeo.com/user2896549/videos/all

http://www.numediart.org
------------------------------------------------------------
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to