I’ve been using [poly] for a long time as the voice-allocation heart of a polyphonic synthesizer, and it does that job well. One drawback it has is that the number of voices can only be set at creation time. I’d love to be able to change that dynamically, e.g., with a number box, or otherwise. (I know this will be glitchy, and don’t care – I won’t be doing it during audio output).
Are there any alternative [poly]-like objects that *do* allow dynamically changing the number of voices?
I noticed in Miller’s ‘to-do’ comments in the source that he’d like to add an input to [poly] for changing the voice-stealing switch; I’d vote enthusiastically for a ‘number of voices’ input as well.
Best,
Phil Stone UC Davis
Hi,
FYI: there's pull request here < https://github.com/pure-data/pure-data/pull/661 >.
----- Mail d'origine ----- De: Philip Stone pkstone@ucdavis.edu À: pd-list@lists.iem.at Envoyé: Wed, 10 Jul 2019 06:40:32 +0200 (CEST) Objet: [PD] Any alternative to [poly] allowing dynamic number of voices?
I’ve been using [poly] for a long time as the voice-allocation heart of a polyphonic synthesizer, and it does that job well. One drawback it has is that the number of voices can only be set at creation time. I’d love to be able to change that dynamically, e.g., with a number box, or otherwise. (I know this will be glitchy, and don’t care – I won’t be doing it during audio output).
Are there any alternative [poly]-like objects that *do* allow dynamically changing the number of voices?
I noticed in Miller’s ‘to-do’ comments in the source that he’d like to add an input to [poly] for changing the voice-stealing switch; I’d vote enthusiastically for a ‘number of voices’ input as well.
Best,
Phil Stone UC Davis
Ah, perfect! Thanks for pointing this out. The sustain pedal feature is excellent, too.
Phil
On 7/9/19, 11:59 PM, "Nicolas Danet" nicolas.danet@free.fr wrote:
Hi,
FYI: there's pull request here < https://github.com/pure-data/pure-data/pull/661 >.
----- Mail d'origine -----
De: Philip Stone <pkstone@ucdavis.edu>
À: pd-list@lists.iem.at
Envoyé: Wed, 10 Jul 2019 06:40:32 +0200 (CEST)
Objet: [PD] Any alternative to [poly] allowing dynamic number of voices?
I’ve been using [poly] for a long time as the voice-allocation heart of a polyphonic synthesizer, and it does that job well. One drawback it has is that the number of voices can only be set at creation time. I’d love to be able to change that dynamically, e.g., with a number box, or otherwise. (I know this will be glitchy, and don’t care – I won’t be doing it during audio output).
Are there any alternative [poly]-like objects that *do* allow dynamically changing the number of voices?
I noticed in Miller’s ‘to-do’ comments in the source that he’d like to add an input to [poly] for changing the voice-stealing switch; I’d vote enthusiastically for a ‘number of voices’ input as well.
Best,
Phil Stone
UC Davis
Hi, while [poly] doesn't include this functionality yet, you can check [else/voices], and also [else/mono] (for monophony) and [else/suspedal].
cheers
Em qui, 11 de jul de 2019 às 09:09, Philip Stone pkstone@ucdavis.edu escreveu:
Ah, perfect! Thanks for pointing this out. The sustain pedal feature is excellent, too.
Phil
On 7/9/19, 11:59 PM, "Nicolas Danet" nicolas.danet@free.fr wrote:
Hi, FYI: there's pull request here <
https://github.com/pure-data/pure-data/pull/661 >.
----- Mail d'origine ----- De: Philip Stone <pkstone@ucdavis.edu> À: pd-list@lists.iem.at Envoyé: Wed, 10 Jul 2019 06:40:32 +0200 (CEST) Objet: [PD] Any alternative to [poly] allowing dynamic number of
voices?
I’ve been using [poly] for a long time as the voice-allocation heart
of a polyphonic synthesizer, and it does that job well. One drawback it has is that the number of voices can only be set at creation time. I’d love to be able to change that dynamically, e.g., with a number box, or otherwise. (I know this will be glitchy, and don’t care – I won’t be doing it during audio output).
Are there any alternative [poly]-like objects that *do* allow
dynamically changing the number of voices?
I noticed in Miller’s ‘to-do’ comments in the source that he’d like to
add an input to [poly] for changing the voice-stealing switch; I’d vote enthusiastically for a ‘number of voices’ input as well.
Best, Phil Stone UC Davis
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
let me say that even if [poly] includes these features in the next release, [else/voices] and [else/suspedal] still have extra functionalities that might be interesting - such as different retrigger modes. One thing I'm proud of is implementing the "tonal pedal" functionality in [suspedal]. The [mono] object is also pretty cool as it mimics the behaviour of mono synths (like when you hold a note and presses a new one, it goes back to the previously help note when you release the new note).
cheers
Em qui, 11 de jul de 2019 às 13:53, Alexandre Torres Porres < porres@gmail.com> escreveu:
Hi, while [poly] doesn't include this functionality yet, you can check [else/voices], and also [else/mono] (for monophony) and [else/suspedal].
cheers
Em qui, 11 de jul de 2019 às 09:09, Philip Stone pkstone@ucdavis.edu escreveu:
Ah, perfect! Thanks for pointing this out. The sustain pedal feature is excellent, too.
Phil
On 7/9/19, 11:59 PM, "Nicolas Danet" nicolas.danet@free.fr wrote:
Hi, FYI: there's pull request here <
https://github.com/pure-data/pure-data/pull/661 >.
----- Mail d'origine ----- De: Philip Stone <pkstone@ucdavis.edu> À: pd-list@lists.iem.at Envoyé: Wed, 10 Jul 2019 06:40:32 +0200 (CEST) Objet: [PD] Any alternative to [poly] allowing dynamic number of
voices?
I’ve been using [poly] for a long time as the voice-allocation heart
of a polyphonic synthesizer, and it does that job well. One drawback it has is that the number of voices can only be set at creation time. I’d love to be able to change that dynamically, e.g., with a number box, or otherwise. (I know this will be glitchy, and don’t care – I won’t be doing it during audio output).
Are there any alternative [poly]-like objects that *do* allow
dynamically changing the number of voices?
I noticed in Miller’s ‘to-do’ comments in the source that he’d like
to add an input to [poly] for changing the voice-stealing switch; I’d vote enthusiastically for a ‘number of voices’ input as well.
Best, Phil Stone UC Davis
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Em qui, 11 de jul de 2019 às 14:59, Christof Ressi christof.ressi@gmx.at escreveu:
implementing the "tonal pedal" functionality in [suspedal].
you mean like the middle pedal on a grand piano? I just thought about adding that the other day...
YUP!
mimics the behaviour of mono synths (like when you hold a note and
presses a new one, it goes back to the previously help note when you release the new note).
oh, that's interesting, I haven't thought about this. maybe I can queeze this in as well :-D
you're the man ;)
feel free to check my objects for design inspiration. I'll glady remove them of my library if I feel they don't provide great advantage over vanilla.
On 10/07/2019 05:40, Philip Stone wrote: I’ve been using [poly] for a long time … the number of voices can only be set at creation time. I’d love to be able to change that dynamically … I know this will be glitchy, and don’t care — I won’t be doing it during audio output
Dear Phil
Apologies in advance for my stupid questions, but …
If — and it is a big “if” — you have only a small number of poly configurations to switch between and if as you say you are only doing it when no audio is being output, can’t you do this with a wrapper around multiple [poly] objects? Attached an example abstraction for switching between two different voice counts (it ignores out-of-range voice counts, but it might better take a configuration number at its right inlet); it stops all notes before switching to the new voice count, but that is not a problem in your use case, right? I am pretty sure you have thought of this already — almost certain, in fact.
That wouldn’t do if you were dynamically creating/destroying arbitrarily many voices, but then you could create/destroy [poly] objects, too, right?
That is not to say that being able to change voice count in [poly] wouldn’t be a useful feature, but if it were to be implemented, why not do it in a non-glitchy way (i.e. don’t clear the object, and stop the notes only for the voices removed when reducing the voice count)?
What kind of glitch did you have in mind, anyway?
Best
m
-- matthew brandi | 020 8882 4616
Hi Matthew,
That’s a clever solution for switching back and forth between two different, *preset* voice-number values, and I may just try it, as I’m mainly wishing to switch between monophony and n-voice polyphony (and ‘n’ could be fixed at creation time).
The more general approach, allowing dynamic changing of the number of voices, is shown in the pull request mentioned by Nicolas. I hope it gets included into Pd.
And you are correct; it can be done in a non-glitchy way – it’s not that I *want* the glitching, I was just prepared to accept it in my use case. As it stands now, I have to change the voice count argument to my synthesizer and re-instantiate it, which is extremely disruptive.
Thanks for your solution.
Phil
From: matthew brandi mfbrandi@outlook.com Date: Wednesday, July 10, 2019 at 6:05 AM To: Philip Stone pkstone@ucdavis.edu, "pd-list@lists.iem.at" pd-list@lists.iem.at Subject: Re: [PD] Any alternative to [poly] allowing dynamic number of voices?
On 10/07/2019 05:40, Philip Stone wrote: I’ve been using [poly] for a long time … the number of voices can only be set at creation time. I’d love to be able to change that dynamically … I know this will be glitchy, and don’t care — I won’t be doing it during audio output
Dear Phil
Apologies in advance for my stupid questions, but …
If — and it is a big “if” — you have only a small number of poly configurations to switch between and if as you say you are only doing it when no audio is being output, can’t you do this with a wrapper around multiple [poly] objects? Attached an example abstraction for switching between two different voice counts (it ignores out-of-range voice counts, but it might better take a configuration number at its right inlet); it stops all notes before switching to the new voice count, but that is not a problem in your use case, right? I am pretty sure you have thought of this already — almost certain, in fact.
That wouldn’t do if you were dynamically creating/destroying arbitrarily many voices, but then you could create/destroy [poly] objects, too, right?
That is not to say that being able to change voice count in [poly] wouldn’t be a useful feature, but if it were to be implemented, why not do it in a non-glitchy way (i.e. don’t clear the object, and stop the notes only for the voices removed when reducing the voice count)?
What kind of glitch did you have in mind, anyway?
Best
m
--
matthew brandi | 020 8882 4616
On 10/07/2019 16:36, Philip Stone wrote: That’s a clever solution for switching back and forth between two different, *preset* voice-number values, and I may just try it, as I’m mainly wishing to switch between monophony and n-voice polyphony (and ‘n’ could be fixed at creation time).
Well, it is not clever, but if it is of use, I am happy. Clearly, it is easily extensible to switch between any fixed number of configurations — you could even define voice-stealing per config, rather than once as I have done.
A non-glitching, reconfigurable-on-the-fly [poly] would be much better, of course.
All the best
m
-- matthew brandi | 020 8882 4616