Hey hey,
does anyone have an example of a "turing machine sequencer" implemented in Csound? I think I get the basic idea, but I'd like to confirm that and don't think I'm skilled enough to read the original source code.
There’s a new opcode (in the latest release, I think?) called “lfsr” (for “linear feedback shift register”), which is the algorithm used by most if not all modules that use the term “Turing machine”. It’s not a sequencer, but it generates a series of numbers at k-time that can be used for pitch or other parameters. I adapted it from the algorithm used in the Ornament & Crime module. Hopefully it will do what you want.
There's a new opcode in the latest release, I think? called "lfsr" (for
"linear feedback shift register"), which is the algorithm used by most if
not all modules that use the term "Turing machine".
...
Many thanks Dave, this gives me a good idea and maybe I can incorporate
it into my project.
I wrote some articles on Linear Feedback Shift Register in Csound. They are written in Japanese, but csd files are annotated in English.
I created basic 8 bit LFSR from scratch because lfsr opcode does not have control of bit shift frequency (it is krate in lfsr opcode).
Basic concept is from Music Thing Turing Machine and Doepfer A-117, though I did not reverse-engineered the modules.
Attached csd is the final code with Cabbage GUI. I hope you find it interesting.