[flocking] Flocking Playground - One Shot Synth Note

Adam Tindale adamrtindale at gmail.com
Wed Aug 19 13:35:26 EDT 2015


Hi All,

Here is my attempt at this. Currently lfSaw doesn't allow for modulating
its frequency so I have left that out of the mix. Otherwise this should
give you an envelope for each mouse click. Hopefully it is enough of a
start so that you can play with the numbers and experiment with sound
design options, as requested.

a

var synth = flock.synth({
    synthDef: {
        ugen: "flock.ugen.filter.biquad.lp",
        freq: 1000,
        source: {
            ugen: "flock.ugen.lfSaw <http://flock.ugen.lfsaw/>",
            freq: {
                    ugen: "flock.ugen.envGen <http://flock.ugen.envgen/>",
                    envelope: {
                        type: "flock.envelope.adsr",
                        attack: 1.0,
                        decay: 0.5,
                        peak: 2000,
                        sutain: 0.1,
                        release: 1.0
                    },
                    gate: {
                        ugen: "flock.ugen.mouse.click"
                    }
                },
            mul: {
                    ugen: "flock.ugen.envGen <http://flock.ugen.envgen/>",
                    envelope: {
                        type: "flock.envelope.adsr",
                        attack: 1.0,
                        decay: 0.5,
                        peak: 0.15,
                        sutain: 0.1,
                        release: 1.0
                    },
                    gate: {
                        ugen: "flock.ugen.mouse.click"
                    }
                }
        }
    }
});


On Tue, 21 Jul 2015 at 20:00 Steven Dale <lifeinchords at gmail.com> wrote:

> This would be great!
>
>
>
>       ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
>
>          Steven Dale   @lifeinchords <https://twitter.com/lifeinchords>
> @makeparallels <http://www.twitter.com/makeparallels>
>
>       ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
>
>
>
>
>
> On Wed, Jul 22, 2015 at 1:15 AM, Anthony Artmann <artsystems at gmail.com>
> wrote:
>
>> Just a single click to trigger the entire envelope cycle.  Like a drum
>> synthesizer.
>>
>> So you would set:
>>
>> Waveform type
>> Pitch
>> ADSR for pitch
>> ADSR for amplitude
>> ADSR for Low Pass filter
>>
>> I'd love to use it to generate interesting game sounds on the fly.
>>
>> Anthony.
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Jul 22, 2015 at 3:03 AM, Colin Clark <colin at colinclark.org>
>> wrote:
>>
>>> Hi Anthony,
>>>
>>> Great suggestion for a demo, I can whip something up. Just so I'm clear,
>>> when you say "one shot oscillator," what do you have in mind?
>>>
>>> Thanks,
>>>
>>> Colin
>>>
>>>
>>> On Sat, Jul 18, 2015, at 02:31 AM, Anthony Artmann wrote:
>>>
>>> Great work.  I'm excited about this project.
>>>
>>> I wish the playground had an example of a simple synthesizer.  A
>>> one-shot oscillator and LPF, both with ADSR.
>>>
>>> Anthony.
>>>
>>> --
>>>
>>> Anthony Artmann
>>> www.artsystems.com.au
>>> mob. 0417 513 090
>>> *_______________________________________________*
>>> flocking mailing list
>>> flocking at lists.idrc.ocad.ca
>>> http://lists.idrc.ocad.ca/cgi-bin/mailman/listinfo/flocking
>>>
>>>
>>>
>>
>>
>>
>> --
>>
>> Anthony Artmann
>> www.artsystems.com.au
>> mob. 0417 513 090
>>
>> _______________________________________________
>> flocking mailing list
>> flocking at lists.idrc.ocad.ca
>> http://lists.idrc.ocad.ca/cgi-bin/mailman/listinfo/flocking
>>
>>
> _______________________________________________
> flocking mailing list
> flocking at lists.idrc.ocad.ca
> http://lists.idrc.ocad.ca/cgi-bin/mailman/listinfo/flocking
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idrc.ocad.ca/pipermail/flocking/attachments/20150819/161cba54/attachment.html>


More information about the flocking mailing list