[nama] Re: Feature idea: Sum to mono

  • From: Joel Roth <joelz@xxxxxxxxx>
  • To: nama@xxxxxxxxxxxxx
  • Date: Fri, 6 Apr 2012 11:35:39 -1000

On Fri, Apr 06, 2012 at 04:02:43PM -0400, S. Massy wrote:
> Hello,
> 
> As you may know, mono compatibility is an important aspect of proofing a
> mix. Right now, I do so by taking my latest mixdown and doing:
> $ ecasound -i:mixdown.wav -f:,1 -o:jack,system -chmix:1
> 
> I thought it could be fun if this could be achieved in real-time in nama
> by issuing
> > Master mono

> Right now, doing this only plays the left channel, which isn't terrible
> practical, but summing to mono definitely would be.
 
What you're saying is that for Master only, we should 
add -chmix:1 if the Master's channel count is 1.

> What do you think?

I suppose anything would be better than simply
throwing away the right channel.

Okay, done. Please pull and try it out!

FYI, the code was pretty simple addition.
Note that $g is the routing graph.

  if ($g->has_vertex('Master') and $tn{Master}->width == 1)
    {   
        $g->set_vertex_attribute('Master', 'ecs_extra' => '-chmix:1')
    }

> Happy Easter,

Pleased to offer you a chocolate egg!

> S.M.
> -- 
> 

-- 
Joel Roth

Other related posts: