Probably due to too slow (or missing some values...) Web output display refreshing code.
Stéphane > Le 6 juil. 2017 à 19:08, Beach Dispatcher <bdd...@gmail.com> a écrit : > > One more question, here is the simple code to check the pulsen style > mechanism in work > > import ("stdfaust.lib"); > > n = hslider("period",3000,0,10000,1):int; > incr = +(1)~_; > process = (incr%n),n/2 : > :vbargraph ("check",0,5); > > > if to run it on online compiler to web/audio- the 0/1 clock is unstable, is > it because of the remote execution on server? > > > 2017-07-06 12:48 GMT+03:00 Beach Dispatcher <bdd...@gmail.com>: > Hi Yann! > > Thank you very much for the advice - it works! > > By the way, I try to compile the following code in online compiler - all is > good, but there is some crack and clicks. > Is it because of the online compiler, or should I think about some signal > shaping and smoothing? > > > import ("stdfaust.lib"); > p = hslider("prd",4800,2000,16000,10); > f = hslider("freq",300,0,1000,1); > > dje = pm.djembe(f,0,2,1,ba.pulsen(300,p)); > del = de.delay(31970,73670); > > process = dje <:_,del; > > > > > > > 2017-07-06 0:24 GMT+03:00 Yann Orlarey <orla...@grame.fr>: > Hi Sergey, > > Thanks for your kind words! > > One solution is to play the djembe using the ba.pulsen() function. For > example: > > dje = pm.djembe (f,0,2,1, ba.pulsen(200, 4800)); > > You can also combine pulses using | and & operators: > > dje = pm.djembe (f,0,2,1, ba.pulsen(100, 4800) | ba.pulsen(400, 4800*3) | > ba.pulsen(800, 4800*7)); > > etc. > > Cheers > > Yann > > > > > > > ------------------------- > > Yann Orlarey > Directeur scientifique > www.grame.fr > > > > 2017-07-05 19:03 GMT+02:00 Beach Dispatcher <bdd...@gmail.com>: > Hi Everybody! > > First of all - great thanks to Faust developers! - it is a piece of art that > you made=) I appreciate > your work very much! it is really greatest thing - Faust language. > > Im a very beginner newbuy, and my question will seem very foolish, but if > somebody > could help to explain me - I will be very glad=) > > I want to use simple sequencer to drive djembe module for example. > > here is the code: > > import("stdfaust.lib"); > > f = hslider("freq",440,0,1000,1); > play = button ("play"); > > dje = pm.djembe (f,0,2,1,play); > > process = dje; > > So, how is possible to change "play" parameter from 0 to 1 with the temp > regulator? > I tried to use: > tempo = hslider("tempo",0,0,4,0.01); > play = os.lf_pulsetrainpos(tempo,0.5); > > but to not work > > > Could you please explain how is better to make simple sequencer logic to > drive the triggers of instruments like djembe? Where the trigger > is the variable in function of instrument. > > Thanks in advance for any help to expand my understanding of this logic > > Sergey Vasilyev > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Faudiostream-users mailing list > Faudiostream-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/faudiostream-users > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Faudiostream-users mailing list > Faudiostream-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/faudiostream-users > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! > http://sdm.link/slashdot_______________________________________________ > Faudiostream-users mailing list > Faudiostream-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/faudiostream-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users