Forums > MaxMSP

Basic Synthesis

August 31, 2007 | 3:01 am

Hi All,

How would i go about creating a Sound Generator within Max/MSP? Ideally a square wave oscillator with variable frequency and amplitude?

Thanks in advance,
Jeremy



jdh
August 31, 2007 | 3:38 am

Hi Jeremy,
take a look at the objects available within CNMATs’ max obj library, or even the percolate library for some interesting synthesis tools.

cheers
jdh


August 31, 2007 | 4:45 am

At 9:01 PM -0600 8/30/07, Alex Myers wrote:
>How would i go about creating a Sound Generator within Max/MSP? Ideally a square wave oscillator with variable frequency and amplitude?

The rect~ object is a square/pulse generator. Here’s a simple example:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P hidden message 235 193 20 196617 80;
#P hidden message 229 302 14 196617 1;
#P hidden message 240 72 20 196617 48;
#P hidden newex 341 84 48 196617 loadbang;
#P comment 97 38 68 196617 frequency ->;
#P user number~ 168 72 207 87 9 3 3 1 0. 0. 0 48. 250 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 168 91 37 196617 mtof~;
#P user kslider 168 28 35 1 36 60 19 7 0 128 128 128 128 128 128 255 255 255 0 0 0 0 0 0;
#P user ezdac~ 168 326 212 359 0;
#P user gain~ 168 189 24 100 158 0 1.071519 7.94321 10.;
#P newex 168 165 40 196617 rect~;
#B color 5;
#P comment 97 240 66 196617 amplitude ->;
#P hidden connect 8 0 10 0;
#P hidden connect 8 0 11 0;
#P hidden connect 8 0 9 0;
#P hidden connect 11 0 2 0;
#P hidden connect 10 0 3 0;
#P hidden connect 9 0 4 0;
#P connect 2 0 3 0;
#P connect 2 0 3 1;
#P connect 5 0 1 0;
#P connect 4 0 6 0;
#P connect 6 0 5 0;
#P connect 1 0 2 0;
#P window clipboard copycount 12;

-C


Chris Muir | "There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue." – Brian Eno


August 31, 2007 | 5:00 am

Hi Chris,

I am quite new to the Max/MSP language so forgive me if this is a stupid question, How do i turn the example you just posted into a file?

Regards,
Jeremy


August 31, 2007 | 5:24 am

Copy the entire bit of text, open Max, and then choose File -> New From Clipboard.

Forum mods… this question comes up quite a bit. Any chance of a FAQ/Intro posting "sticky"d to the top of the forum that would answer this and other basic questions? It’s a nice feature in a forum and helps to orient the newbies. Just a thought…

/dan

Quote: lxmyers wrote on Thu, 30 August 2007 23:00
—————————————————-
> Hi Chris,
>
> I am quite new to the Max/MSP language so forgive me if this is a stupid question, How do i turn the example you just posted into a file?
>
> Regards,
> Jeremy
—————————————————-


August 31, 2007 | 5:53 am

At 11:00 PM -0600 8/30/07, Alex Myers wrote:
>I am quite new to the Max/MSP language so forgive me if this is a stupid question, How do i turn the example you just posted into a file?

Copy "funny text" to clipboard from email
In Max, and select "New from Clipboard" from the file menu.

-C


Chris Muir | "There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue." – Brian Eno


August 31, 2007 | 6:09 am

Thank you all.

Exactly what i was after.

Kind Regards,
Jeremy


August 31, 2007 | 7:27 am

Hi,

look here:

http://www.cycling74.com/story/2007/8/20/111019/403

All the best


Alessandro Fogar

http://www.fogar.it

2007/8/31, Alex Myers :
>
> Hi All,
>
> How would i go about creating a Sound Generator within Max/MSP? Ideally a square wave oscillator with variable frequency and amplitude?
>
> Thanks in advance,
> Jeremy
>


August 31, 2007 | 7:08 pm

> Copy "funny text" to clipboard from email
> In Max, and select "New from Clipboard" from the file menu.
>
> -C
>
> —
> Chris Muir

i wonder how he was able to tell between this kind of funny text and the rest of the maxmsp forum.


August 31, 2007 | 8:30 pm

At 1:08 PM -0600 8/31/07, Roman Thilenius wrote:
>i wonder how he was able to tell between this kind of funny text and the rest of the maxmsp forum.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 57 107 143 196617 append "able to figure it out.";
#P newex 57 131 62 196617 print forum;
#P toggle 57 49 15 0;
#P newex 57 77 209 196617 if $i1 > 0 then You’re else out2 "You’re not";
#P newex 57 29 38 196617 active;
#P comment 74 50 123 196617 Attentive Forum Member;
#P connect 3 0 2 0;
#P connect 2 0 5 0;
#P fasten 2 1 5 0 261 100 62 100;
#P connect 5 0 4 0;
#P connect 1 0 3 0;
#P window clipboard copycount 6;

-C


Chris Muir | "There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue." – Brian Eno


September 1, 2007 | 4:09 am

I thought you said it was supposed to be funny…?

Zing!

b

On Aug 31, 2007, at 1:30 PM, Chris Muir wrote:

> At 1:08 PM -0600 8/31/07, Roman Thilenius wrote:
>> i wonder how he was able to tell between this kind of funny text
>> and the rest of the maxmsp forum.
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 57 107 143 196617 append "able to figure it out.";
> #P newex 57 131 62 196617 print forum;
> #P toggle 57 49 15 0;
> #P newex 57 77 209 196617 if $i1 > 0 then You’re else out2 "You’re
> not";
> #P newex 57 29 38 196617 active;
> #P comment 74 50 123 196617 Attentive Forum Member;
> #P connect 3 0 2 0;
> #P connect 2 0 5 0;
> #P fasten 2 1 5 0 261 100 62 100;
> #P connect 5 0 4 0;
> #P connect 1 0 3 0;
> #P window clipboard copycount 6;
>
> -C
>
> —
> Chris Muir | "There are many futures and only one status
> quo.
> cbm@well.com | This is why conservatives mostly agree,
> http://www.xfade.com | and radicals always argue." – Brian Eno

Barry Threw
Media Art and Technology

San Francisco, CA Work: 857-544-3967
Email: bthrew@gmail.com
IM: captogreadmore (AIM)
http:/www.barrythrew.com


September 1, 2007 | 4:16 pm

At 9:09 PM -0700 8/31/07, barry threw wrote:
>I thought you said it was supposed to be funny…?

What can I say… I find high-concept, low-humor amusing.

-C


Chris Muir | "There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue." – Brian Eno


Viewing 12 posts - 1 through 12 (of 12 total)