From: owner-sc-users-digest@lists.io.com (sc-users-digest)
To: sc-users-digest@lists.io.com
Subject: sc-users-digest V1 #183
Reply-To: sc-users
Sender: owner-sc-users-digest@lists.io.com
Errors-To: owner-sc-users-digest@lists.io.com
Precedence: bulk
sc-users-digest Thursday, October 12 2000 Volume 01 : Number 183
----------------------------------------------------------------------
Date: Wed, 11 Oct 2000 18:48:59 +0200
From: integer@www.god-emil.dk
Subject: [ot] [!nt] \n2+0\ nebula.m81
datapocalypse.org zkr!b!z re: nn + fall computer music jurnal
>luvl!
>
>luv from chicago
>r
>
>
> datapocalypse.org
>*MISSION TERMINATED*
>
http://eusocial.com/nebula.m81/cmj.24-3.html
http://eusocial.com/nebula.m81/
pre.konssept!n
meeTz ver!f1kat!n.
-
Netochka Nezvanova
^Pf^P^P^P3.MASCHIN3NKUNST - simply SUPERIOR
@www.eusocial.com
17.hzV.tRL.478
e
|
| +----------
| | <
\\----------------+ | n2t^P
| >
e
------------------------------
Date: Thu, 12 Oct 2000 05:08:08 +0100
From: Paul Modler <---@---.--->
Subject: no input with Korg1212
I have problems to get digital audio in (from adat line) with a Korg
1212.
Digital out is ok.
There are no problems with getting digital in from adat lines with
Max/MSP and the Korg1212 .
So it shouldn't be a problem of the hardware.
Korg 1.3.1 Asio Driver is installed.
Am I doing something wrong ?
Thanks& cheers
Paul
- --
Paul Modler
University of York
Music Department
Heslington, York, YO10 5DD, UK
Tel: 0044-1904-43-2435
Fax: 0044-1904-43-2450
plpm1@york.ac.uk
------------------------------
Date: 11 Oct 2000 21:53:57 -0700
From: markdavid@mdhosale.com
Subject: Re: no input with Korg1212
>
> I have problems to get digital audio in (from adat line) with a Korg
> 1212.
> Digital out is ok.
>
> There are no problems with getting digital in from adat lines with
> Max/MSP and the Korg1212 .
> So it shouldn't be a problem of the hardware.
> Korg 1.3.1 Asio Driver is installed.
>
> Am I doing something wrong ?
> Thanks& cheers
> Paul
>
>
You might need to change the routing in the Main.sc class (in the DefaultLibrary folder), here is the routing I am using:
hardwareSetup {
super.hardwareSetup;
false.trace;
if (Synth.hardwareName == 'Korg 1212 IO', {
// who knows anymore?
Synth.setOutputRouting([5, 6, 7, 8, 1, 2, 3, 4, 9, 10, 11, 12]);
Synth.setInputRouting([5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4]);
},{
Synth.normalRouting;
});
}
I hope this helps- MarkDavid
- -------------------------------------
Register for your free domain name!
Plus free email and a personal portal
http://www.namedemo.com
------------------------------
Date: Thu, 12 Oct 2000 08:29:53 +0000
From: Jem Finer <---@---.--->
Subject: sc3 question for julian
> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
- --MS_Mac_OE_3054184193_659466_MIME_Part
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Hello,
I was looking at the groovy Lissajou shape examples and wondering why in
this simplified example the line :
SinOsc.ar(200 * rrand(1, 4.0) ,[0.2, SinOsc.kr(rrand(0.1, 0.3), 0, 0.23,
2pi.rand)], 0.09/2) ;
makes four shapes whereas
SinOsc.ar(200 * rrand(1, 4.0) ,[0.2, 1.2], 0.09/2) ;
makes only one.
And . . . then how, when uncommenting the next line, the noise decides which
of these shapes to "tickle".
Does anyone know any good & simple introductions to the maths of image
synthesis ?
(
var s, s2, p, x, b, t, u, f, q, n;
n = 4;
s =Array.fill(n, { XYScopeView.new(nil, Rect(0,0,400,400), 1000, -0.2, 0.2)
});
x = GUIScreen.new("...", Rect.newBy(80,80,400,400),
View(Pen.new.backColor_(Color.black),
[ TextBox(Pen.new.textFont_(\Times),Rect(0,0,400,400), "")] ++ s
));
s.do({ arg item; item.pen.foreColor = Color.new(100 + 155.rand, 255.rand,
200 + 55.rand) });
n.do({ arg i;
#{ arg a, b, c, d, e, f;
[a, b, c, d, e, f].dump;
{
var z, m, trig;
z = SinOsc.ar(200 * rrand(1, 4.0) ,[0.2, SinOsc.kr(rrand(0.1, 0.3), 0,
0.23, pi.rand)], 0.09/2)
// + ( ToggleFF.kr(Dust.kr(0.1)) * LFNoise2.ar([15000.rand, 15000.rand],
[0.008, 0.008]*rrand(0.5,5)))
;
Scope.ar(z, [a,d], [b,e], [c,f] );
}.play;
}.send(s.at(i).xcounts, s.at(i).xbufs.at(0), s.at(i).xbufs.at(1),
s.at(i).ycounts, s.at(i).ybufs.at(0), s.at(i).ybufs.at(1));
});
x.sched(0, inf, { x.refresh; 1/30 });
)
Cheers,
Jem
- --MS_Mac_OE_3054184193_659466_MIME_Part
Content-type: text/html; charset="US-ASCII"
Content-transfer-encoding: quoted-printable
sc3 question for julian
Hello,
I was looking at the groovy Lissajou shape examples and wondering why i=
n this simplified example the line :
SinOsc.ar(200 * rrand(1, 4.0) ,[0.2, SinOsc.kr(rrand(0.1, 0.3), 0, 0.23, 2pi.rand)], 0.09/2) =
;
makes four shapes whereas
SinOsc.ar(200 * rrand(1, 4.0) ,[0.2, 1.2], 0.09/2) ;
makes only one.
And . . . then how, when uncommenting the next line, the noise decides whic=
h of these shapes to "tickle".
Does anyone know any good & simple introductions to the maths of image =
synthesis ?
(
var s, s2, p, x, b, t, u, f, q, n;
n =3D 4;
s =3DArray.fill(n, { XYSco=
peView.new(nil, Re=
ct(0,0,400,400), 1000, -0.2, 0.2) });
x =3D GUIScreen.new("=
...", Rect.newBy(80,80,400,400), &n=
bsp;View(Pen.new.b=
ackColor_(Color.black),
[ TextBox(Pen.new.textFont_(\Times),Rect(0,0,400,400), "&qu=
ot;)] ++ s
));
s.do({ arg item; item.pen.foreColor =3D Color.new(100 + 155.rand, 255.rand, 200 + 55.rand) });<=
BR>
n.do({ arg i;
#{ arg a, b, c, d, e, f;
[a, b, c, d, e, f].dump;
{
var z, m, trig;
z =3D SinOsc.ar(200 * r=
rand(1, 4.0) ,[0.2, SinOsc.kr(rrand(0.1, 0.3), =
0, 0.23, pi.rand)], 0.09/2)
// + ( ToggleFF.kr(Dust.kr(0.1)) * LFNoise2.ar([15000.rand=
, 15000.rand], [0.008, 0.008]*rrand(0.5,5)))
;
Scop=
e.ar(z, [a,d], [b,e], [c,f] );
}.play;
}.send(s.at(i).xcounts, s.at(i).xbufs.at(0), s.at(i).xbufs.at(1), s.at(i).y=
counts, s.at(i).ybufs.at(0), s.at(i).ybufs.at(1));
});
x.sched(0, inf, { x.refresh; 1/30 });
)
Cheers,
Jem
- --MS_Mac_OE_3054184193_659466_MIME_Part--
------------------------------
Date: Thu, 12 Oct 2000 10:25:09 +0100
From: Martin Robinson <---@---.--->
Subject: Re: no input with Korg1212
To check whether ANYTHING is going out the adat pipe do something like:
(
Synth.play({
Array.fill(64, { SinOsc.ar(exprand(100, 1000), 0, 0.5) })
})
)
But I believe I'm using the same routing as MarkDavid.
Martin
- --
..>>>>Martin Robinson :: (Ex)tractor :: && ________
>>><<<_[sonic arts]_[middlesex university]_[en4 8ht] ______
________________________________________________________________
[[[[[[_-_SAN[diffusion]___YORK__-_21Oct2000_-_1000-0100_-_]]]]]]
___________ http://sonicartsnetwork.org/events.htm _____________
________________________________________________________________
>><<>>___t.+44 [0] 7970 405 903 // f.+44 [0] 7970 702 976 __
>><><>____e. _
------------------------------
Date: Thu, 12 Oct 2000 12:11:04 +0200
From: Julian Rohrhuber <---@---.--->
Subject: Re: Patterns question
Hi Ron,
I donīt know if itīs what you are looking for, here is a combination of
Pseq and Prout:
Psrt : ListPattern {
var <>offset;
*new { arg list, repeats=1, offset=0;
^super.new(list, repeats).offset_(offset)
}
asStream {
^Routine.new({ arg inval;
var item, offsetValue;
offsetValue = offset.value;
if (inval.eventAt('reverse') == true, {
repeats.value.do({ arg j;
list.size.reverseDo({ arg i;
item = list @@ (i + offsetValue);
//in Pseq there is no .value
inval = item.value.embedInStream(inval);
});
});
},{
repeats.value.do({ arg j;
list.size.do({ arg i;
item = list @@ (i + offsetValue);
//in Pseq there is no .value
inval = item.value.embedInStream(inval);
});
});
});
});
}
}
so your example could be written like this:
Pbind([\dur, \midinote],
Psrt([
{ var ll;
ll = [];
6.do({ ll = ll ++ [[[0.1,0.2].choose,
[60,62,64,66,68,70].choose]]});
ll.do({arg i; i.yield}); // embed list
ll.do({arg i; i.yield});
},
Pseq([[0.2, 12.rand + 60]],7),
Pseq([[0.3, 12.rand + 48]],7)
], inf)).play;
does that do it?
"Ronald J. Kuivila" schrieb:
>
> Hi James,
>
> As you know, I am partial to working with routines. I would like to
> have a message ('stream'?) to allow me to embed a list into
> the output of a Routine. Otherwise, it seems to be necessary to
> instantiate the list as a Pseq and send it an 'embedInStream' message.
>
> Am I missing something here?
> Is there some other better way to do this?
>
> Pbind([\dur, \midinote],
> Prout({
> var ll;
> loop({
> ll = [];
> 6.do({ ll = ll ++ [[[0.1,0.2].choose,
> [60,62,64,66,68,70].choose]]});
> ll.do({arg i; i.yield}); // embed list
> ll.do({arg i; i.yield});
>
> Pseq([[0.2, 12.rand + 60]],7).embedInStream;
> });
> })).play
>
> RJK
------------------------------
Date: Thu, 12 Oct 2000 12:12:03 +0200
From: Julian Rohrhuber <---@---.--->
Subject: Re: sc3 question for julian
Hi Jem,
well, seemed a riddle to me at first, too.
the fact that there is four shapes is simply due to
n.do({ ...
})
around the whole thing.
if you write SinOsc.ar(200 * rrand(1, 4.0) ,[0.2, 1.2], 0.09/2) ;
all four get the same shape, so you canīt see them.
if you have a random value inside, like rrand(0.1, 0.3) in this case,
each of them gets a different shape.
> I was looking at the groovy Lissajou shape examples and wondering why
> in this simplified example the line :
>
> SinOsc.ar(200 * rrand(1, 4.0) ,[0.2, SinOsc.kr(rrand(0.1, 0.3), 0,
> 0.23, 2pi.rand)], 0.09/2) ;
>
> makes four shapes whereas
>
> SinOsc.ar(200 * rrand(1, 4.0) ,[0.2, 1.2], 0.09/2) ;
>
> makes only one.
> And . . . then how, when uncommenting the next line, the noise decides
> which of these shapes to "tickle".
similar is this one. each of them has a different instance of the
ToggleFF.kr(Dust.kr(0.1)), so each Dust decides when to toggle on.
> Does anyone know any good & simple introductions to the maths of image
> synthesis ?
Iīd like to know some, too.
cheers,
Julian
------------------------------
Date: Thu, 12 Oct 2000 11:27:13 +0000
From: "jem finer" <---@---.--->
Subject: duuh . .
re the 'how come there's 4 shapes . . . . ?' - I just noticed the Array of
XYScopes - please ignore qvestion.
Cheers
jem
------------------------------
Date: Thu, 12 Oct 2000 13:56:17 +0100
From: Paul Modler <---@---.--->
Subject: Re: Still no input with Korg1212
markdavid@mdhosale.com wrote:
> >
> > I have problems to get digital audio in (from adat line) with a Korg
> > 1212.
> > Digital out is ok.
> >
> > There are no problems with getting digital in from adat lines with
> > Max/MSP and the Korg1212 .
> > So it shouldn't be a problem of the hardware.
> > Korg 1.3.1 Asio Driver is installed.
> >
> > Am I doing something wrong ?
> > Thanks& cheers
> > Paul
> >
> >
> You might need to change the routing in the Main.sc class (in the DefaultLibrary folder), here is the routing I am using:
> hardwareSetup {
> super.hardwareSetup;
> false.trace;
> if (Synth.hardwareName == 'Korg 1212 IO', {
> // who knows anymore?
> Synth.setOutputRouting([5, 6, 7, 8, 1, 2, 3, 4, 9, 10, 11, 12]);
> Synth.setInputRouting([5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4]);
> },{
> Synth.normalRouting;
> });
> }
>
Hi MarkDavid,
Tried your routing and still no audio in.
To make it clear:
Problem is, to get audio in ( for example from a mic) through the adat and 1212 to sc.
(there are no problems to get audio out to the adat ( and to the speakers))
(With MAX/MSP there are no problems to get audio in)
I am using an adat AI3 converter.
Any idea?
cheers,
Paul
>
> I hope this helps- MarkDavid
>
> -------------------------------------
> Register for your free domain name!
> Plus free email and a personal portal
> http://www.namedemo.com
- --
Paul Modler
University of York
Music Department
Heslington, York, YO10 5DD, UK
Tel: 0044-1904-43-2435
Fax: 0044-1904-43-2450
plpm1@york.ac.uk
------------------------------
Date: Thu, 12 Oct 2000 08:48:22 -0400
From: Landon Rose <---@---.--->
Subject: MIDIOut jitter
All-
These patches when sent to a synth produce a hesitation in the sound about
every fifth beat. I assume it's some part of the train other than SC,
although the jitter sounds like a buffer filling up.
Have I written these correctly? Each produces the same result.
( // Midi test 1
var midinote;
var pat;
pat = Pbind(
\midinote, Pseq(#[35,35,35,35], inf),
\dur , 0.416667, // metronome value of 144
\veloc, 60,
\ugenFunc, { arg midinote, veloc, sustain, outersynth;
MIDIOut(0).noteOn(1, midinote, veloc);
// schedule note off in the outer synth.
outersynth.sched(sustain, {
MIDIOut(0).noteOn(1, midinote, 0);
});
nil // audio output
});
Synth.play({
pat.asSpawn(Event.protoEvent);
})
)
( // Midi test 2
var tempo, beat, metro;
Synth.play({
metro = 144;
tempo = (metro/60);
beat = LFPulse.ar(tempo);
Sequencer.kr(
{MIDIOut(0).noteOn(1, 35, 80);
thisSynth.sched( (1/tempo - 0.01).postln , { MIDIOut(0).noteOn(1,
35, 0); });
0.0}, beat);
})
)
THis is in SC 2.2.10.
Using programs other than SC, my MIDI set-up works fine.
Any comments welcome.
Thanks.
Landon
------------------------------
Date: Thu, 12 Oct 2000 10:06:16 -0500
From: James McCartney <---@---.--->
Subject: Re: MIDIOut jitter
on 10/12/00 7:48 AM, Landon Rose at landon@world.std.com wrote:
> All-
> These patches when sent to a synth produce a hesitation in the sound about
> every fifth beat. I assume it's some part of the train other than SC,
> although the jitter sounds like a buffer filling up.
> Have I written these correctly? Each produces the same result.
>
> ( // Midi test 1
> var midinote;
> var pat;
> pat = Pbind(
> \midinote, Pseq(#[35,35,35,35], inf),
> \dur , 0.416667, // metronome value of 144
> \veloc, 60,
> \ugenFunc, { arg midinote, veloc, sustain, outersynth;
>
> MIDIOut(0).noteOn(1, midinote, veloc);
> // schedule note off in the outer synth.
> outersynth.sched(sustain, {
>
> MIDIOut(0).noteOn(1, midinote, 0);
> });
> nil // audio output
> });
> Synth.play({
>
> pat.asSpawn(Event.protoEvent);
> })
> )
>
>
> ( // Midi test 2
> var tempo, beat, metro;
>
> Synth.play({
> metro = 144;
> tempo = (metro/60);
> beat = LFPulse.ar(tempo);
>
> Sequencer.kr(
> {MIDIOut(0).noteOn(1, 35, 80);
> thisSynth.sched( (1/tempo - 0.01).postln , { MIDIOut(0).noteOn(1,
> 35, 0); });
> 0.0}, beat);
> })
> )
> THis is in SC 2.2.10.
> Using programs other than SC, my MIDI set-up works fine.
>
> Any comments welcome.
> Thanks.
> Landon
>
>
>
>
>
This is precisely why I did not implement MIDI output for so long.
You should not use MIDI output for note ons and offs if you expect
good timing.
The time granularity is only that of the audio buffer size.
SC is a program for audio synthesis, not MIDI output.
- --- james mccartney james@audiosynth.com
SuperCollider - a real time synthesis programming language for the PowerMac.
------------------------------
Date: Thu, 12 Oct 2000 10:14:58 -0500
From: James McCartney <---@---.--->
Subject: Re: embedding Pbind in Prout
on 10/9/00 9:54 PM, Ron Kuivila at rkuivila@mail.wesleyan.edu wrote:
> HI all,
>
> How does one embed a Pbind inside of Prout? I would
> like to do something like this:
>
> Prout({
> Pbind([\dur,\midinote], blah).embedInStream;
> Pbind([\dur,\midinote,\stretch], doubleblah).embedInstream;
> }).play
>
>
>
> RJK
>
>
Prout({ arg inval;
inval = Pbind([\midinote,\dur],
Pseq([[60,0.1],[62,0.2],[63,0.1]],4)).embedInStream(inval);
inval = Pbind([\midinote,\dur],
Pseq([[68,0.1],[67,0.1],[65,0.2]],4)).embedInStream(inval);
}).play
- --- james mccartney james@audiosynth.com
SuperCollider - a real time synthesis programming language for the PowerMac.
------------------------------
Date: Thu, 12 Oct 2000 10:34:52 -0500
From: James McCartney <---@---.--->
Subject: Re: soundfile-lister
on 10/9/00 9:12 AM, Hans Tutschku at Hans.Tutschku@ircam.fr wrote:
> Does anybody know an utility to list soundfiles in a specified folder
> (and subfolders)
> with there length and number of channels?
>
> Hans
>
In version 3, this will list files (not just sound files though) :
d = Directory(":Sounds");
d.scanFiles({ arg entry; entry.name.postln; });
- --- james mccartney james@audiosynth.com
SuperCollider - a real time synthesis programming language for the PowerMac.
------------------------------
Date: Thu, 12 Oct 2000 11:46:59 -0400
From: rkuivila@mail.wesleyan.edu (Ron Kuivila)
Subject: Re: Patterns question
Hi Julian,
Not quite. Basically, I am interested in being able to use a Routine
as a way of generating sequences of Patterns.
I posted two emails to the list. The first (the one you answered) is just
a request for the more or less trivial addition of a 'embedInStream' message to
SequenceableCollection so that:
> Pbind([\dur, \midinote],
> Prout({
> var ll;
> loop({
> ll = [];
> 6.do({ ll = ll ++ [[[0.1,0.2].choose,
> [60,62,64,66,68,70].choose]]});
> ll.do({arg i; i.yield}); // embed list
> ll.do({arg i; i.yield});
>
> Pseq([[0.2, 12.rand + 60]],7).embedInStream;
> });
> })).play
could become
> Pbind([\dur, \midinote],
> Prout({
> var ll;
> loop({
> ll = [];
> 6.do({ ll = ll ++ [[[0.1,0.2].choose,
> [60,62,64,66,68,70].choose]]});
> ll.embedInStream; // embed list
> ll.embedInStream;
>
> Pseq([[0.2, 12.rand + 60]],7).embedInStream;
> });
> })).play
The second email was asking for a way to allow a Routine to sequence through
a collection of unrelated EventStreams, as in:
Prout({
Pbind( some pattern).embedInStream;
Pbind( some pattern).embedInStream;
})
Your class is an attempt to remove the need for the 'embedInStream' message.
RJK
------------------------------
Date: 12 Oct 2000 09:07:26 -0700
From: markdavid@mdhosale.com
Subject: Re: Still no input with Korg1212
On Thu, 12 October 2000, Paul Modler wrote:
>
> Hi MarkDavid,
> Tried your routing and still no audio in.
> To make it clear:
> Problem is, to get audio in ( for example from a mic) through the adat and 1212 to sc.
>
> (there are no problems to get audio out to the adat ( and to the speakers))
> (With MAX/MSP there are no problems to get audio in)
>
> I am using an adat AI3 converter.
>
> Any idea?
> cheers,
> Paul
>
>
What I suggest is a variation of Martin Robinson's test for audio out:
{ AudioIn.ar([1,2,3,4,5,6,7,8,9,10,11,12]) }.scope;
If you execute this code and use your mic you should be able to see if your getting sound in then you can adjust the routing accordingly. Make sure you use headphones just in case. -MarkDavid
- -------------------------------------
Register for your free domain name!
Plus free email and a personal portal
http://www.namedemo.com
------------------------------
Date: Thu, 12 Oct 2000 11:13:21 -0500
From: James McCartney <---@---.--->
Subject: Re: Slider2D example
on 10/7/00 12:45 PM, cramakrishnan@acm.org at cramakrishnan@acm.org wrote:
> Since I saw the Slider2D widget in the Version 3 demos file i've been
> dying to make use of it somehow.
>
> Once I started playing around with it, though, I realized that because
> the GUI runs in a different VM from the synth some trickery is necessary
> to control a UGen with the GUI. This is what I came up with... anyone
> have a better solution?
Try it this way:
// A 2D Slider example!
(
var slider, controlArray;
// a raw array for holding control values.
controlArray = FloatArray[300,300];
slider = Slider2D.new(
Pen.new(
action: \strokeFill,
foreColor: rgb(128,128,192),
backColor:rgb(128,128,192)
),
layoutSize: LayoutSize(weight: 2),
action: { arg x, y;
controlArray.put(0, 300 + (100 * x));
controlArray.put(1, 300 + (100 * y));
}
);
x = GUIScreen.new("Controller", Rect(50, 70, 300, 320), View(nil, [
WindowLayer(nil, [GUIWindow.new("Controller", Rect.newBy(0, 0, 220,
220), slider)])]));
#{ arg controlArray;
{[
SinOsc.ar(Plug.ar(controlArray, index: 0),0,0.2),
SinOsc.ar(Plug.ar(controlArray, index: 1),0,0.2)
]}.play
}.send(controlArray);
)
- --- james mccartney james@audiosynth.com
SuperCollider - a real time synthesis programming language for the PowerMac.
------------------------------
Date: Thu, 12 Oct 2000 18:17:37 +0100
From: Paul Modler <---@---.--->
Subject: Re: Still no input with Korg1212
markdavid@mdhosale.com wrote:
> On Thu, 12 October 2000, Paul Modler wrote:
>
> >
> > Hi MarkDavid,
> > Tried your routing and still no audio in.
> > To make it clear:
> > Problem is, to get audio in ( for example from a mic) through the adat and 1212 to sc.
> >
> > (there are no problems to get audio out to the adat ( and to the speakers))
> > (With MAX/MSP there are no problems to get audio in)
> >
> > I am using an adat AI3 converter.
> >
> > Any idea?
> > cheers,
> > Paul
> >
> >
> What I suggest is a variation of Martin Robinson's test for audio out:
>
> { AudioIn.ar([1,2,3,4,5,6,7,8,9,10,11,12]) }.scope;
>
> If you execute this code and use your mic you should be able to see if your getting sound in then you can adjust the routing accordingly. Make sure you use headphones just in case. -MarkDavid
MarkDavid,
I tried that before, there is no input through the adat lines , I can see input from the analog stereo channels.
I'm realy wondering what the problem is.
Did you try audio input through adat lines with your 1212?
cheers,
P
>
>
> -------------------------------------
> Register for your free domain name!
> Plus free email and a personal portal
> http://www.namedemo.com
- --
Paul Modler
University of York
Music Department
Heslington, York, YO10 5DD, UK
Tel: 0044-1904-43-2435
Fax: 0044-1904-43-2450
plpm1@york.ac.uk
------------------------------
Date: Thu, 12 Oct 2000 12:41:18 -0400 (EDT)
From: "Ronald J. Kuivila" <---@---.--->
Subject: Re: embedding Pbind in Prout
Thanks James!
Boy, this is a puzzling piece of code, could you explain it a bit?
Here are my fumblings: inval is set to the Pbind and then is used as the
input argument to the streaming version of the Pbind. Two questions:
1. how is it that inval is actually correctly set as an input argument
before embedInStream is called?
2. Is the argument to embedInStream supposed to be an Event? Is Pbind,
as an EventPattern, being treated as an Event?
RJK
>
> Prout({ arg inval;
> inval = Pbind([\midinote,\dur],
> Pseq([[60,0.1],[62,0.2],[63,0.1]],4)).embedInStream(inval);
> inval = Pbind([\midinote,\dur],
> Pseq([[68,0.1],[67,0.1],[65,0.2]],4)).embedInStream(inval);
> }).play
>
>
>
>
>
>
>
> --- james mccartney james@audiosynth.com
> SuperCollider - a real time synthesis programming language for the PowerMac.
>
>
>
>
------------------------------
Date: 12 Oct 2000 10:59:49 -0700
From: markdavid@mdhosale.com
Subject: Re: Still no input with Korg1212
On Thu, 12 October 2000, Paul Modler wrote:
> MarkDavid,
> I tried that before, there is no input through the adat lines , I can see input from the analog stereo channels.
> I'm realy wondering what the problem is.
> Did you try audio input through adat lines with your 1212?
>
> cheers,
> P
Okay, sorry I hope I am not being totlly useless here. I cannot think of too much else except you should double check the audio set-up and make sure it is set to korg 1212 and not the sound manager. You probably already checked that. Also maybe the name of Korg 1212 in the main.sc is not the same as the asio driver? That is probabaly not true but it would cause problems if it were. Otherwise all I can tell you is I haven't had any real problems except the routing one I mentioned earlier. Here is my set-up for reference:
8600/200 with a g3 400 upgrade
sc 2.2.10
korg 1212
asio driver v.1.3.1
I am only using the ADAT connection direct to my Yamaha 01V (digital mixer) via an ADAT interface.
I hope this works, if not maybe some others have suggestions as well? Keep me posted- MarkDavid
- -------------------------------------
Register for your free domain name!
Plus free email and a personal portal
http://www.namedemo.com
------------------------------
Date: Thu, 12 Oct 2000 17:59:32 +0100
From: Martin Robinson <---@---.--->
Subject: Re: Still no input with Korg1212
> Did you try audio input through adat lines with your 1212?
Audio in and out work fine on all 12 I/O channels on my system. The mapping
irritation is the only problem.
What versions of the drivers are you using? Mine are:
1212 I/O 1.3.1
1212 ASIO 4.0
I know there are later versions but I haven't tried those yet.
Cheers,
Martin
- --
..>>>>Martin Robinson :: (Ex)tractor :: && ________
>>><<<_[sonic arts]_[middlesex university]_[en4 8ht] ______
________________________________________________________________
[[[[[[_-_SAN[diffusion]___YORK__-_21Oct2000_-_1000-0100_-_]]]]]]
___________ http://sonicartsnetwork.org/events.htm _____________
________________________________________________________________
>><<>>___t.+44 [0] 7970 405 903 // f.+44 [0] 7970 702 976 __
>><><>____e. _
------------------------------
Date: Thu, 12 Oct 2000 15:45:39 -0500
From: James McCartney <---@---.--->
Subject: FW: Patches that emulate natural sounds
- ----
Date: Thu, 12 Oct 2000 12:35:49 -0600
Subject: Patches that emulate natural sounds
From: "Dr. David Cottle" <---@---.--->
To: SC
Hi,
Subject says it all. I'm working on a project that "stylizes" natural
sounds; birds, crickets, etc. I've gone through most of the examples and
found good material, but I'm posting to see if anyone out there has examples
they would be willing to share.
- ----
------------------------------
Date: Thu, 12 Oct 2000 15:52:07 -0500
From: James McCartney <---@---.--->
Subject: Re: embedding Pbind in Prout
on 10/12/00 11:41 AM, Ronald J. Kuivila at rkuivila@mail.wesleyan.edu wrote:
> Thanks James!
>
> Boy, this is a puzzling piece of code, could you explain it a bit?
> Here are my fumblings: inval is set to the Pbind and then is used as the
> input argument to the streaming version of the Pbind. Two questions:
> 1. how is it that inval is actually correctly set as an input argument
> before embedInStream is called?
> 2. Is the argument to embedInStream supposed to be an Event? Is Pbind,
> as an EventPattern, being treated as an Event?
>
> RJK
>
>
inval is the Event that is passed in from the parent stream.
embedInStream takes that event and uses it for the first event in the child
stream. embedInStream runs until the child stream is finished and then
returns the Event that was passed in for the next event. You then use that
Event for the next one.
Event streams work by passing in the protoEvent which is modified at each
level by the child streams and then yielded back up the chain.
- --- james mccartney james@audiosynth.com
SuperCollider - a real time synthesis programming language for the PowerMac.
------------------------------
Date: Thu, 12 Oct 2000 12:53:10 -0600
From: David Cottle <---@---.--->
Subject: Patches that emulate natural sounds
Hi,
Subject says it all. I'm working on a project that "stylizes" natural
sounds; birds, crickets, etc. I've gone through most of the examples and
found good material, but I'm posting to see if anyone out there has examples
they would be willing to share.
------------------------------
Date: Thu, 12 Oct 2000 23:21:27 +0100
From: Paul Modler <---@---.--->
Subject: Re: Still no input with Korg1212
markdavid@mdhosale.com wrote:
> On Thu, 12 October 2000, Paul Modler wrote:
>
> > MarkDavid,
> > I tried that before, there is no input through the adat lines , I can see input from the analog stereo channels.
> > I'm realy wondering what the problem is.
> > Did you try audio input through adat lines with your 1212?
> >
> > cheers,
> > P
> Okay, sorry I hope I am not being totlly useless here. I cannot think of too much else except you should double check the audio set-up and make sure it is set to korg 1212 and not the sound manager. You probably already checked that. Also maybe the name of Korg 1212 in the main.sc is not the same as the asio driver? That is probabaly not true but it would cause problems if it were. Otherwise all I can tell you is I haven't had any real problems except the routing one I mentioned earlier. Here is my set-up for reference:
> 8600/200 with a g3 400 upgrade
Thanks a lot MarkDavid and MArtin!
Sorted out now,
It was in the end a funny combination of pre-Adat audio routing, which I couldnt see with the Max/Msp patch.
Thanks !
P
>
> sc 2.2.10
> korg 1212
> asio driver v.1.3.1
> I am only using the ADAT connection direct to my Yamaha 01V (digital mixer) via an ADAT interface.
> I hope this works, if not maybe some others have suggestions as well? Keep me posted- MarkDavid
>
> -------------------------------------
> Register for your free domain name!
> Plus free email and a personal portal
> http://www.namedemo.com
- --
Paul Modler
University of York
Music Department
Heslington, York, YO10 5DD, UK
Tel: 0044-1904-43-2435
Fax: 0044-1904-43-2450
plpm1@york.ac.uk
------------------------------
Date: Thu, 12 Oct 2000 23:41:09 +0200
From: Julian Rohrhuber <---@---.--->
Subject: Re: FW: Patches that emulate natural sounds
//////////////moskitos interactive
(
var f, f0;
f0 = 100;
f = { arg f1;
var e;
e = Env.new([0.0001, [1, 0.5, 0.2].choose, 0.0001],[3.5.rand, #[3.5, 4,
2, 3, 4.4, 10].choose+3.0.rand], 'exponential');
EnvGen.ar(e, Formant.ar(LFNoise1.kr(4, LFNoise1.kr(0.03, 14, 15), f1),
Line.kr(24*f1+f1.rand2, 12*f1, 2.1.rand), 1000))
};
Synth.play({
var m, my, f1;
m = MouseX.kr(0.3, 20);
//my = MouseY.kr(200, 1000);
m = LFNoise1.kr(LFNoise1.kr(1/25, 0.2, 0.23)) + LFNoise1.kr(1/40, 4, 3.99);
my = LFNoise1.kr(1/10, 400, 600).min(SinOsc.kr(0.05, 0, 200, 400));
Spawn.ar({ arg sp, i, sy; sp.nextTime = m.poll.rand;
Pan2.ar(f.value(my.poll), SinOsc.ar(1.0.rand))
}, 2, 2, nil, 0.2)
});
)
> Subject says it all. I'm working on a project that "stylizes" natural
> sounds; birds, crickets, etc. I've gone through most of the examples and
> found good material, but I'm posting to see if anyone out there has examples
> they would be willing to share.
------------------------------
Date: Thu, 12 Oct 2000 16:06:38 -0700
From: Chris Brown <---@---.--->
Subject: CD-R playthrough
Is there any way in SC to suppress the playthrough of audio CDs so that
one could use the CD output only as an input to SC, process it, and have
it alone be heard ? this assumes no additional audio hardware, just
Sound Manager...
thanks for any help,
chris
------------------------------
Date: Thu, 12 Oct 2000 20:40:05 EDT
From: JoJoBuBu@aol.com
Subject: Re: CD-R playthrough
I've done this before by simply turning the volume down on the CD-player.
Don't turn down the main system volume just the volume on the cd player.
Works for me just fine if this is what you mean.
ANdy
------------------------------
Date: Fri, 13 Oct 2000 12:06:00 +1100
From: Graeme Gerrard <---@---.--->
Subject: Re: Patches that emulate natural sounds
- --============_-1240723176==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
>Hi,
>
>Subject says it all. I'm working on a project that "stylizes" natural
>sounds; birds, crickets, etc. I've gone through most of the examples and
>found good material, but I'm posting to see if anyone out there has examples
>they would be willing to share.
(
// insects under midi control
// mixes a continuous and pulsing noise
// adds a bunch of delays to smear the sound out a bit in space
// chan 1 controller 7 controls mix of flat and pulsed insects
// chan 3 controller 7 controls mix of delayed and dry sig
var n, env, x1, m1, m2, tapDurs, tapAmps, mix, z1, c1, c2, ss;
n = 8; // number of simultaneous events
tapDurs = [0.0043, 0.0215, 0.0268, 0.0298, 0.0485, 0.0572, 0.0595,
0.0708, 0.0741, 0.0797];
tapAmps = [0.841, 0.504, 0.379, 0.346, 0.272, 0.192, 0.217, 0.181,
0.142, 0.134];
mix = 0.5;
env = Env.linen(2, 9, 2, 0.1);
play({
// this controller needs to go from -1.0 to +1.0
m1 = MIDIController.kr(1,7,-1.0,1.0,'linear');
mix = MIDIController.kr(2,7, 0.0,1.0,'linear');
ss = Spawn.ar({
x1 = FSinOsc.ar(3500.0+8000.0.rand,
EnvGen.kr(env,1.0, 0, 1.0, 0,
0.8+6.0.linrand)).amclip(SinOsc.ar(8+80.0.linrand));
// x fade between sig and lf pulsed version
LinXFade2.ar(x1, x1.amclip(SinOsc.ar(0.01+8.0.linrand)), m1);
}, 1, 7);
z1 = MultiTap.ar(`tapDurs,`tapAmps, ss * 0.1);
c1 = CombN.ar( z1, 0.05, 0.05, 0.46);
c2 = CombN.ar( z1, 0.068, 0.068, 0.52);
// uses 4 channels
[z1, c1, c2, c2-c1] + (ss * mix);
}.scope;))
- --
- --
Graeme Gerrard
Resonant Multimedia
PO Box 56 Warburton AUSTRALIA 3799
ph: (03) 5966 5400 FAX: (03) 5966 5411
ggerrard@resonant.com.au
- --============_-1240723176==_ma============
Content-Type: text/html; charset="us-ascii"
Re: Patches that emulate natural
sounds
Hi,
Subject says it all. I'm working on a project that "stylizes"
natural
sounds; birds, crickets, etc. I've gone through most of the examples
and
found good material, but I'm posting to see if anyone out there has
examples
they would be willing to share.
(
// insects under midi control
// mixes a continuous and pulsing noise
// adds a bunch of delays to smear the sound out a bit in space
// chan 1 controller 7 controls mix of flat and pulsed insects
// chan 3 controller 7 controls mix of delayed and dry sig
var n, env, x1, m1, m2, tapDurs, tapAmps, mix, z1, c1, c2, ss;
n = 8; // number of simultaneous events
tapDurs = [0.0043, 0.0215, 0.0268, 0.0298, 0.0485, 0.0572, 0.0595,
0.0708, 0.0741, 0.0797];
tapAmps = [0.841, 0.504, 0.379, 0.346, 0.272, 0.192, 0.217, 0.181,
0.142, 0.134];
mix = 0.5;
env = Env.linen(2, 9, 2, 0.1);
play({
// this controller needs to go
from -1.0 to +1.0
m1 =
MIDIController.kr(1,7,-1.0,1.0,'linear');
mix = MIDIController.kr(2,7,
0.0,1.0,'linear');
ss = Spawn.ar({
x1 = FSinOsc.ar(3500.0+8000.0.rand,
EnvGen.kr(env,1.0, 0, 1.0, 0,
0.8+6.0.linrand)).amclip(SinOsc.ar(8+80.0.linrand));
// x
fade between sig and lf pulsed version
LinXFade2.ar(x1, x1.amclip(SinOsc.ar(0.01+8.0.linrand)),
m1);
}, 1,
7);
z1 =
MultiTap.ar(`tapDurs,`tapAmps, ss * 0.1);
c1 = CombN.ar( z1, 0.05, 0.05, 0.46);
c2 = CombN.ar( z1, 0.068, 0.068,
0.52);
// uses 4
channels
[z1, c1, c2, c2-c1] +
(ss * mix);
}.scope;))
--
- --
Graeme Gerrard
Resonant Multimedia
PO Box 56 Warburton AUSTRALIA 3799
ph: (03) 5966 5400 FAX: (03) 5966 5411
ggerrard@resonant.com.au
- --============_-1240723176==_ma============--
------------------------------
End of sc-users-digest V1 #183
******************************