Old 06-23-2018, 01:18 PM   #1
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 407
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
__________________
ToDoList Obliques MusicMath Donation Mark4celeste 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,992
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: 2,886
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 offline   Reply With Quote
Old 06-24-2018, 01:40 AM   #4
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 407
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.
__________________
ToDoList Obliques MusicMath Donation Mark4celeste 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: Calgary, AB, Canada
Posts: 6,444
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.
Lokasenna is online now   Reply With Quote
Old 06-24-2018, 11:14 AM   #6
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 407
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.
__________________
ToDoList Obliques MusicMath Donation Mark4celeste 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: Calgary, AB, Canada
Posts: 6,444
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.
Lokasenna is online now   Reply With Quote
Old 06-24-2018, 12:57 PM   #8
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 407
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.
__________________
ToDoList Obliques MusicMath Donation Mark4celeste 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: 2,886
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 offline   Reply With Quote
Old 06-24-2018, 01:09 PM   #10
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 407
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!
__________________
ToDoList Obliques MusicMath Donation Mark4celeste Frid i ditt hjärta Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 08-27-2018, 05:46 AM   #11
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 407
Default

Ok, its been a while but at last I think I have a Reascript
I would like to release! Its not perfect yet, but it would
be nice to release it and get feedback on the code.

I have a faint memory about a thread that describe how to do
a release but I cant find it. Sooo....can somebody tell me
how to best make a release in Reaper community? Is it possible
to have it released by ReaPack or is it not for newbies like
me? Should I make a thread about it - what section of forum?
__________________
ToDoList Obliques MusicMath Donation Mark4celeste Frid i ditt hjärta Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 08-27-2018, 06:20 AM   #12
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,444
Default

- Upload it literally anywhere you want and provide a link. Dropbox (make sure it's a public link), or stash.reaper.fm, etc.

- Make an account on Github and submit it to the ReaTeam repository (see Contributing, here: https://github.com/ReaTeam/ReaScripts). You'll have to include some information in comments at the top of the file: https://github.com/cfillion/reapack-...-Documentation

Threads go in the JSFX/Reascript section.
Lokasenna is online now   Reply With Quote
Old 08-28-2018, 07:44 AM   #13
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 407
Default

Quote:
Originally Posted by Lokasenna View Post
- Upload it literally anywhere you want and provide a link. Dropbox (make sure it's a public link), or stash.reaper.fm, etc.

- Make an account on Github and submit it to the ReaTeam repository (see Contributing, here: https://github.com/ReaTeam/ReaScripts). You'll have to include some information in comments at the top of the file: https://github.com/cfillion/reapack-...-Documentation

Threads go in the JSFX/Reascript section.
Okidoki! How about Bitbucket - I have a repository there with
some other lua-files I'm working on, can I use that instead of GitHub?
__________________
ToDoList Obliques MusicMath Donation Mark4celeste Frid i ditt hjärta Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 08-28-2018, 08:44 AM   #14
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,444
Default

I think so - it looks like the indexer just needs any Git-based repo.

https://github.com/cfillion/reapack-index
Lokasenna is online now   Reply With Quote
Old 08-29-2018, 10:52 PM   #15
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 407
Default

Quote:
Originally Posted by Lokasenna View Post
I think so - it looks like the indexer just needs any Git-based repo.

https://github.com/cfillion/reapack-index
Ok, I am trying to install reapack-index following wiki,
gems install reapack-index throws errors at me, need to
fix some dependises/paths before trying with Bitbucket.
__________________
ToDoList Obliques MusicMath Donation Mark4celeste Frid i ditt hjärta Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 11-19-2019, 01:49 PM   #16
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 1,933
Default

Quote:
Originally Posted by tompad View Post
I am so happy I started to use Reaper after some Cubase and Logic years!
You found the DAW-wisdom, at least in year 2019. But it is difficult to top Reaper, except lacking Atari ST timing, who has a solution to that? Maybe an optimized linux giving best timing, as good as Atari ST? Probably not. Difficult to describe, but one can hear it immediately, the perfect timing of Atari ST, any cheapest recordings sound so good. So the perfect timing is the biggest midi problem, in my opinion.
TonE is offline   Reply With Quote
Old 11-19-2019, 01:54 PM   #17
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 1,933
Default

Quote:
Originally Posted by cfillion View Post
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
If there would not be the wineasio problems, after some linux updates? (At least here, still no solution...), ok this is related to wine use case and not native linux version.
TonE 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 03:52 PM.


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