Does anyone know how to make a onebang object from scratch?
Basically I need a gate or spigot that can be triggered to only output one thing and then shut itself.
I can manage to get one to "work" sending the bang to a spigot and routing the spigot's output to turn off its control inlet, but not surprisingly I get stack overflow errors in the Pd window. I'm happy that it "works," but I'm worried about the errors.
Any help would be much appreciated!
Thanks!