Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 10-23-2018, 02:07 AM   #1
meta
Human being with feelings
 
Join Date: Sep 2018
Posts: 31
Default JSFX: Load audio files from anywhere on disk + supporting more audio formats

Two suggestions for the price of one!

- A new type of slider that can be set to the path of any file on disk. (Through a OS native browse dialog or TrackFX_SetNamedConfigParm). Additionally changing file_open to be able to open files from anywhere on disk not just REAPER\Data, maybe with an added argument to specify whether the input is relative to REAPER\Data or an external absolute path.

- If I'm not mistaken the only audio formats openable by JSFX are .wav and .ogg. Would be possible/difficult to add support for more?
meta is offline   Reply With Quote
Old 10-23-2018, 03:39 AM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,773
Default

Quote:
Originally Posted by meta View Post
- If I'm not mistaken the only audio formats openable by JSFX are .wav and .ogg. Would be possible/difficult to add support for more?
I suspect the audio file reading code in JesuSonic dates back to the earliest days, maybe even before Reaper. These days it should not be difficult to make use of Reaper's PCM_sources that implement the audio file reading support in the main application. (However, it would be more problematic for the standalone JSFX plugin, they'd need to add the Reaper PCM_source implementations for that too or just leave that use the old limited audio file support...)
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/
Xenakios is offline   Reply With Quote
Old 10-23-2018, 04:04 AM   #3
Masi
Human being with feelings
 
Join Date: Sep 2015
Posts: 636
Default

Yes, please!

Masi

PS: BTW, there is a bug that the slider is broken when you use the syntaxt with = to name the slider.
Masi is offline   Reply With Quote
Old 10-24-2018, 01:34 PM   #4
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,394
Default

Quote:
Originally Posted by Masi View Post
PS: BTW, there is a bug that the slider is broken when you use the syntaxt with = to name the slider.
Please post Bug-reports into the corresponding forums. This makes life easier for the devs...
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote
Old 07-13-2019, 03:14 PM   #5
sai'ke
Human being with feelings
 
sai'ke's Avatar
 
Join Date: Aug 2009
Location: NL
Posts: 646
Default

Loading audio from anywhere on disk would open doors to a lot of additional creative plugins by allowing drag and drop from the media explorer.

I was hoping that I could use the return string of gfx_getdropfile(0, strhandle) in file_open, but it seems that absolute paths don't work at all

While it is possible to have a separate lua script copy these files for me, this is kind of a pain for the user. Also, it'd make a big trashpile in the data dir.
__________________
[Tracker Plugin: Thread|Github|Reapack] | [Routing Plugin: Thread|Reapack] | [Filther: Thread|Github|Reapack] | [More JSFX: Thread|Reapack]
sai'ke is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.