View Single Post
Old 05-03-2021, 11:34 AM   #5
Human being with feelings
nofish's Avatar
Join Date: Oct 2007
Location: home is where the heart is
Posts: 10,566

A PCM_source is a reference to e.g. an audio file so for audio takes in Reaper you can use it e.g. to get which audio file they're referencing (exception e.g. for MIDI takes which also have a PCM_source I think, but no underlying audio file obviously).

The string filenamebuf function argument is only needed if you use that function from C++ (and Python?), in Lua you can omit it with "" (see here in the linked script).

But yeah, these kind of questions better fit in the ReaScript forum.

Last edited by nofish; 05-03-2021 at 11:57 AM.
nofish is offline   Reply With Quote