A couple problems with the patch I posted. Any of the bob~ objects need the message [saturation 1( sent to them to function the way I intended.
Also, turns out I was totally wrong about the through zero concept- you need to clip the frequency input of the modulated osc at 0Hz. Attached is a patch that demonstrates this. one of the examples shows use of bob~ to restrict values On Thu, Sep 27, 2018 at 10:50 AM Carl S <[email protected]> wrote: > Here's a patch with some examples using rectification. > > Might be smart to use oversampling just around the max~ object > http://write.flossmanuals.net/pure-data/antialiasing/ > > There's also an example here that just biases the mod osc to positive > values. The sound has a different character, but it shouldn't alias. > > On Sat, Sep 22, 2018 at 7:24 AM, oliver <[email protected]> wrote: > >> Carl wrote: >> >>> hi Oliver, >>> >>> i followed a hunch and patched up a version that has a full wave >>> rectifier before the osc1 mod input. this sounds closer to the example. it >>> sounds even nicer with soft clipping of the mod signal before scaling. oh, >>> and this signal gets added to the pitch input of the osc like in your FM >>> example. it doesn't sound perfect and i could be wrong about this method. >>> it feels okay. >>> >> >> hi, carl ! >> >> thanks a lot for giving it a try. do you mind posting the patch ? >> (I'm not sure i fully understand just by description) >> >> best >> >> >> oliver >> >> >> _______________________________________________ >> [email protected] mailing list >> UNSUBSCRIBE and account-management -> >> https://lists.puredata.info/listinfo/pd-list >> > > > > -- > Sent from my email to yours > -- Sent from my email to yours
#N canvas 71 51 1738 733 10; #X obj 170 225 osc~; #X obj 71 402 +~; #X obj 71 486 osc~; #X obj 115 384 *~; #X obj 72 327 sig~; #X obj 170 340 *~; #X obj 72 271 mtof; #X obj 170 199 mtof; #X obj 170 166 r modfreq; #X obj 72 201 r carfreq; #X obj 69 44 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 4900 1; #X obj 69 64 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 4900 1; #X obj 134 15 loadbang; #X obj 66 98 s modfreq; #X obj 66 118 s carfreq; #X obj 260 38 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X obj 257 58 / 127; #X obj 257 81 t f f; #X obj 257 104 *; #X obj 257 125 s modindex; #X obj 212 203 r modindex; #X obj 212 224 sig~; #X obj 212 247 lop~ 2; #X obj 273 644 hip~ 5; #X obj 273 621 *~ 0.1; #X obj 273 667 dac~; #X obj 71 444 clip~ 0 44100; #X obj 560 105 osc~; #X obj 461 282 +~; #X obj 461 506 osc~; #X obj 505 264 *~; #X obj 462 207 sig~; #X obj 560 220 *~; #X obj 462 151 mtof; #X obj 560 79 mtof; #X obj 560 46 r modfreq; #X obj 462 81 r carfreq; #X obj 602 83 r modindex; #X obj 602 104 sig~; #X obj 602 127 lop~ 2; #X obj 461 332 /~ 22050; #X obj 462 412 bob~; #X obj 462 448 *~ 22050; #X msg 68 19 49; #X obj 115 356 *~ 4; #X obj 482 389 sig~ 0; #X obj 462 309 -~ 22050; #X obj 462 471 +~ 22050; #X obj 505 236 *~ 4; #X obj 473 365 sig~ 22050; #X msg 604 344 saturation 1; #X obj 604 318 loadbang; #X connect 0 0 5 0; #X connect 1 0 26 0; #X connect 3 0 1 1; #X connect 4 0 1 0; #X connect 4 0 44 0; #X connect 5 0 3 0; #X connect 6 0 4 0; #X connect 7 0 0 0; #X connect 8 0 7 0; #X connect 9 0 6 0; #X connect 10 0 13 0; #X connect 11 0 14 0; #X connect 12 0 43 0; #X connect 15 0 16 0; #X connect 16 0 17 0; #X connect 17 0 18 0; #X connect 17 1 18 1; #X connect 18 0 19 0; #X connect 20 0 21 0; #X connect 21 0 22 0; #X connect 22 0 5 1; #X connect 23 0 25 0; #X connect 23 0 25 1; #X connect 24 0 23 0; #X connect 26 0 2 0; #X connect 27 0 32 0; #X connect 28 0 46 0; #X connect 30 0 28 1; #X connect 31 0 28 0; #X connect 31 0 48 0; #X connect 32 0 30 0; #X connect 33 0 31 0; #X connect 34 0 27 0; #X connect 35 0 34 0; #X connect 36 0 33 0; #X connect 37 0 38 0; #X connect 38 0 39 0; #X connect 39 0 32 1; #X connect 40 0 41 0; #X connect 41 0 42 0; #X connect 42 0 47 0; #X connect 43 0 10 0; #X connect 43 0 11 0; #X connect 44 0 3 1; #X connect 45 0 41 2; #X connect 46 0 40 0; #X connect 47 0 29 0; #X connect 48 0 30 1; #X connect 49 0 41 1; #X connect 50 0 41 0; #X connect 51 0 50 0;
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
