View Single Post
Old 04-05-2019, 05:21 AM   #4
Human being with feelings
mespotine's Avatar
Join Date: May 2017
Location: Leipzig, Germany
Posts: 2,136

Originally Posted by Xenakios View Post
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...
Oh Boy..this would be awesome

We are in desperate need of such a function at Ultraschall
Use she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1294 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you want
mespotine is offline   Reply With Quote