Clear Filters
Clear Filters

Not able to communicate my DAW (Reaper) and Matlab using UDP

2 views (last 30 days)
Eventhough I am following the steps as is explained here: Communicate Between a DAW and MATLAB Using UDP I am not able to even make the UDPSender plugin of the example work. I think that my problem is on step 2, as i am working on macOS and don't really know how to set the run-time library path. ¿Is there any extra configuration that I am missing?
Thanks.
  3 Comments
David Montalbán Caamaño
David Montalbán Caamaño on 12 Jun 2023
Not really any error, I am setting the run-time library in my terminal and then opening Reaper from the same command terminal. Then I add the UDPSender VST in the channel 1 of the mixer and i drop and play an audio track. After that i am running the HelperUDPPluginReceiver but nothing happens, it just stops after a few seconds but no spectrum analyzer appears.
David Montalbán Caamaño
David Montalbán Caamaño on 16 Jun 2023
I checked with Wireshark to see if there is any UDP traffic through the 20000 port when de UDPSender plugin is being used, but nothing is send or received.

Sign in to comment.

Answers (1)

Sanjana
Sanjana on 25 Aug 2023
Hi David,
I understand that you are facing an issue with setting up the “Run-Time Library Path” on macOS System.
According to step 2 in the documentation of the example, you can set the “Run-Time Library Path” on macOS Systems by adding the following command in a MATLAB “startup script”.
setenv DYLD_LIBRARY_PATH matlabroot/bin/maci64:matlabroot/sys/os/maci64
Please refer to the following link, for writing a user-defined MATLAB “startup script”,
Please refer to the following link, for another approach using the “. plist” file to set the environment variables on macOS Systems,
Hope this helps!
Regards,
Sanjana

Categories

Find more on Audio Plugin Creation and Hosting in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!