/r/MaxMSP

Photograph via snooOG

The subreddit for Max/MSP

The Subreddit for all MaxMsp / Jitter / Max for Live / Puredata related needs! News, Patches, Projects - come in, share and enjoy!

“Max is an interactive graphical programming environment for music, audio, and media. Max is the graphical programming environment that provides user interface, timing, communications, and MIDI support. MSP adds on real-time audio synthesis and DSP, Jitter extends Max with video and matrix data processing, and Vizzie is a set of modules for quick and unique video creation.“

Links:

http://cycling74.com/
http://maxobjects.com/
http://puredata.info/

Related Subreddits:

/r/puredata /r/max4live /r/ableton

/r/MaxMSP

14,131 Subscribers

2

Max Tutorials #22 ; designing equations (evaluation)

Hey people ,

I am working on a patch that roots from Max tutorial no 22 ,

here : https://docs.cycling74.com/learn/articles/basicchapter22/

So its a serene patch that only for making a drawing through an equation ,

ı want to connect it to a basıc sound generator patch using matrixctrl object that can be live - triggered by physicak MIDI keyboard and adding spice with some tweaked audio samples ( through buffer , audios looped , with added noize to create an ambient flow etc. ) .

I am a bit lost here ; where should i write the Sound patch .. ( im a beginner here ) .

i did some shots inside to the '' generate cefficents '' patch but seems not working ..

any help ?

0 Comments
2024/12/02
14:20 UTC

2

Any way to track subgroup hierarchy using js?

Have been trying, get("group_track") returns the top-most parent group so can't use that. I could use the "available_output_routing_types" property and parse, but for the (obscure) case where the subgroup track name is the same as the main group name, this method won't hold. I'm wondering if there's any way to achieve this, or even if its possible to get the number of tracks within a group so I can keep track of subgroups numerically (I've tried this but keep getting invalid path errors). Appreciate any help, thank you:)

1 Comment
2024/12/02
06:06 UTC

7

Jit.buffer~ and wavetable synthesis

0 Comments
2024/12/01
08:52 UTC

3

Is there an easy way to record/edit MIDI data inside Max? Kind of in Live's Piano Roll?

I normally play with my MIDI Keyboard and I've been using the `seq` object, but I wish to save it and edit them so I can experiment with it visually, like in a Piano Roll. I bet this is possible in Max, but dunno how.

8 Comments
2024/11/29
19:07 UTC

3

If then else idea In max

Hello guys I'm new to Max, was wondering if its possible if there's a random object that chooses numbers between 30 and 4000 if it picks for example 150 I want an if then else system to send out a 1 if it receives the exact number or if it's receives either minimum below by -49 (so 101) or maximum by +49 (199) and outputs the 0 if it's anywhere below or up (from 100 or 200)?

12 Comments
2024/11/29
16:47 UTC

22

More mess👹on Max msp

3 Comments
2024/11/29
12:37 UTC

1

How to Get Raw Data from XP-Pen Deco Fun S Tablet Without Activating the Cursor? (Using Max/MSP or TouchDesigner)

Hello everyone,

I’m working with my XP-Pen Deco Fun S tablet and trying to use it solely for collecting raw data (such as position, pressure, tilt, etc.) without activating the mouse cursor on the screen. I’m using Max/MSP or Touchdesigner (and OSC) for my project, and I want to capture these raw inputs (like coordinates and pressure values) for further processing, but I don’t want the tablet to control the system cursor.

I’ve explored the options provided by OpenTabletDriver and the XP-Pen software and the SDK, but I can’t find a solution that allows me to disable the cursor while still collecting the data, it doesn’t seem to have a direct option for this. Some users have mentioned using custom filters or modifying the driver behavior, but I’m unsure how to implement this.

Has anyone had experience with this type of setup using the Deco Fun S? Is there a way to obtain just the raw data from the tablet without it interacting with the system’s cursor?

Any advice or guidance on how to achieve this would be greatly appreciated! i'm on Mac.

Thanks in advance!

0 Comments
2024/11/28
22:10 UTC

1

Messages and Variables

I'm new to Max, and I'm trying to make some parameters adjustable.

Here's my current patcher:

https://preview.redd.it/2brm1e0djo3e1.png?width=940&format=png&auto=webp&s=53c7d63ae3b2b9131f3ede8f87bb3842042f2201

Near the top left, you may notice a deviate message. I want to make both parameters adjustable with the dials attached, but at the moment, when I try to do that, it just overwrites the whole message with the value of the rightmost one. How can I achieve this?

9 Comments
2024/11/28
17:46 UTC

1

Max Help!

Hey everyone, I have a Max for Live device that I want to edit, but I’m unable to access its internal workings. I’ve tried opening it in Ableton and going into edit mode, but even after unfreezing and unlocking the device, I still couldn’t edit it as in there are two modules popping up called live.thisdevice and bpatcher. I am suspecting that the main internal workings are hidden inside the bpatcher which I would like to access, I also attempted to drag and drop it into Max for Live directly, but that didn’t work either. Is there any way to edit this Max for Live device? any insight would be really helpful! Thank you!!

3 Comments
2024/11/28
12:07 UTC

14

comb is finally out of beta. 5 months of development, 2 months of testing and fixing.

2 Comments
2024/11/28
09:03 UTC

3

always on top theme switcher?

Im new to max. At least the latest one. It seems to me certain packages lend themselves to lighter themes. Has anyone made a little window with themes you customized that you can switch on demand? Instead of going into the preferences. Its a lazy thing but I thought I would ask

0 Comments
2024/11/27
12:04 UTC

3

I need advice on where to start with eurorack integration/implementation

I know nothing about max but I have a large eurorack setup and lately I am wondering how hard it would be to create max effect that I can integrate with eurorack. I have a motu 16a and cv-to-midi and midi-to-cv modules. I look at some digital FX modules like Qu-bit Mojave, databender or intellijel rainmaker and wonder how hard it would be to make something like that with max. I have seen a YouTube video where someone makes a metropolis like sequencer in Max which was awesome. So I am wondering if I went down the max path how long would it take to make some complex delay/granular/looper/glitch fx modules. Is this feasible or would I have to become a max wizard after years of learning and practicing with a shoulder deep understanding of DSP and synthesis.

10 Comments
2024/11/27
03:25 UTC

11

Learning max msp?

What is the typical way? Is there a big pdf I don’t know about? I kind of know how to use max cause I spent a lot of time with it ages ago, like year 2000, but things have changed How do you learn it? I use supercollider which is endless reading and can be exhausting

43 Comments
2024/11/27
01:19 UTC

1

Max help

Hello!!! I am very new to Max. I have done small projects thus far, so I am very inexperienced, but I have worked previously with video (very briefly), and I was wondering if it was possible in max to play videos on top of each other if they have transparency(alpha) without using alphablend? I have 3 video files I want to be layered in a particular way, and I was wondering if anyone could help me with it? at the moment I don't have any code to show for it, and I am in the process of making the video files(animating :P). The three video files will be like a background, a foreground with a figure moving and effects etc, and then the last one is going to be subtitles on top (will be playing over music). If anyone has any advice at all its much appreciated!!!

6 Comments
2024/11/26
15:45 UTC

4

I'm new to Max, and need some help making this idea possible.

I was recently introduced to Max through a class I'm currently in, and I need to use it for the last project in that class.

I'm trying to create a sound grinder (Essentially, something that takes in a sound file, then screws it up as much as humanly possible) that can take in several files at once. I was thinking about taking a playlist object, somehow doing some stuff to make it capable of playing its entire gallery simultaneously, and giving each individual song its own settings (I hope to include a bunch of objects that can mess with the sound).

Below is a picture of what I have so far:

https://preview.redd.it/mv9wwrg5h53e1.png?width=946&format=png&auto=webp&s=f2d6468dfcb31b651e77c3d431fe5f38e7212e83

This doesn't function properly, I know; all I get is static.

Is it possible to do the playlist thing I mentioned above? Or should I just modify the schematic below, duplicate it a bunch of times, and structure the cluster so that it plays the combination of everything at once?

11 Comments
2024/11/26
01:47 UTC

12

Max MSP Tutorial: ChatGPT Assistant

1 Comment
2024/11/25
02:48 UTC

5

Supercollider pattern system in Max

Since you can code in max now, I’ve seen it grow up from os9, would be nice to have a pattern system like sc, or as close as you can get with boxes and wires. If you could keep the clock rock solid, with the ability to hack the code if you want. Would be cool. There is a lot that is very code oriented, but plenty that max could take inspiration from.

15 Comments
2024/11/25
01:34 UTC

3

Help needed: per-note reverb tail, duration held-dependent

Hi, you'll have to forgive my crude attempt as a novice, here screenshotted; I am attempting something which is far outside my skillset and would be so grateful of your guidance or support. I am attempting to create a simple MaxForLive instrument at this point (as a proof of concept) that can provide a discrete reverb decay time per-note, dictated by the length a note is held down for. My issue is that I have reached this point but can't see the wood for the trees - why is this AMXD failing to generate any sound in Ableton Live? I have ensured that the maxpats (note_tracker and reverb_voice) are referenced in the project files. It is entirely plausible that I have gone about this in entirely the wrong way, or I have overlooked something quite obvious.

I would be extremely grateful for any guidance about what might be going wrong for me!

https://preview.redd.it/70icb1uhex2e1.png?width=1890&format=png&auto=webp&s=05da2cc6b5a10c14140c3c387eeca26852c1b61a

0 Comments
2024/11/24
22:35 UTC

41

messing with Max

3 Comments
2024/11/24
17:34 UTC

19

Max/MSP core guidelines?

I had an interaction on this sub today that got me thinking about best practices.
Doing larger projects in Max/MSP is not easy. Modularity in max work very well for smaller,
self contained projects but building scaleable infrastructures in max is not a simple thing.
If not done right you'll end up in refactoring hell quickly. There are ways to build in Max that makes
things less cumbersome but I rarely see these things mentioned online.
I't would be nice if there was something like c++'s core guidelines to point you in the right direction.

Off the top of my head is probably the uses and dangers of naming send/receives with #int, lists through [zl iter int] -> [route], how and when to properly handle order of operations, pros and pitfalls of dynamically loading [poly]'s and how to handle state recall of those loaded patchers.
state save/recall can become a real headache if not implemented in a thought out way, especially when stuff is dynamically loaded and writing stuff to disk really becomes a must. Naming conflicts becomes a thing and you have to build proper file structures, etc etc. Things escalate fairly quickly.

I'm not sure what I'm after with this post, just a discussion maybe?

10 Comments
2024/11/24
15:20 UTC

2

Help with Designing a Dynamic Dictionary System for Max MSP + JavaScript Integration

Hey everyone!

I’m working on a project in Max MSP with JavaScript, and I need some advice on designing a robust dictionary-based system to manage switchable configurations for a hardware controller (like the APC Mini).

Here’s a quick rundown of the use case:

  1. What I’m Building:
    • A system with multiple configurations that control feedback, state management, and functionality for pads/sliders.
    • These configurations are switchable, meaning the same hardware can behave differently depending on the loaded "profile" (e.g., a piano profile vs. a macro controller).
    • Configurations can also be called directly from the APC itself (e.g., by pressing specific buttons), so part of the configuration needs to remain static but editable across patches.
  2. How It’s Structured:
    • Input: MIDI note and CC data (handled in Max MSP).
    • Interface Dicts: Configuration dictionaries that define each profile, including:
      • Initial state (e.g., effects on/off, parameter values).
      • Current state (updated dynamically based on user input).
      • Rules for handling button states (toggle vs. momentary).
    • Feedback Function: Responsible for determining what happens when buttons are pressed/released, based on the current configuration.
    • Output: MIDI data sent back to the controller (again handled in Max).
  3. The Challenges I’m Facing:
    • Dictionary Placement: Should the dictionaries themselves be part of the interface script (JavaScript managing the configuration), or should they be handled elsewhere (e.g., a separate storage system), with the interface script simply referencing and managing them dynamically?
    • Feedback Logic: Should the feedback logic live inside the interface script, or should the interface script only define the configuration, with each configuration then calling a secondary feedback script to handle behavior?
    • State Handling: I need to efficiently handle initial state, current state, and restore state without creating unnecessary redundancy or complexity.
  4. What I’m Looking For:
    • Advice on structuring dictionaries for this kind of setup (e.g., nested dictionaries, separate dictionaries for states vs. logic).
    • Best practices for managing switchable configurations in Max MSP and JavaScript.
    • Examples of similar systems or resources you think could help!

Any thoughts or suggestions would be greatly appreciated. Thanks so much in advance! 🙏

12 Comments
2024/11/24
11:46 UTC

30

I made a simple M4L patch to visualize distortions such a non-linearities, phase shift, etc.

0 Comments
2024/11/23
15:36 UTC

13

Psychedelic audio visual art

Hey I want to share with you guys my psychedelic audio visual art. I heavily used Max Msp vsynth modules for this. Also some Vizzie ones. I sequenced everything from Bitwig and produced the audio in Bitwig too. I hope you enjoy and remember don't venture too far into The Other Side...

https://youtu.be/iGRKdE8-bTQ

10 Comments
2024/11/22
20:01 UTC

2

trying to switch key / keyup to midi control

im feeling at a loss and need help. im a beginner to MAX and i had been working ona. patch to have when a key is pressed on my keyboard a video would play-forwards, and when released it would play - backwards. now im trying to attach a midi to control it and i cant seem to figure out how to key the same key press and release info filtered based on the key being pressed. i was trying to use select, but i couldn't figure out how to get the key plus velocity info into it. can someone please help me

edit: im finding if im filtering the info through the select object the key fires 3 bangs instead of just an on and an off, it goes on,off,on

6 Comments
2024/11/21
22:11 UTC

2

Monitoring Track Volumes/Gains

I'm looking for a "path" or a way to get the gain (in RMS, not Peak) on separate tracks Post Mixer. In context, this is a MIDI effect device. I am not looking to control any parameters, this is just for monitoring purposes

2 Comments
2024/11/21
04:29 UTC

3

Help for uni project

Hello so I have a uni project and was wondering if anyone would be able to help? I’m basically making a soundscape for Pandora from avatar but I’m going to create a Pandora esque bird call that is randomly panned around and pitched up and down but within a local range so it keeps the soundscape fresh, I’m also wanting to have the soundscape go from forest ambiance to a rainy forest but I really struggle with msp as I’ve never done it before. Would anyone mind helping me out with this? Any advice would be greatly appreciated

7 Comments
2024/11/20
11:20 UTC

16

Made a generative audio, visual installation using Max as my final uni project

0 Comments
2024/11/20
08:14 UTC

2 Comments
2024/11/19
23:56 UTC

5

Fastest way to learn jitter

Currently, I’m in a computer science course where our final project allows for any coding project, and I chose to create an audio visualizer in Max. My professor was excited to see a student using Max, but I have limited experience with it (mostly a few YouTube tutorials). Please recommend any resources to help me quickly get up to speed with Max.

8 Comments
2024/11/19
18:11 UTC

1

RNBO Plugin Export Bug

Hi there,

https://reddit.com/link/1guzkjw/video/8v9jmp18lv1e1/player

I'm trying to make a multisampled piano VST plugin with RNBO for a class I'm taking, with all the samples embedded. However, upon export the target export window seems to glitch out after a little bit. I receive no errors, but the export does not complete and I have to quit Max entirely to get the glitch to go away. I've attached a screen recording of the issue, as well as the patch in question. Is there a specific reason this is happening, or does RNBO simply not support cloud compiling with embedding files of this magnitude?

Here's a link to the related patcher for reference: https://drive.google.com/drive/folders/1CLHX39Ocw7PMCIA6JnU4DWNFGPMsED2Q?usp=sharing

1 Comment
2024/11/19
15:20 UTC

Back To Top