My first max for live device

Ivan Bautista's icon

Super newbie here. I have gone through a good amount of the content for learning max for live. Youtube videos. Ableton Lessons through the Ableton Live Application where you can open sets and poke around. The included tutorials that come within max for live. I am not 100% done with it. But I would like to start working towards one of my first ideas.

Any advice at all is greatly appreciated. How to stay organized. How to plan. Where to find answers. General best practices. Also if you could point me in the direction of any existing max for live devices I can break down and reverse engineer. And objects of note that may help with the building of this device.

I want to create a device. That basically acts as a random button press. The main idea started from me wanting something to randomly press the capture button on Granulator III. I want it to randomly press it so that records audio in to Granulator in random spurts. I want to be able to control the rate at which the button is pressed. I want that rate to be independent of the transport and project tempo. In other words not quantized. I want it to based on time in seconds/milliseconds.

I would like to be able to control the chance of the button press going through or happening. Again I am completely new. So any advice at all is super appreciated.