On 8 Jun 2019, at 12:36 am, zack ztsawte <zacksa...@gmail.com> wrote:
Hello,I'm making a synth for a school project and I want to implement a LFO, but I have no clue where to start. I know you need a WavePlayer with a low frequency, but other than that I have no idea. If someone could help me that would be great!
--
You received this message because you are subscribed to the Google Groups "beadsproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beadsproject...@googlegroups.com.
To post to this group, send email to beadsp...@googlegroups.com.
Visit this group at https://groups.google.com/group/beadsproject.
To view this discussion on the web visit https://groups.google.com/d/msgid/beadsproject/06e13742-b3fc-4132-9437-ec5074cc8e7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, you need a WavePlayer with a low frequency. The question is what you want to control with it. You need to map the WavePlayer’s output to the correct range for whatever it is you want to control (which will be different values depending on what it is). For example, if you’re doing Frequency Mod, your LFO would output frequency ranges.In Processing there is an FM example which shows you this.In general, you can use the ZMap UGen to map the WavePlayer output.This is lazy of me but I don’t have time to look up the correct arguments, but the basic idea is this...WavePlayer lfo = new WavePlayer(ac, 1, Buffer.SINE);ZMap map = new ZMap();map.addThenMultiply(1, 0.5f);map.addInput(lfo);//example of LFO controlling gain amplitude.Gain g = new Gain(ac, 1, map);g.addInput(yourSound);
Ollie
On 8 Jun 2019, at 12:36 am, zack ztsawte <zacksa...@gmail.com> wrote:
Hello,I'm making a synth for a school project and I want to implement a LFO, but I have no clue where to start. I know you need a WavePlayer with a low frequency, but other than that I have no idea. If someone could help me that would be great!--
You received this message because you are subscribed to the Google Groups "beadsproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beadsp...@googlegroups.com.