Re: [Faudiostream-users] simple sequencer logic

2017-07-06 Thread Beach Dispatcher
Hi Stéphane!

I have tested lf_pulsetrainpos in the same way - it is rather more stable
"clock", but sometimes values are missed anyway,
but rather seldom and the whole work much more stable.

import ("stdfaust.lib");

t = hslider("tempo",1,0,8,0.01);
process = os.lf_pulsetrainpos(t,0.5) : vbargraph ("check",0,1);

Hi Julius!

I have tested this code and it works now..!! ) And more stable that with
pulsen) Can not suppose why..)

Anyway thank you both for participation in my trying to understanding this
great language=)

2017-07-06 21:06 GMT+03:00 Julius Smith :

> Since the lf_pulsetrainpos() method should also worked, I tried to make a
> failing test case, but instead it just worked:
>
> import("stdfaust.lib");
> f = hslider("freq",440,0,1000,1);
> // play = button ("play");
> tempo = hslider("tempo",0,0,4,0.01);
> play = os.lf_pulsetrainpos(tempo,0.5);
> dje = pm.djembe (f,0,2,1,play);
> process = dje;
>
> Can you give me a failing example that looks like it should work?
>
> - Julius
>
> On Thu, Jul 6, 2017 at 10:57 AM, Stéphane Letz  wrote:
>
>> Probably due to too slow  (or missing some values...) Web output display
>> refreshing code.
>>
>> Stéphane
>>
>>
>> > Le 6 juil. 2017 à 19:08, Beach Dispatcher  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,1,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 :
>> > 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 :
>> > 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 :
>> > 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/faudiostrea

Re: [Faudiostream-users] simple sequencer logic

2017-07-06 Thread Julius Smith
Since the lf_pulsetrainpos() method should also worked, I tried to make a
failing test case, but instead it just worked:

import("stdfaust.lib");
f = hslider("freq",440,0,1000,1);
// play = button ("play");
tempo = hslider("tempo",0,0,4,0.01);
play = os.lf_pulsetrainpos(tempo,0.5);
dje = pm.djembe (f,0,2,1,play);
process = dje;

Can you give me a failing example that looks like it should work?

- Julius

On Thu, Jul 6, 2017 at 10:57 AM, Stéphane Letz  wrote:

> Probably due to too slow  (or missing some values...) Web output display
> refreshing code.
>
> Stéphane
>
>
> > Le 6 juil. 2017 à 19:08, Beach Dispatcher  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,1,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 :
> > 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 :
> > 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 :
> > 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

Re: [Faudiostream-users] simple sequencer logic

2017-07-06 Thread Stéphane Letz
Probably due to too slow  (or missing some values...) Web output display 
refreshing code.

Stéphane 


> Le 6 juil. 2017 à 19:08, Beach Dispatcher  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,1,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 :
> 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 :
> 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 :
> 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


Re: [Faudiostream-users] simple sequencer logic

2017-07-06 Thread Beach Dispatcher
One more question, here is the simple code to check the pulsen style
mechanism in work

import ("stdfaust.lib");

n = hslider("period",3000,0,1,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 :

> 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 :
>
>> 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 :
>>
>>> 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


Re: [Faudiostream-users] simple sequencer logic

2017-07-06 Thread Beach Dispatcher
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 :

> 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 :
>
>> 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


Re: [Faudiostream-users] simple sequencer logic

2017-07-05 Thread Yann Orlarey
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 :

> 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


[Faudiostream-users] simple sequencer logic

2017-07-05 Thread Beach Dispatcher
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