vst~ how do i stop eternal sustain?


    Jul 03 2008 | 6:20 am
    hi
    i have made a patch that allows me to load vsti's and choose presets (by number rather than by name but useful anyway) and seems to work with most of the vsti's i have. the only problem is that with some vst synths when i press a key on my controller keyboard the note generated lasts forever (or until i disable dac), which is not useful. i have spent a while trying to work out why this is the case to no avail. does anybody know how to stop the eternal sustain?
    thanks
    this is a great forum
    lee

    • Jul 03 2008 | 6:44 am
      On Jul 2, 2008, at 11:20 PM, lee gregory wrote:
      > does anybody know how to stop the eternal sustain?
      Without your patch to look at, it would only be a guess.
      Are you using a stripnote before sending it on to the VST?
      -C
      Chris Muir
      cbm@well.com
    • Jul 03 2008 | 7:15 am
      hi
      i am unsure how to export my patch as text (as i have never had to do it before) so have attached a png image file with this reply. any help is most appreciated.
      i am not using a stripnote, should i be?
      thanks
      lee
      [img]index.php?t=getfile&id=1778&private=0[/img]
    • Jul 03 2008 | 7:56 am
      You should try [sustain].
    • Jul 03 2008 | 7:56 am
      On Jul 2, 2008, lee gregory wrote:
      >
      > i am unsure how to export my patch as text (as i have never had to
      > do it before) so have attached a png image file with this reply. any
      > help is most appreciated.
      To get a text representation of any part of a patch, select the area
      that you want to copy, then select "Copy Compressed" from the edit menu.
      It looks to me like you are trying to do something in a "cargo cult"
      fashion, trying to extrapolate from an example in a help file without
      understanding what it's doing.
      All the stuff between your notein and the vst~ instance is wrong, I
      think. It's much simpler than you are trying to do. This is a one
      object solution with sprintf, but a solution with pack and prepend is
      pretty simple too.
      -C
      Chris Muir
      cbm@well.com
    • Jul 03 2008 | 8:19 am
      >hi
      >i am unsure how to export my patch as text (as i have never had to
      >do it before) so have attached a png image file with this reply.
      >any help is most appreciated.
      >
      you simply do not send note-offs (which are actually velocity 0, and
      send when you release a key)
      best
      kasper
      --
      Kasper T. Toeplitz
      noise, composition, bass, computer
    • Jul 03 2008 | 8:49 am
      hi
      yes this is based on information i got from a help file, thats what help files are for, to be helpful, and i do understand what its doing.
      if all the stuff between the note in and vst~ is wrong its strange that it works!
      thanks fo your help
      lee
    • Jul 03 2008 | 10:59 am
      >hi
      >yes this is based on information i got from a help file, thats what
      >help files are for, to be helpful, and i do understand what its
      >doing.
      >if all the stuff between the note in and vst~ is wrong its strange
      >that it works!
      >thanks fo your help
      >lee
      hi
      the help file for vst gives the exemple message [midievent 144 64 60]
      (for playin on channel 1 the midi note 64 with a velocity of 60) and
      [midievent 144 64 0] for stopping it (velocity 0)
      now the help of notein shwows you how the object outputs (from l->r)
      the midi pitch and the velocity
      so yes, all the stuff you put between notein and vst works (but you
      have no velocity 0) but is pretty useless..........
      notein -> midievent 144 $1 $2 ->vst~ is enough
      best
      kasper
      --
      Kasper T. Toeplitz
      noise, composition, bass, computer
    • Jul 03 2008 | 4:10 pm
      On Jul 3, 2008, at 1:49 AM, lee gregory wrote:
      > yes this is based on information i got from a help file, thats what
      > help files are for, to be helpful, and i do understand what its doing.
      If you say so.
      > if all the stuff between the note in and vst~ is wrong its strange
      > that it works!
      Then why are you having the "eternal sustain" problem?
      It only sort-of works, because you only sort-of understand what's
      going on.
      Here's a different example:
      -C
      Chris Muir
      cbm@well.com
    • Jul 03 2008 | 5:22 pm
      kasper
      i only used the vst~ help file as it is a new object and i'm a musician not a computer programmer. I am well aware of how to use the notein object. i have been using max for about 8 months and have created a number of patches prior to this one, which is part of a larger patch anyway.
      i hope you are enjoying being a clever git though.
      chris
      thanks for your slightly less smug reply and the example patch, i will check it out shortly in the hope of increasing my understanding.
      lee
    • Jul 03 2008 | 5:39 pm
      On Jul 3, 2008, at 10:22 AM, lee gregory wrote:
      > thanks for your slightly less smug reply and the example patch
      Lee,
      As far as I'm concerned, when asking for help here, you can either be
      humble and incorrect, or arrogant and correct.
      Your method of being arrogant and incorrect is not working for me.
      Go help yourself.
      -C
      Chris Muir
      cbm@well.com
    • Jul 03 2008 | 8:55 pm
      Lee, I'd like to simply point out that your patch was indeed not working properly, hence your request for assistance. Your protestations to the contrary notwithstanding, you clearly needed help and were given it. If you had understood what you were doing, you wouldn't have had the problem in the first place. No great shame in asking for help or being inexperienced, just in being ungrateful when given the help requested. Be grateful, not superior. Just my humble contribution.