[OT]SuperCollider from max

Kasper's icon

hi

following my message(s) in the "Multi-language Max/MSP (B Garton)"
thread (yesterday), I am still searching for a way to control synth
params of SuperCollider3 from max

it is still not clear for me hox to do it (using OSC)

the max part of it seems clear (sending osc , on address 127.0.0.1,
port 157120)

if anyone had a simple exemple of how to receive it in SC3, that would be great

many thanks

kasper
--
Kasper T. Toeplitz
noise, composition, bass, computer
http://www.sleazeArt.com

sfogar's icon

HI,

try to look here:

Look for: joeGendy

All the best

Alessandro Fogar

2007/7/12, Kasper T Toeplitz :
>
>
> hi
>
> following my message(s) in the "Multi-language Max/MSP (B Garton)"
> thread (yesterday), I am still searching for a way to control synth
> params of SuperCollider3 from max
>
> it is still not clear for me hox to do it (using OSC)
>
> the max part of it seems clear (sending osc , on address 127.0.0.1,
> port 157120)
>
> if anyone had a simple exemple of how to receive it in SC3, that would be great
>
> many thanks
>
> kasper
> --
> Kasper T. Toeplitz
> noise, composition, bass, computer
> http://www.sleazeArt.com
>
> http://www.myspace.com/sleazeart
>
>

--
Alessandro Fogar

Gary Lee Nelson's icon

I have SCPlayer that instantiates and plays SC3 synthdefs from max in a
manner somewhat like poly~. If you have trouble with this, let me know and
I can send a .sit or .zip file. The main patch uses my random objects
available at www.timara.oberlin.edu/garyleenelson.

Test with this synthdef:

SynthDef("SH",
{
arg rate = 12, att = 0, decay = 5.0, offset = 400;
var env, out, pan, max;
pan = LFNoise1.kr(1/3);
env = EnvGen.kr(Env.perc(att, decay), doneAction: 2);
out = Pan2.ar(
Blip.ar(LFNoise0.ar(rate, min(100, offset), offset),
(env)*12 + 1, 0.3), pan)*env;
Out.ar(0, out)
}).send(s)
)

Here's SCPlayer:

Max Patch
Copy patch and select New From Clipboard in Max.

And here's SHmax2sc that uses it:

Max Patch
Copy patch and select New From Clipboard in Max.

On 7/12/07 5:54 AM, "Kasper T Toeplitz" wrote:

>
>
> hi
>
> following my message(s) in the "Multi-language Max/MSP (B Garton)"
> thread (yesterday), I am still searching for a way to control synth
> params of SuperCollider3 from max
>
> it is still not clear for me hox to do it (using OSC)
>
> the max part of it seems clear (sending osc , on address 127.0.0.1,
> port 157120)
>
> if anyone had a simple exemple of how to receive it in SC3, that would be
> great
>
> many thanks
>
> kasper

Cheers
Gary Lee Nelson
Oberlin College
www.timara.oberlin.edu/GaryLeeNelson

Gary Lee Nelson's icon

Forgott o add thanks to Josh Parmeter and Mark Polishook for helping me sort
this out.

On 7/12/07 5:54 AM, "Kasper T Toeplitz" wrote:

>
>
> hi
>
> following my message(s) in the "Multi-language Max/MSP (B Garton)"
> thread (yesterday), I am still searching for a way to control synth
> params of SuperCollider3 from max
>
> it is still not clear for me hox to do it (using OSC)
>
> the max part of it seems clear (sending osc , on address 127.0.0.1,
> port 157120)
>
> if anyone had a simple exemple of how to receive it in SC3, that would be
> great
>
> many thanks
>
> kasper

Cheers
Gary Lee Nelson
Oberlin College
www.timara.oberlin.edu/GaryLeeNelson

Gary Lee Nelson's icon

Oops...just noticed that I used Peter Elsea's Label inside SCPlayer. It's
from his highly recommended set of Lobjects. Sorry to include third party
objects but Elsea's objects and mine are readily available and are updated
to follow developments in Max and Macs. Personally, I think serious max
users should already have them.

On 7/12/07 5:54 AM, "Kasper T Toeplitz" wrote:

>
>
> hi
>
> following my message(s) in the "Multi-language Max/MSP (B Garton)"
> thread (yesterday), I am still searching for a way to control synth
> params of SuperCollider3 from max
>
> it is still not clear for me hox to do it (using OSC)
>
> the max part of it seems clear (sending osc , on address 127.0.0.1,
> port 157120)
>
> if anyone had a simple exemple of how to receive it in SC3, that would be
> great
>
> many thanks
>
> kasper

Cheers
Gary Lee Nelson
Oberlin College
www.timara.oberlin.edu/GaryLeeNelson

Kasper's icon

hi

did not reall tried your patch , BUT it gave me the answer to my problem:

sending OSC with the OpenSoundControl does not work - but using
udpsend is perfect

all exemples were done with OpenSoundControl, and did not work

udpsend is perfect

many thanks

kasper
--
Kasper T. Toeplitz
noise, composition, bass, computer
http://www.sleazeArt.com

Brad Garton's icon

How strange -- I thought that that the OpenSoundControl object was
necessary to properly format the OSC packets for SC3 (so says the
OpenSoundControl docs...). Apologies for any confusion in my
examples!

Quoting Kasper T Toeplitz :

> hi
>
> did not reall tried your patch , BUT it gave me the answer to my
> problem:
>
> sending OSC with the OpenSoundControl does not work - but using
> udpsend is perfect
>
> all exemples were done with OpenSoundControl, and did not work
>
> udpsend is perfect
>
> many thanks
>
> kasper
> --
> Kasper T. Toeplitz
> noise, composition, bass, computer
> http://www.sleazeArt.com
>
> http://www.myspace.com/sleazeart
>
>

Kasper's icon

>How strange -- I thought that that the OpenSoundControl object was
>necessary to properly format the OSC packets for SC3 (so says the
>OpenSoundControl docs...). Apologies for any confusion in my
>examples!
>

not only you - it seems it DID work this way, but does no more

we tried with many SC3 versions, and many macs ( PPC & intel)

seems it does not work with OSX48... not sure, but with a mac OSX49 it works

not sure WHY OpenSoundControl doesn not work

but the patches do, now

many thanks

kasper
--
Kasper T. Toeplitz
noise, composition, bass, computer
http://www.sleazeArt.com

Brad Garton's icon

Quoting Kasper T Toeplitz :

> not only you - it seems it DID work this way, but does no more
> we tried with many SC3 versions, and many macs ( PPC & intel)
> seems it does not work with OSX48... not sure, but with a mac
> OSX49 it works

Aha -- explains why it was working for me, 10.4.9 and 10.4.10 here.

thanks for figuring this out.

Anthony Palomba's icon

While we are on the topic of SuperCollider, I have been debating
for a while whether or not I should learn how to use
SuperCollider. Is there anything that SuperCollider does that
I could not do with csound or MSP?

Anthony Palomba's icon
Gary Lee Nelson's icon

There are overlaps and differences among SuperCollider, Csound and MSP -
advantages and disadvantages among all three. I use all of them at
different times and for different purposes.

All languages have personalities. They make some things easy and others
difficult. I have found it valuable to learn as many as possible - never a
waste of time.

I recommend SuperCollider. It's free, constantly being expanded and
supported by a user community of very impressive (and helpful) people. I
suggest starting with Mark Polishook's tutorial and looking at the examples.
David Cottle has extensive class notes in PDF and there is a SuperCollider
book in the works. You're probably looking at a couple of hours to get the
basic idea. Then you can decide whether to go further.

On 7/12/07 11:07 AM, "Anthony Palomba" wrote:

>
> While we are on the topic of SuperCollider, I have been debating
> for a while whether or not I should learn how to use
> SuperCollider. Is there anything that SuperCollider does that
> I could not do with csound or MSP?

Cheers
Gary Lee Nelson
Oberlin College
www.timara.oberlin.edu/GaryLeeNelson

Anthony Palomba's icon

Thanks for the info Gary. I will try to look into it.
Do you have any links to these tutorials and notes?

----- Original Message -----
From: Gary Lee Nelson
Date: Thursday, July 12, 2007 11:41 am
Subject: Re: [maxmsp] Re: [OT]SuperCollider from max
To: Max

> There are overlaps and differences among SuperCollider, Csound and
> MSP -
> advantages and disadvantages among all three. I use all of them at
> different times and for different purposes.
>
> All languages have personalities. They make some things easy and
> othersdifficult. I have found it valuable to learn as many as
> possible - never a
> waste of time.
>
> I recommend SuperCollider. It's free, constantly being expanded and
> supported by a user community of very impressive (and helpful)
> people. I
> suggest starting with Mark Polishook's tutorial and looking at the
> examples.David Cottle has extensive class notes in PDF and there
> is a SuperCollider
> book in the works. You're probably looking at a couple of hours to
> get the
> basic idea. Then you can decide whether to go further.
>
>
> On 7/12/07 11:07 AM, "Anthony Palomba" wrote:
>
> >
> > While we are on the topic of SuperCollider, I have been debating
> > for a while whether or not I should learn how to use
> > SuperCollider. Is there anything that SuperCollider does that
> > I could not do with csound or MSP?
>
>
> Cheers
> Gary Lee Nelson
> Oberlin College
> www.timara.oberlin.edu/GaryLeeNelson
>
>
>

Gary Lee Nelson's icon

I think the Polishook tutorials is included in the SC3 download.

Download both links. The first is the tutorial in pdf and the second is a
folder of SC3 examples to accompany the text.

On 7/12/07 12:46 PM, "apalomba@austin.rr.com"
wrote:

> Thanks for the info Gary. I will try to look into it.
> Do you have any links to these tutorials and notes?
>
>
>
>
> ----- Original Message -----
> From: Gary Lee Nelson
> Date: Thursday, July 12, 2007 11:41 am
> Subject: Re: [maxmsp] Re: [OT]SuperCollider from max
> To: Max
>
>> There are overlaps and differences among SuperCollider, Csound and
>> MSP -
>> advantages and disadvantages among all three. I use all of them at
>> different times and for different purposes.
>>
>> All languages have personalities. They make some things easy and
>> othersdifficult. I have found it valuable to learn as many as
>> possible - never a
>> waste of time.
>>
>> I recommend SuperCollider. It's free, constantly being expanded and
>> supported by a user community of very impressive (and helpful)
>> people. I
>> suggest starting with Mark Polishook's tutorial and looking at the
>> examples.David Cottle has extensive class notes in PDF and there
>> is a SuperCollider
>> book in the works. You're probably looking at a couple of hours to
>> get the
>> basic idea. Then you can decide whether to go further.
>>
>>
>> On 7/12/07 11:07 AM, "Anthony Palomba" wrote:
>>
>>>
>>> While we are on the topic of SuperCollider, I have been debating
>>> for a while whether or not I should learn how to use
>>> SuperCollider. Is there anything that SuperCollider does that
>>> I could not do with csound or MSP?
>>
>>
>> Cheers
>> Gary Lee Nelson
>> Oberlin College
>> www.timara.oberlin.edu/GaryLeeNelson
>>
>>
>>

Cheers
Gary Lee Nelson
Oberlin College
www.timara.oberlin.edu/GaryLeeNelson

Gary Lee Nelson's icon