Forums > MaxMSP

kslider/notein?

February 26, 2009 | 4:34 pm

I apologise for this, but this is probably my first in a series of silly questions, because I’m absolutely awful at using this program.

So – long story short; I’m a student, and I have an assignment to create an arpeggiator in Max/MSP. I have a number of issues, but firstly I’m trying to get something to work on my computer at home, where I don’t have a MIDI keyboard.

I thought that kslider might work with this – I’ve set it up as the Max help files show, except I don’t want it to go straight to noteout, I need it to go to a notein, so that it can go on to do the processing etc. Is this possible? Or have I just done something silly?

This is my current patcher, which makes no sound. I’d be really grateful if someone could tell me if I’m doing something wrong!

http://i39.tinypic.com/znkbc7.jpg

(I know the rest of it is all completely wrong, but at uni, where we do have the MIDI keyboards set up it at least makes some noise, even if it’s not what I want!)

Any help greatly appreciated! Smile


February 26, 2009 | 4:37 pm

Use [print]. Connect at the output of your objects. See what kind of data travels on your "cables". Use help files (for instance for [notein] and others.
kslider + makenote replace notein. You don’t want to give notein anything.
When you send a patch on this forum, send as "Copy compressed" (Edit menu). That way, readers can easily open you patch in Max (Copy/Paste), try it, modify, and suggest improvements.
Jean-Francois.


February 26, 2009 | 4:46 pm

Thank you! I now have sound, which is a great improvement, I might actually be able to figure the rest out! Sorry for my inexperience, but thanks for the tip – next stupid question I’ll be sure to do that Smile


February 26, 2009 | 5:43 pm

Here’s a patch I use to simulate a MIDI keyboard. It uses your computer keyboard to play MIDI notes.

The left inlet accepts toggle to set on/off, default on and "reset" message to turn all notes off. MIDI note numbers are sent from the left outlet and MIDI velocity from the centre outlet. Left and right keys change octave, up and down keys change velocity. w to ] and a to play the keyboard. The right outlet shows the note values over the range of the keyboard.

I hope it helps.

lh

– Pasted Max Patch, click to expand. –

February 26, 2009 | 7:36 pm

That’s a great patch, thank you!


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