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

Re: [sc-users] audio in with MOTU 828



Have a look at AudioIn documentation, there are also two example SynthDefs...




Am 28.08.2005 um 02:09 schrieb Brian E Willkie:





Hello,

Does any one have an example SynthDef for pulling in audio from a MOTU
828's line inputs (including Server.options)?

I tried the following but didn't get any audio:

Server.default.options.numOutputBusChannels = 18;
s = Server.default;
s.boot;


SynthDef("stereoIn", {arg outBus = 2, inBus = 0,
              trim = 0, level = 1;

              var left, right, numInChnl, inPut;

              numInChnl = 2;

              inPut = In.ar(inBus, numInChnl);

              left = inPut.at(0);
              right = inPut.at(1);

              Out.ar(outBus, [left, right]);
        }
).send(s);

(
var stereoIn;
stereoIn = Synth.new("stereoIn", [\inBus, 9], s);
)

_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users