Moode Forum
[IDEA] Polarity Flip - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8)
+--- Thread: [IDEA] Polarity Flip (/showthread.php?tid=221)

Pages: 1 2 3 4 5


RE: Polarity Flip - koslowj - 09-27-2018

Hi Tim,

I've since found the following in the mail archives for alsa-users:
https://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg17740.html
If this doesn't help, I can ask in the other forum.

-- Jürgen


RE: Polarity Flip - Tim Curtis - 09-27-2018

Yes, please post in diyAudio because it appears that a LADSPA plugin may exist to reverse polarity. The challenge for me is that w/o any explanation of which specific plugin or how it works its going to be difficult to justify spending time trying to figure things out.

-TIm


RE: Polarity Flip - energyi - 09-29-2018

Take headphones off head, spin 180 degrees and put them back on.


RE: Polarity Flip - swizzle - 10-02-2018

I don’t find polarity flipping all that useful (my dac has a switch, it’s never used) but there’s an interesting theory involving flipping the polarity of one channel as it goes into the amp before flipping it back as it goes into the transducers:

https://www.superbestaudiofriends.org/index.php?threads/twisty-turn-y-things-single-channel-polarity-phase-reversal.2942/


RE: Polarity Flip - Tim Curtis - 10-05-2018

Interestingly, this post at diyAudio provides an ALSA example that can be used to perform polarity inversion on both L/R channels.
https://www.diyaudio.com/forums/pc-based/328288-polarity-inversion-fly-means-alsa.html

I'll be happy to code something for testing. It looks like MPD will need to be restarted if the polarity of L/R channels is changed.

-Tim


RE: Polarity Flip - swizzle - 10-05-2018

If I’m reading that right and the range is 0 - 1 for channel volume and negative denotes a polarity flip seems like that could be interesting to expose in an advanced panel that lets the user control max l/r volume and/or polarity per channel. I think the original idea was per song but that seems more like an mpd enhancement since it’d have to be in their db.


RE: Polarity Flip - TheOldPresbyope - 10-05-2018

(10-05-2018, 03:43 AM)swizzle Wrote: If I’m reading that right and the range is 0 - 1 for channel volume and negative denotes a polarity flip seems like that could be interesting to expose in an advanced panel that lets the user control max l/r volume and/or polarity per channel. I think the original idea was per song but that seems more like an mpd enhancement since it’d have to be in their db.



Surely a per-song solution is infeasible.


RE: Polarity Flip - Tim Curtis - 10-05-2018

AFAIK, doing it on-the-fly while song is playing or doing it on a per song basis would require the feature to be part of MPD itself. Maybe someone could could post a feature request in the MPD Git :-)

There does seem to be some confusion as to whether the ttable coefficient is performing a phase shift or polarity flip. I think it must be performing a polarity flip when its negative because the coefficient itself represents a volume %. Its probably just confusion over the terminology.

https://www.diyaudio.com/forums/pc-based/328288-polarity-inversion-fly-means-alsa.html
https://www.justmastering.com/article-phase-and-polarity.php


RE: Polarity Flip - TheOldPresbyope - 10-05-2018

(10-05-2018, 11:39 AM)Tim Curtis Wrote: AFAIK, doing it on-the-fly while song is playing or doing it on a per song basis would require the feature to be part of MPD itself. Maybe someone could could post a feature request in the MPD Git :-)

There does seem to be some confusion as to whether the ttable coefficient is performing a phase shift or polarity flip. I think it must be performing a polarity flip when its negative because the coefficient itself represents a volume  %. Its probably just confusion over the terminology.

https://www.diyaudio.com/forums/pc-based/328288-polarity-inversion-fly-means-alsa.html
https://www.justmastering.com/article-phase-and-polarity.php

I'd be willing to bet the pcm route type plugin does only polarity inversion (aka flip) but the answer lies in the source code. I haven't found the source for pcm route plugin yet, just a bunch of function references.


RE: Polarity Flip - Tim Curtis - 10-05-2018

Looks like in the diyAudio thread that @phofman confirmed that its performing polarity inversion :-)