i have a midiin that is connected to a midiparse that prints it's data.
i want to have a record button that collects information from the midiparse. but i want it to collect information only when the record toggle is pressed. how can i do that? how can i execute something only when the toggle button is pressed ?