I wrote a simple Markov Chain program with Java and I would like to use it to output MIDI note numbers/velocities to PD. Is there any way that I can feed text to PD and have it analyzed in real time? If not, is there a way that PD can read from a simple .txt file and parse it accordingly?
I assume there already exists some kind of guide for this but I was unable to find anything when searching. A simple link to something that I can read to get me started would be greatly appreciated.