train~ help for a noob

Mar 23, 2013 at 7:59pm

train~ help for a noob

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 –

– Pasted Max Patch, click to expand. –

Thanks in advance!

Rob

#67273
Mar 24, 2013 at 12:07am

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)

– Pasted Max Patch, click to expand. –
#242070
Mar 24, 2013 at 10:40am

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!

Rob

#242071

You must be logged in to reply to this topic.