View Single Post
Old 04-04-2019, 01:07 PM   #2
Human being with feelings
Xenakios's Avatar
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062

I don't recall there is any straight-forward way to do it from plain ReaScript.

You could suggest to Julian Sader, the developer of the js_ReaScriptAPI extension plugin, to add something for that. I might also myself look if there's some sensible way to add something into that plugin to allow that. Reaper does have a mechanism available for C++ extension plugins to play a PCM_source object (read, "audio file") into the main audio hardware output.

edit : I already got the playback working. But as usual, stopping (properly) is more complicated than anticipated...
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.

Last edited by Xenakios; 04-04-2019 at 01:49 PM.
Xenakios is offline   Reply With Quote