question about c-sound/max

Kaspar's icon

Hi,

I am new to using csound in max. In the below code examples, how do I make the pitch in the c-sound correspond to the pitch in the traditional piano in max?

Best,

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

K

3034.osciln.csd
csd
Anthony Palomba's icon

I have used csound and Max for quite some time. It is
a fantastic combination.

Currently your csound file does not accept any outside
messages. The easiest way to get them to work together
is to pass MIDI messages from Max to csound~.

When I get home I will dig up an example and post it.

Anthony Palomba's icon

Here is an example max patcher and csd file that should help
you in getting things working.

3040.oscilcs.csd
csd
Kaspar's icon

Thanks :-)

I have copy-pasted the code and no error messages in max, except from "error loading bpatcher mixer4-2.maxpat" - perhaps why I don't get any sound so far ...

K

Anthony Palomba's icon

Sorry, here you go...

3041.mixer42.maxpat
Max Patch