Help with Nodes
So I'm very new to Max. I've gotten familiar with some of its basic functions but have note yet utilized any of the user created material.
I found this great thing called "nodes": https://cycling74.com/forums/nodes
Unfortunately, I don't know how to use it. It's a tool that creates nodes that cover a 2d space. You can then scrub around the 2d space to increase/decrease gain depending on location relative to the nodes.
At least that's what I think it does.
I'd like to assign an audio file to each of the nodes (preferably wav, but it doesn't matter too much), but I don't know how. I assume that I have do something along the lines of using buffer~ and then maybe sfplay~ or groove~, but I don't know what to hook up to where (or where to put an ezdac). I know that this is probably a simple thing to do (I hope), but again -new to Max here.
Sounds like you have an idea about how this might fit together. How about you give it a good try and post whatever you come up with? For reference, look at MSP tutorials 7, 13-17. A hint: you'll probably want to use an unpack object somewhere in the patch. This is pretty straightforward Max stuff, and I don't think anyone here wants to deny you the experience of learning these important skills.
Ok. So I've taken two steps forward and one step back. Here's what I've got (this is my first time posting a project, so I hope this works):
So I used buffer~ and groove~ objects for my sound files. You need to hit the button to load the sound (and obviously you need the sound file).
I found some code that I plugged in to extract volume data as well as which node it is taking data from. *~ interprets this and sends the result to an ezdac.
Here's what I still can't figure out:
1) Ever since messing with this project, my nodes stopped functioning. I just have candy stripes going through where they should be. This is a major problem since my project won't work at all now.
2) I want to assign each one of my 3 buffered files to a node. I know that I need to use the flow num that I attached (right?), but I don't know where to use it. Can I make an object along the lines of "groove~ file$1"?
3) I also need to be able to get readings even if the nodes overlap. As it stands, if nodes overlap, my little addition only extracts the largest value. This isn't vital, but I'd like it to work out regardless.
Make sure you don't have another file called "nodes" in your Max search path. Did you save your patch with the name "nodes"? This is the most common cause of trouble when objects mysteriously stop functioning. You have to be fairly careful about how you name things so that you don't cause conflicts.
While I'm intrigued by this little "zl" flourish in your patch, I think it's unnecessary for what you actually want. It seems like you really just want to use an [unpack] object and route the different node weights to different places. Maybe start by replicating what you have with the groove~ and *~ and control each volume using a different node value from the list.
*light bulb goes off*
That makes sense -I guess I've been trying to do it the roundabout way. Hopefully I'll have something posted within a day or two (I'm moving right now) that performs how I want it to.
I probably do have more than one file called "nodes" (or something similar). Once I get on my other comp I'll check to see if that's the issue (I assume it is).