jnonis / pd-plaits

Mutable Instruments Plaits for Pure Data
14 stars 2 forks source link

request - possible to control inharmonic string polyphony? #1

Open metaphysician opened 5 years ago

metaphysician commented 5 years ago

hi there! just wanted to say thanks for all your work on this. the sound palette is fantastic! this isn't an issue but i especially got this because of the string modelling mode on it. it's really great but i was curious if there were a way to limit the polyphony to 1 voice, instead of 3 when the trigger mode is on? i'm fairly certain that the polyphony was likely set at 3 and could not be adjusted, but since this is now software and i can stick this in a [clone] and [poly] configuration, i can get whatever polyphony i need that way and the current voice overlap will just get in the way.

anyway, no rush. just seeing if this kind of thing is possible.

PS i was also kind of curious about all the extra inputs you created, but don't seem to be using at the moment? i know this seems to be in active development so i would imagine there will be something happening. but it's pretty usable as it is actually. just wondering...

jnonis commented 5 years ago

Hi, I need to add some info in the README.md, but the code is actually the same that Plaits use: https://github.com/pichenettes/eurorack/tree/master/plaits I've have to modify it a bit to make it work as a pd external.

Regarding your question about string engine polyphony, you can do a quick test modifying this line: https://github.com/jnonis/pd-plaits/blob/master/plaits/dsp/engine/string_engine.h#L37 Change the 3 for 1 and recompile the project. To make the polyphony variable will need more changes in the code.

The extra inputs allows to modulate parameters using signals in the same way that the real Plaits does with CV inputs. You can create an LFO using a [osc~] object and send the output to any of those inputs in order modulate Frequency, Engines, Timbre, Harmonics, Morph, etc.

metaphysician commented 5 years ago

sorry for the late reply - thanks for the info! i opened up another issue regarding building this on Windows which i haven't been able to do yet.