train~ help for a noob

    Mar 23 2013 | 7:59 pm
    Apologies in advance - I'm new to this. I have tried to search for help on here and haven't managed to find anything!
    I'm sure what I am trying to achieve has a fairly simple explanation.
    I'm using the train~ object to try and replecate a heart monitor with a ventilator (hospital sound effects). I've used the train~ object to get the beep - no problem.
    The ventilator sound is being generated with pink noise going through a filter which sounds great, but I wanted to add a smaller burst of pink noise at the end of the first which is filtered differently. Hard to put into words but quite simply -
    Can I trigger a train~ object from the previous train~ object stopping? I'm sure there's a way to do this...
    Here's ma patch -
    Thanks in advance!

    • Mar 24 2013 | 12:07 am
      used edge~ to detect 1-to-zero transition from train, then used a 1, delay, zero to gate the other noise. note use of slide~ to soften abrupt on-off transitions (new objects are yellow)
    • Mar 24 2013 | 10:40 am
      Terry thank you so much it sounds great! I was going to try and work out a way to soften the abruptness of the on/off so thank you for also including that!