How to put a phase opposition ?

27 views
Skip to first unread message

Tristan SABOURIN

unread,
Sep 13, 2021, 2:58:22 AM9/13/21
to pyo-discuss
Hello ! 

I have a raspberry with an RCA entry, and I want to have a symetrical signal. 
In order to do it, I want to put the left and the right signal in phase opposition and then I have a mono symetrical signal. My question is, is there a function to do this ?

Thanks a lot !

barmin

unread,
Sep 13, 2021, 4:36:05 AM9/13/21
to pyo-d...@googlegroups.com
> I have a raspberry with an RCA entry, and I want to have a symetrical signal.
> In order to do it, I want to put the left and the right signal in phase opposition and then I have a mono symetrical signal. My question is, is there a function to do this ?

Maybe I'm missing something, but wouldn't this do the trick?

my_signal = <whatever>.out(0)
opposition = Sig(my_signal, mul=-1).out(1)

Cheers,

Matthieu

Tristan SABOURIN

unread,
Oct 22, 2021, 5:18:31 AM10/22/21
to pyo-discuss
Thanks for your answer Matthieu !
It works, I check with the Scope tool.

Cheers :)

Olivier Bélanger

unread,
Oct 22, 2021, 8:23:14 AM10/22/21
to pyo-d...@googlegroups.com
Check this one!

a = Sine(freq=86)
b = -a
sc = Scope([a,b])

Olivier




101 allée de Delos
Tour Europa - 1er étage
34000 MONTPELLIER

Tel : (+33)4.11.93.22.02

S.A.S au capital de 3000€
Immatriculée au R.C.S de Montpellier
N° SIRET : 799 621 636 00031
Code APE : 7112B


P Auditori Home contribue au respect de l'environnement. Dans ce cadre, merci de n'imprimer ce mail qu'en cas de nécessité.

6 Auditori Home applique le droit à la déconnexion numérique. Dans ce cadre, les correspondances échangées en dehors des horaires habituels de travail, sauf urgence, n'attendent pas de suite avant le début de la prochaine journée de travail.

--
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/49e9f44d-b01c-4f3e-a413-95e242cca9bfn%40googlegroups.com.

barmin

unread,
Oct 28, 2021, 2:56:31 PM10/28/21
to pyo-d...@googlegroups.com
Pyo-disscuss' theorem: Whatever the problem, whatever the solution you propose, Olivier will come up with a better, cleaner solution.
proof: just try it and wait a couple of days... QED ;-)

Cheers,

Matthieu

Le 22.10.21 à 14:23, Olivier Bélanger a écrit :
Reply all
Reply to author
Forward
0 new messages