Old 05-31-2021, 10:18 AM   #1
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default java script mod/Reaper implementation?

Hi,

I've found that very interesting java script called Nestup:

https://github.com/cutelabnyc/nested-tuplets

https://nestup.cutelab.nyc/

I don't use Ableton Live and I wonder if someone could mod the web application so that it's possible to save the progress. Now it resets the site everytime it's been reloaded. Also the 'save as midi file' need some modification.
If it's possible to implement it in Reaper somehow, that would be the greatest solution :-)
As far as I can see the code is accessable via github (but I'am not an expert in these copyright questions).

I'am willing to spend some money, so if anyone is interested, please pm
me.


Thanks!
o_e is offline   Reply With Quote
Old 06-01-2021, 04:41 AM   #2
gxray
Human being with feelings
 
Join Date: Dec 2020
Location: Miami, FL USA
Posts: 396
Default

I could add state-saving to the website in a couple of minutes if you had the un-minified source.

The website is built on React, the source has been bundled and minified before being put into production (automatic, standard step).

That repo you linked has the underlying grammar for the language and the parser code, but not the website React.js code:

If someone can post the repo containing the source to this frontend I will add it =)



__________________
Seasoned codemonkey
Dunno a thing about making music (here to learn!)
gxray is offline   Reply With Quote
Old 06-01-2021, 05:35 AM   #3
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Quote:
Originally Posted by gxray View Post
I could add state-saving to the website in a couple of minutes if you had the un-minified source.

The website is built on React, the source has been bundled and minified before being put into production (automatic, standard step).

That repo you linked has the underlying grammar for the language and the parser code, but not the website React.js code:

If someone can post the repo containing the source to this frontend I will add it =)

Thanks, sent you a pm!

Last edited by o_e; 06-02-2021 at 07:14 AM. Reason: typo
o_e is offline   Reply With Quote
Old 06-03-2021, 06:38 AM   #4
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Quote:
Originally Posted by o_e View Post
Thanks, sent you a pm!
@gxray: Did you get my pm, did I scare you somehow..?
o_e is offline   Reply With Quote
Old 06-05-2021, 11:07 AM   #5
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Quote:
Originally Posted by o_e View Post
@gxray: Did you get my pm, did I scare you somehow..?
Did not hear anything (until now) from gxray who offered his help, so I'am still looking for someone..

Thanks!
o_e is offline   Reply With Quote
Old 06-05-2021, 03:10 PM   #6
daniellumertz
Human being with feelings
 
daniellumertz's Avatar
 
Join Date: Dec 2017
Location: Brazil
Posts: 2,011
Default

Hey, idk much about java script nestup is very cool. Are you trying to use it with reaper? If so one thing you can do to make it easier is use MIDI transfer script to update the midi files in reaper https://forum.cockos.com/showthread.php?t=248475
daniellumertz is offline   Reply With Quote
Old 06-06-2021, 01:30 AM   #7
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Quote:
Originally Posted by daniellumertz View Post
Hey, idk much about java script nestup is very cool. Are you trying to use it with reaper? If so one thing you can do to make it easier is use MIDI transfer script to update the midi files in reaper https://forum.cockos.com/showthread.php?t=248475
Hi,

Thanks for the response!
I've already downloaded your MIDI transfer script (saw your announcement in the Opus Modus forum) but did not try it until now.
Using it to tranfer from Nestup sounds phantastic but I have no idea how that can be done. So I definitly need someone with more expertise (and as I said, I'am willing to spend some money in such a development).
If you have a suggestion, I would be greatful!
o_e is offline   Reply With Quote
Old 06-06-2021, 10:00 AM   #8
daniellumertz
Human being with feelings
 
daniellumertz's Avatar
 
Join Date: Dec 2017
Location: Brazil
Posts: 2,011
Default

Midi transfer is just a tool to help update midi inside reaper. Everytime you update a midi file it will update the midi items in the project . ( Reaper alone can do that but with the script you can organize in channels and other stuff) . Hopefully is easy to use . Just drag a midi file generated from nestup into reaper select it and click source on my script select to which tracks you want to explode it and click on start in the script. Every time you update the mid file it will update in reaper too . Anyway this is probably a workaround to what you want. Gxray would be perfect to this task he knows a lot of programming and different languages. I think he told he wasn't with much time recently, so he might not be avaible, idk... He is also in other projects with juce and reaper.
daniellumertz is offline   Reply With Quote
Old 06-13-2021, 01:17 AM   #9
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default bump

Still searching for someone who can modify the Nestup-Code, so it can be used (in Reaper).
If the changes can be stored (and updated) in a Midi-file somehow, the Midi-Transfer-Script by daniellumertz can be used to get the data in Reaper.
There are a few people who are interested and I'am willing to collect some money if that does help..
o_e is offline   Reply With Quote
Old 06-13-2021, 09:59 AM   #10
Pink Wool
Human being with feelings
 
Pink Wool's Avatar
 
Join Date: Apr 2020
Posts: 1,524
Default

Perhaps the thread title is too vague?
Pink Wool is offline   Reply With Quote
Old 06-13-2021, 11:57 AM   #11
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Quote:
Originally Posted by Pink Wool View Post
Perhaps the thread title is too vague?
What would you suggest?
o_e is offline   Reply With Quote
Old 06-13-2021, 12:27 PM   #12
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

At first sight porting this to lua seems a nightmare, and it will be easy to reverse engineer language step by step.
mpl is offline   Reply With Quote
Old 06-13-2021, 12:40 PM   #13
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Quote:
Originally Posted by mpl View Post
At first sight porting this to lua seems a nightmare, and it will be easy to reverse engineer language step by step.
Thanks for looking into it!
I don't mean to port this to lua.
(Do you mean the github code or the website js code?)
And what do you mean by
'it will be easy to reverse engineer language step by step'
?
o_e is offline   Reply With Quote
Old 06-13-2021, 12:53 PM   #14
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,630
Default

Quote:
Originally Posted by o_e View Post
Thanks for looking into it!
I don't mean to port this to lua.
(Do you mean the github code or the website js code?)
And what do you mean by
'it will be easy to reverse engineer language step by step'
?
You interpret, what the language needs, and reprogram it from scratch.
So in the end it would become much more than just a mod.

Edit:
Just wondering, have you tried asking the developers of it for the changes?
https://github.com/cutelabnyc/nested-tuplets/issues
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...

Last edited by Meo-Ada Mespotine; 06-13-2021 at 03:35 PM.
Meo-Ada Mespotine is offline   Reply With Quote
Old 06-13-2021, 02:28 PM   #15
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
U

Just wondering, have you tried asking the developers of it for the changes?
https://github.com/cutelabnyc/nested-tuplets/issues
Thanks for the hint!
Just wrote something..
o_e is offline   Reply With Quote
Old 06-13-2021, 09:20 PM   #16
Pink Wool
Human being with feelings
 
Pink Wool's Avatar
 
Join Date: Apr 2020
Posts: 1,524
Default

Quote:
Originally Posted by o_e View Post
What would you suggest?
Paid work - Javascript

But it looks like you got the attention and answers already!
Pink Wool is offline   Reply With Quote
Old 06-23-2021, 06:43 AM   #17
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Update:

Found a workaround for saving the work by hitting the 'share' button..

Still looking for someone who can reassign the drumsounds to a local source to make the site independent from the internet.

Thanks!
o_e 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 12:18 PM.


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