I spent the day writing out an idea that I have had in my head since first using pd, that of a type of step sequencer. It went well, and I learned a bit along the way, such as how nasty stack overflows can be. I do know that much of my patching is very basic, and that there are certainly better objects/techniques to use that I am unaware of, or that I do not know how to implement effectively so as to have used them.
I would very much like for you to take a look at my patch and see if you could find some things that I could do better, as well as help me with a few of my own questions. I attempted to document the patch as best as I could and with what I thought needed documenting, it should look pretty straightforward, no other abstractions needed either.
My questions are;
1- How can I patch so that the bang boxes in the sequencer area, the 8x8 grid, give me visual feedback of what note or bang is selected? I had originally thought to use toggles as they stay with an X on them which gives good feedback, however I could not fathom how to create a way in which clicking on one toggle to select its respective note, and then clicking on another to effectively change the note would then remove the X from the first selected box and place it in the newly selected one. I used a [0 ( to all of the other toggle boxes from the output of the clicked box which worked, but only for one toggle. When I added this messaging to multiple boxes it would end up just crashing pd when I attempted to use it. I suppose it was because I was ending up constantly sending a [0 ( to everything. Would toggles be the way to go here? Or can bangs be used as I am quite beginning to like them? The feedback from the bang would not have to be constant, it would just have to show me which box was clicked as the stepper went over it, this would help as an aid to visually seeing what sequence you have made.
2- My second question spans many threads, and indeed I have read many of them and found them to be quite helpful in learning this concept of polyphony in pd. I have created a [poly 2] as I would like to implement a feature to use a harmonization in the sequencer such as a third, a fifth, and an octave. Into the [poly 2] I am feeding two instances of the [moses] and [r scalstx] creation, as one will be pitched up by the specified harmony. I have followed the [poly 2] with a [pack f f] followed by a [route 1 2] through two separate [mtof] ended with two separate [phasor~].
I am using the knowledge found in the wonderful thread here: http://puredata.hurleur.com/sujet-5883-polyphonic-voice-management-using-poly
However, in doing this all I am left with no polyphonic output, and I seem to be doing something wrong that is just making my output signal play one static note no matter what I change on the stepper or otherwise. Is this an issue due to the fact that my stepper outputs, the ones the come after the [moses]' are not sending a midi off message? Do object boxes with midi notes generate a midi off message? I would like for it to generate a midi off message as it moves to the next note to allow it to transition. I would like some general help on how to establish polyphony from notes generated in either Hz or MIDI number which are coming from the [moses] and [r scalstx] creation.
Thank you for reading through my long-winded post, I just do not know how to explain very concise what I would like to learn. Attached is my patch, waiting for analysis. I only hope that it is not too embarassing coming from a beginner! Please suggest anything that can be done to make it more efficient/better as well as if you can help me with my above asked questions.
Cheers!