[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Mix.new question



Exactly Dan,
They L and R chnls are anti-phase.

Thanks a lot for the tip.

a

Dan Stowell wrote:
2009/6/17 Alberto de Campo <adc@xxxxxxxx>:
  
This might be a stupid question, but can anyone tell me why I get sound
from:

{Out.ar(0,AudioIn.ar([1,2],0.5))}.play;


and when I try to sum the 2 channels I get no output?

{Out.ar(0,Mix.new(AudioIn.ar([1,2],0.5)))}.play; //no sound
      
with the built-in mic, I get sound on the first channel with this.
maybe your left channel is off?
or you are only playing sound into the right?
    

Or maybe your left and right input channels are in antiphase, so that
when summed they cancel out. Try this:

{Out.ar(0,Mix.new([1, -1] * AudioIn.ar([1,2],0.5)))}.play; //switched
phase of right

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/