Old 06-23-2018, 01:18 PM   #1
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 193
Default Developing Reascripts on Linux?

Hi there!

Anyone developing Reascripts on Linux?

I am at the start of this road and is curious
about your workflow - what editor, are you working
with lua, eel etc?

Are you using Reaper in Wine or are there other
solutions to test scripts?

Regards
TompaD
__________________
Mark4Celest: Frid (i ditt hjärta)
Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 06-23-2018, 01:29 PM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,166
Default

Assuming the ReaScript IDE has been implemented for the native Linux Reaper version, it would be easiest to use that. (You can only run the scripts from inside Reaper, so using an external text editor is a bit tedious anyway.)
__________________
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 06-23-2018, 02:57 PM   #3
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 1,929
Default

Developing ReaScripts is the same on all platforms. Personally I use a mix of vim (I often assign the script-under-test to a temporary shortcut for fast reload/launching) and the built-in IDE (useful for its variable debug panel and integration with the API docs).

Note that Lua's io.popen fails with a "not supported" error in the native Linux version.
cfillion is online now   Reply With Quote
Old 06-24-2018, 01:40 AM   #4
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 193
Default

Hi Xenakios and cfillion!

Thanks for your answers! Are there a native linux Reaper version!??
I thought there was only Win and OSx and possibility to run Reaper
in Wine (under linux).

I have Reaper running under Wine and the built-in IDE seams to work.
I am using Atom texteditor with lua-package and Reaper API code-
completion installed. The API is not up to date, but maybe its
enough for a beginner. The built-in IDE are sensing when changes
are done in lua file and asks for update - that's great.

However then clicking on API documentation in built-in
IDE or on Help-menu in Reaper only creates an error with
Winebrowser.exe...so that don't work. Have to investigate that.
__________________
Mark4Celest: Frid (i ditt hjärta)
Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 06-24-2018, 05:22 AM   #5
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: The vast, frozen wasteland of western Canadia.
Posts: 4,865
Default

You click on the "ReaScript Documentation" button in Help and it gives you errors? That's probably worthy of a post in the Linux thread.

However, you can use http://www.extremraym.com/cloud/reascript-doc/ instead. It's prettier and has a search box.
__________________
Currently working away from home; don't expect timely responses from me.
Default 5.0 Nitpicky Edition / GUI tutorial for Lua / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate / ReaPack
Lokasenna is offline   Reply With Quote
Old 06-24-2018, 11:14 AM   #6
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 193
Default

Quote:
Originally Posted by Lokasenna View Post
You click on the "ReaScript Documentation" button in Help and it gives you errors? That's probably worthy of a post in the Linux thread.
Yeah, I guess my Wine need some config....
Quote:
However, you can use http://www.extremraym.com/cloud/reascript-doc/ instead. It's prettier and has a search box.
Yes I use it - BUT hey!! Is it updated? Or am I using an old link?
(Have to check on my other computer) Last I looked earlier this week
it was based on Reaper 5.7something.

By the way - thanks Lokasenna for the GUI-library, I am going to use it.
__________________
Mark4Celest: Frid (i ditt hjärta)
Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 06-24-2018, 12:52 PM   #7
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: The vast, frozen wasteland of western Canadia.
Posts: 4,865
Default

Quote:
Originally Posted by tompad View Post
Yeah, I guess my Wine need some config....


Yes I use it - BUT hey!! Is it updated? Or am I using an old link?
(Have to check on my other computer) Last I looked earlier this week
it was based on Reaper 5.7something.

By the way - thanks Lokasenna for the GUI-library, I am going to use it.
He's been fiddling with it recently, but it was updated the other day. Maybe need to clear your cache or something?

Re: the GUI library, always good to hear. I'm tidying up for a stable release via ReaPack so people won't have to distribute the library with scripts themselves, but little things keep coming up.
__________________
Currently working away from home; don't expect timely responses from me.
Default 5.0 Nitpicky Edition / GUI tutorial for Lua / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate / ReaPack
Lokasenna is offline   Reply With Quote
Old 06-24-2018, 12:57 PM   #8
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 193
Default

Quote:
Originally Posted by Lokasenna View Post
He's been fiddling with it recently, but it was updated the other day. Maybe need to clear your cache or something?
Yes that did it!

Quote:
Re: the GUI library, always good to hear. I'm tidying up for a stable release via ReaPack so people won't have to distribute the library with scripts themselves, but little things keep coming up.
Great! Looking forward to try it.
__________________
Mark4Celest: Frid (i ditt hjärta)
Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 06-24-2018, 01:03 PM   #9
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 1,929
Default

Quote:
Originally Posted by tompad View Post
Are there a native linux Reaper version!??
Yes! It's still a bit rough but it works (Jack, ALSA & PulseAudio are supported for audio + ALSA MIDI). SWS & ReaPack are available too. Have a look in the pre-release forum!

Also: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux

Last edited by cfillion; 06-24-2018 at 01:11 PM.
cfillion is online now   Reply With Quote
Old 06-24-2018, 01:09 PM   #10
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 193
Default

Quote:
Originally Posted by cfillion View Post
Yes! It's still a bit rough but it works. Have a look in the pre-release forum!
What!!!? *My jaw went down the floor* Incredible!

And making scripts for that will work on Win/OSX!?

I am so happy I started to use Reaper after some Cubase and Logic years!
__________________
Mark4Celest: Frid (i ditt hjärta)
Eve & the Fisherman on Spotify
tompad 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 02:03 AM.


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