Hello all…
I’ve already asked about this and also got an answer. By the way, the question is still not clear to me and I would like to bother you once more, if you don’t mind. My apologize for that.
My question is very very basic and has to do with the way in which Pyo obj receives parameters.
If I set a sine’s frequency as 440hz, it’s absolutely clear what I’m doing; but what is happening in real, if I pass a list like [440, 880]?
Am I creating 2 sine objs? Or a single sine with 1 armonic? And, in this second case, which is the volume/ratio in between the two?
And if I would pass a …200 items list, what’s happen?
More in general: which is the difference to pass a single parameter or a list of values and, most important, where these basics are in the documentation? I searched for them but I didn’t find it.
Thank you very much.
Gabe.
Gabriele Battaglia (Gabe / Gabry) - IZ4APU
--... ...-- -.. . .. --.. ....- .- .--. ..- - ..- . .
Sent from Outlook on Windows, Genus Bononiae's computer. (Libero)
> Thank you Matteu. Going to study! LOL.
Definitely worth it!
--
You received this message because you are subscribed to the Google Groups "pyo-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyo-discuss/ecb80409-c72b-42f1-87f1-9e5f8cd0dd24%40bluewin.ch.
Thank you all guys. You’re very kind on my basic dubts. LOL.
When you pass a list to any kwarg of a PyoObject, then you create
as many streams of that object as the number of items in your
list. If you create a sine wave with [440, 880] list as the freq
kwarg, then you'll create two sine waves, one at 440Hz and the
other at 880Hz. The first one will come out your left speaker, and
the second will come out your right speaker.
--
You received this message because you are subscribed to the Google Groups "pyo-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyo-discuss/010901da2f34%2420915050%2461b3f0f0%24%40libero.it.
--
You received this message because you are subscribed to the Google Groups "pyo-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyo-discuss/7e2b0cd8-4b55-45c4-885a-2284214f55e1%40bluewin.ch.