• stephano

    hi,

    i know there's already been a post to that topic, but i can't work it out ... or use the information in there.

    so here's my problem.

    i have different frequencies, which i send i osc~
    and i have a range of vol-paramter from 0 to 10

    so i say ie. 1200hz vol5
    4000 hz vol 8
    342 hz vol 2

    and now i need a way that the relation of the volumes in numbers equals the relation what i hear.

    any help?

    thanks
    stephano

    posted in technical issues read more
  • stephano

    hi there,

    i just started working with PD for an art project.
    and somehow i'm stuck with send and receive.

    so reduced from everything special around that's what i want to do:

    i have a number box connected to the right inlet of a float (memory) object.

    and there is math operation objects ("+2", "+15", ...).
    and there's bang object which gets the value stored in the float object.

    because i need the the value of the float object several times i connected its outlet with a send-box ("s Xvalue") and everywhere i need the value of the float object i have a receive object ("r Xvalue").
    and for the same reason - i need the value of the float objects several times - the bang object is connected with the float object throug send-receive ("s getValue" or "r getValue").

    for some reason i don't know after changing value in the number-box then hitting the "getValue" bang, which activates the float memory box, the value hasn't changed. then i hit again and it is changed.

    i have the same situation with a couple of number boxes and with some it's no problem with some it is.

    and generally: isn't there a easier way to set a variable with a value and have it accessable in the whole programm without send/receive or linking
    just as it is in most other programming languages?

    thanks for any help
    stephan

    posted in technical issues read more
  • stephano

    thanks a lot.

    now it works fine.

    i have read about the problems with copy/paste timing .. but forgot about it somewhere on the way:)

    stephano

    posted in technical issues read more
  • stephano

    so heres the patch ...

    that's the excat part that doesn't work.

    so i start the patch.
    enter the values in the number boxes.
    they are saved in the float objects.

    i hit the "get values" bang which activates the float objects which are connected to send objects.
    i save the values received in float objects again (because i wanted to make sure the subPatch "calcSlope" starts only if activeted by me and not with the income of the left inlet at the pack object ... because i haven't figure out what's the "working order" in PD .. which send will be activated first and which last?)
    i hit the calcSlope object to activate the float objects, pack the values, send them to the subPatch.
    same game before it goes on with calcAmplMod1.

    the first time i do it: only Yabs gets the right value, all the others are zero
    the second time i do it, it works.

    @mod: thanks, i will give it try.

    http://www.pdpatchrepo.info/hurleur/problem_send.pd

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!