• milc

    Hi,

    I encounter a problem while trying to control PD patch with midi.
    I am very bad in math and I have no idea how to map 0 - 127 of midi value to -1 to 1 for my synth's pan.

    In Max/Msp, or SC, I remember that they have an object called [map] or something.(in SC, .linlin method)
    It usually takes four arguments, like (0, 127, -1, 1). then the object will automatically map first two arguments to second two arguments range.

    Does PD has this kind of object?
    Or I should do all in math? (combination of division, multiplying...etc.)

    I wish that there's something...

    thank you.

    posted in technical issues read more
  • milc

    hello.

    I'm using PD for controlling SuperCollider Synths via OSC and having trouble on how to format SC messages in PD format.

    I encounter object like 'sprintf' and honestly do not understand very well.

    I have some SC syntax like,

    a = Synth(\dyn, [\freqs, Array.rand(8, 100, 200), \out,102])

    and

    error: sendOSC: no method for 'sprintf'
    error: sendOSC: no method for '['freqs''
    error: sendOSC: no method for 'Array.rand(8'
    error: sendOSC: no method for 'float'
    error: sendOSC: no method for '200)])'
    sprintf's error: an object created without valid format patterns...
    sprintf's error: an object created without valid format patterns...

    Is there a comprehensive documentation on formatting messages in PD?
    how they interpret things like "[" or commas and stuff.
    I just need to make bunch of message boxes with SC command to send over PD's sendOSC object. it helps me not to type this things in SC but just click it in PD.
    but I have no idea on how sendOSC will interpret strings and intergers, commas, semi-colones...etc.

    'will be much appriciated.

    thank you.

    posted in technical issues read more
  • milc

    Hi,

    it's been more than 2 years since I've tried PD last time. and yesterday I downloaded pd-extended again because I want to use PD to make control for the sound engines in Supercollider (using excellent OpenObject quark in SC).

    For that purpose, I'm now looking for some inspirations. Many people told me that the best way to learn PD is by hacking/studying other people's patches. I am looking for,

    everything about controlling:
    -classical (step) or advanced (generative type) sequencer design.
    -HID/MIDI control intergration to the GUI
    -GUI design, innovative, classic, whatever...
    -GEM patches that interact with control parameters and audio
    -Arduino stuff
    -OSC examples that uses OpenObject or others

    basically, I welcome everything about control with PD, since I do everything related to sound/DSP in SC, I won't need "how to build synth" stuff...

    My knowledge in PD is beginner's one. I barely understand what is "hot" and "cold" inlet. so, any beginner, tutorial type of stuff is also welcome.

    thank you very much!

    posted in technical issues read more
  • milc

    hi,

    it seems that [enumerate( does not work on osx. (10.4.11)

    is that possible to switch between multiple webcams without open dialogue box and
    renew the gem screen?

    thank you

    posted in pixel# read more
  • milc

    I've found this patch on the web to study purpose.
    I think it's simple and small but the problem is I have no idea at all what is 'rms'??

    If I can understand what it is, then it'll be much more clear...

    thanks!!

    #N canvas 0 22 468 635 10;
    #X obj 99 13 inlet;
    #X msg 99 57 bang;
    #X obj 99 158 pack 100 0;
    #X obj 100 477 *~;
    #X obj 100 450 *~;
    #X obj 99 298 dbtorms;
    #X obj 99 327 * 5623.41;
    #X obj 100 380 line~;
    #X obj 100 414 *~;
    #X obj 99 354 pack 1 100;
    #X obj 99 270 * 0.25;
    #X obj 99 238 unpack 0 0;
    #X obj 102 536 dac~;
    #X obj 144 404 noise~;
    #X obj 199 99 delay 50;
    #X obj 167 471 +~;
    #X obj 200 425 noise~;
    #X obj 199 163 pack 0 150;
    #X floatatom 271 134 0 0 0 0 - - -;
    #X floatatom 272 61 0 0 0 0 - - -;
    #X connect 0 0 1 0;
    #X connect 1 0 2 0;
    #X connect 1 0 14 0;
    #X connect 2 0 11 0;
    #X connect 3 0 12 0;
    #X connect 3 0 12 1;
    #X connect 4 0 3 0;
    #X connect 5 0 6 0;
    #X connect 6 0 9 0;
    #X connect 7 0 8 0;
    #X connect 7 0 8 1;
    #X connect 8 0 4 0;
    #X connect 8 0 4 1;
    #X connect 9 0 7 0;
    #X connect 10 0 5 0;
    #X connect 11 0 10 0;
    #X connect 11 1 9 1;
    #X connect 13 0 15 0;
    #X connect 14 0 17 0;
    #X connect 15 0 3 1;
    #X connect 16 0 15 1;
    #X connect 17 0 11 0;
    #X connect 18 0 17 1;
    #X connect 19 0 14 1;

    posted in technical issues read more
  • milc

    Hi, advanced users!!

    I'm trying to make a little sequencer using metro, counter, mod and [sel] object.
    It's a copy of obiwannabe tutorial 001.

    But since I sequence 3 instruments at the same time with a single toggle object to
    on/off metros, I need to all 3 metros starts at the same value each time I stop and restart metros.
    one metro is attached to counter and it starts everytime where it was stopped previously....

    other two metros, no idea where it starts each time!!

    It's very hard to sync them humanly.
    Is there a way to start a counter and metro everytime from 0??

    here's the part of my patch

    #N canvas 73 76 927 339 10;
    #X obj 296 104 + 1;
    #X obj 253 105 f 0;
    #X obj 256 83 t b b;
    #X obj 251 134 mod 16;
    #X obj 241 161 select 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15;
    #X floatatom 289 217 5 0 0 0 - - -;
    #X floatatom 452 241 5 0 0 0 - - -;
    #X floatatom 241 223 5 0 0 0 - - -;
    #X floatatom 373 221 5 0 0 0 - - -;
    #X floatatom 422 195 5 0 0 0 - - -;
    #X floatatom 535 220 5 0 0 0 - - -;
    #X obj 538 37 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0
    1;
    #X obj 574 153 bng 15 250 50 0 empty empty empty 0 -6 0 8 -241291 -1
    -1;
    #X obj 816 121 bng 15 250 50 0 empty empty empty 0 -6 0 8 -241291 -1
    -1;
    #X obj 760 88 del 960;
    #X obj 750 39 metro 960;
    #X obj 274 12 metro 120;
    #X obj 591 115 del 120;
    #X obj 550 83 metro 1920;
    #X floatatom 345 127 5 0 0 0 - - -;
    #X connect 0 0 1 1;
    #X connect 1 0 0 0;
    #X connect 1 0 3 0;
    #X connect 2 0 1 0;
    #X connect 3 0 4 0;
    #X connect 3 0 19 0;
    #X connect 4 0 7 0;
    #X connect 4 1 5 0;
    #X connect 4 3 8 0;
    #X connect 4 6 5 0;
    #X connect 4 9 8 0;
    #X connect 4 11 9 0;
    #X connect 4 15 6 0;
    #X connect 4 16 10 0;
    #X connect 11 0 15 0;
    #X connect 11 0 16 0;
    #X connect 11 0 18 0;
    #X connect 14 0 13 0;
    #X connect 15 0 14 0;
    #X connect 16 0 2 0;
    #X connect 18 0 12 0;

    thanks in advance!!!

    posted in technical issues read more
  • milc

    hi, advanced users!

    I couldn't get much help on vline~ help file.

    What I want to do is to make long and dynamic amplitude control on
    repetitive osc~ frequencies, so that the cycle of osc~ output becomes "musical" period.

    But each time I try to put some list in the vline~,
    it just doesn't work.

    Can I make, at least, some kind of continuous vibrato effect with vline~?
    or is there a better object for that?
    any examples?

    As you can notice, I'm extremely newbie in both DSP and PD world.

    By the way, what does it mean "a time interval" and "initial delay" of vline~??

    I'm sorry if I'm too stupid, but it's very hard to know alone....

    please help me!!

    here's my poor patch trying to make musical amplitude control....

    #N canvas 748 414 454 304 10;
    #X obj 64 175 osc~ 440;
    #X obj 75 240 dac~;
    #X obj 297 242 ezdac~;
    #X obj 130 141 vline~;
    #X obj 67 209 *~;
    #X obj 140 45 metro 2000;
    #X obj 142 11 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0
    1;
    #X msg 137 74 1 1200 \, 0 230 800;
    #X connect 0 0 4 0;
    #X connect 3 0 4 1;
    #X connect 4 0 1 0;
    #X connect 4 0 1 1;
    #X connect 5 0 7 0;
    #X connect 6 0 5 0;
    #X connect 7 0 3 0;

    thank you very very much for any help!!!!

    posted in technical issues read more
  • milc

    Hi, I'm totally newbie in PD/Gem.
    I'm doing the included manual stuff, and I'm having fun just display images in Gem window.
    The only problem is that, when I use [pix_image] and [pix_draw] objects,
    it shows images upside down.

    why this happens and how to solve this problem?
    it will be awful if I have to fix this by using rotate object each time I load an image in Gem window.....

    posted in pixel# read more
  • milc

    Hi,

    I saw once in Max/Msp, people can export their patches in text format then re-import it in Max.

    I'm pretty sure that in PD, we can do it too, but how?

    For example, I have this copied from obiwannabe site;

    #N canvas 0 0 401 227 10;
    #X obj 17 69 metro 300;
    #X obj 17 93 random 24;
    #X obj 17 116 + 48;
    #X floatatom 35 141 5 0 0 0 - - -;
    #X obj 17 44 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
    ;
    #X obj 17 165 osc~;
    #X obj 17 198 dac~;
    #X text 45 13 random note;
    #X text 96 118 add 48 as lower limit;
    #X text 96 70 a timebase generates bang messages;
    #X text 96 142 random range is 48 to 71;
    #X text 96 94 random number zero to 23;
    #X connect 0 0 1 0;
    #X connect 1 0 2 0;
    #X connect 2 0 3 0;
    #X connect 2 0 5 0;
    #X connect 4 0 0 0;
    #X connect 5 0 6 0;
    #X connect 5 0 6 1;

    then, how can I make it work in my PD?

    thanks!

    posted in technical issues read more
  • milc

    Hi,

    when I render some 3d shapes, like boxes, cubes, or [textextruded],
    I alwyas have this default shape in the center of gem window.
    for example with [textextruded], I always have "gem" written in the center and I just can't remove or erase it...

    any help??

    thanks

    posted in pixel# read more

Internal error.

Oops! Looks like something went wrong!