Hi.
I'm trying this simple example:
--
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/222a07a6-ecb7-4abb-9351-2fa61e8ea6eb%40libero.it.
The fm object is internally turned to an object of the Mix() class, because you call its mix() method in the initialization line. The Mix() class has no carrier member, and Python silently ignores the `fm.carrier=float(f1)` line.
To remedy this, don't call the mix() method and don't send it to your speakers, but pass fm to a Sig() object for which you will call mix() and send that to the output. Then you can pass the values you want.
This is explained thoroughly throughout the 3rd chapter.
Thank you.
--
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/dff1e8f4-b1dd-4bb9-b625-1d54f319549f%40gmail.com.
Aaaah, I should have known this before I wrote my book... well,
for the second edition :)
To view this discussion on the web visit https://groups.google.com/d/msgid/pyo-discuss/CAMXBGhRuoxLknXUiXjO%3Ds%2BSr_3e3OYwn6GWLtWJ4yTYP9m2%3DCw%40mail.gmail.com.