Hey so I’ve been dabbling myself into the algorithm coding world which is Pure data and Supercollider. A big question about it that I have is how to memorize all the different functions and code for both software. Also if you have any tips for loading samples into PD/Max Msp that would be very helpful because I keep getting this weird error about the soundfiler not reading my audio. It’s saying it’s an array but I’m loading a wav file soooo if you can help that would be sick.
You don’t. There’s way too much, which is why they have documentation and help files and search. You’ll find you commit to memory the ones you use a lot, have an idea what to search for with sometimes-used functions, and learn how to search for things you have no idea about. I’ve recently starting working a lot more with Supercollider and I’ve had to look up almost every function I’ve used because I’m not familiar with any of them. Luckily it has great search/documentation.
I’m assuming you’re getting that error in Pd. soundfiler wants to read data from an array (a generic chunk of memory set aside for Pd to store stuff in, you can use it for all sorts of stuff). You need to use read test.wav array1 to read the wav into an array, where test.wav is whatever sound file you want, and then pipe that into soundfiler. You can also use readsf~ to read audio directly from a sound file on disk.
The process is similar in Max, but you’d use the buffer~ object:
buffer~ my_buffer test.wav will create a buffer called my_buffer and load test.wav into it, which you can then double click on to view (helpful to confirm it loaded) and pass to groove~ or play~. Max also has the sfplay~ object which can play directly from the disk like Pd’s readsf~.