bang off 0.?...

lewis lepton's icon

hello all,

just a quick/simple question, which i am trying to figure out.

is there an object that can bang when coming off of 0. on a float/int number box. so when it changes to any value above 0., it bangs, i am trying make something, but it is flawed in some ways. not as responsive as i want

so is there an object in max that can do this that i have not seen yet. if not, i will just work harder to develop something.

cheers...

Adeyo's icon

Togedge is made to do this with Ints.

You can use an if statement for floats...

Luke Hall's icon

Perhaps something like this.

lh

Max Patch
Copy patch and select New From Clipboard in Max.

lewis lepton's icon

those are great, thank you both of you.

i have been using [change] lately, but this was jsut getting on my tits. i have been working on a patch for ages trying to do too much and this just overloaded my brain.
even loosing a bit of sleep over it, dreaming of patch cords and patch variations.
even though i have been using max for over a year, there are still things i have not ventured with.

many thanks again. this is much appreciated..

lewis lepton's icon

and even when i look at the patches you both sent, they speak for themselves. i know those objects and what they do, but never thought of using them because i totally forgot about them. there is still so much in max i need to learn. even just the simple stuff.

silly billy me ...

Luke Hall's icon

Not a problem. I like the look of "hantera", when it is completed will you make it available for download?

lh

lewis lepton's icon

hopefully by christmas, looking forward to it.

also the elektron community is looking forward too it. because it was based on the manipulating the machine drum and monomachine.
just need to work out the 'look' of it, change the design...

Luke Hall's icon

Will it work with other hardware/midi devices? The machine drum is on my imaginary christmas list along with a monome, continuum, manta etc.

lh

lewis lepton's icon

aye, it should work. basically it just 6 audio inputs, channels 3 to 8. mainly because channels 3 to 8 on multi-input soundcards are not phantom powered, so leaves the first 2 channels for other things like guitar/voice etc.
although i have put a audio-in selection in, so people can mess with whatever inputs they want to use.

if you decide to get a machine drum, i would suggest the sps-1uw, you can do sampling with it, nice, plus you get a midi interface with it that speeds up midi data. also the monomachine does the same stuff but is more aimed to synthesis, but does have great drum sounds.

damn, i just sold my DIY monome, if i knew you needed one i would of sold you mine.
i liked it, but in all honesty, it is not my controller, i did not find the most usage out of it. but it is a great controller. but not what i wanted in the end
i am designing my own controller though, really useful one. exactly what i need for both studio and live stuff...

lewis lepton's icon

also with [hantera], i have put in a midi learn function. so can be used with any midi controller, which is always useful to control parameters without using a mouse...

Luke Hall's icon

How did you create your midi-learn function? I've seen one that uses some of the pattr-objects and am currently re-writing one I made a while ago in javascript. I'm still somewhere in the middle right now, I've taken the old version apart but haven't quite got round to putting it all back together again.

That drum machine looks beautiful but it costs about as much as all my other worldly possesions put together, maybe one day!

lh

lewis lepton's icon

aye the cost is a bit steep, but there is A LOT you can do with it. so much potential, it is the one piece of kit i would marry if i could, really, no kidding. a great investment, but an expensive one at that.

i saved up for a long time, just eating nothing but pasta and apples.

here is the code for the midi learn function. although i can not take full credit as i got help on how to build it. basically click the [toggle] and move a midi dial and then it is set to whatever you clicked it for. i need to sort out the reset though for it, so if you cock up on setting, you can reset it. but will do that later on.

there is obviously an easier way to do this, but have not done it yet...

Max Patch
Copy patch and select New From Clipboard in Max.