Old 05-30-2021, 02:51 AM   #1
USR
Human being with feelings
 
Join Date: Jun 2018
Posts: 90
Default Embeddable track notes plugin

I thought it would be really nice to have a simple track notes plugin that can be embedded on TCP/MCP and you can type in and edit text directly. It's like track comments in Pro Tools, which I sometimes wish I had in REAPER.



Last edited by USR; 06-04-2021 at 01:37 AM.
USR is offline   Reply With Quote
Old 06-01-2021, 07:03 AM   #2
Buy One
Human being with feelings
 
Join Date: Sep 2019
Posts: 499
Default

Just in case you're not aware, SWS extension has Notes utility, in particular Track notes accessible with SWS/S&M: Open/close Notes window (track notes) action which can be integrated in the Track context menu.

Admittedly not as convenient but at least something. There're also some VST notepads but don't think their UI is embeddable.
Buy One is offline   Reply With Quote
Old 06-01-2021, 06:33 PM   #3
USR
Human being with feelings
 
Join Date: Jun 2018
Posts: 90
Default

Thanks, I initially asked for an embeddable plugin that displays what's written in the SWS track notes, like the image below. But I thought that wasn't a good thing to ask the devs because SWS/S&M isn't a native extension. So I altered the initial request, which might have been a simple JSFX to make. I am not a script writer, but maybe I should try...at least I found what might be an API function to use https://forum.cockos.com/showthread.php?t=224772.

USR is offline   Reply With Quote
Old 06-02-2021, 02:46 AM   #4
b_elliott123
Human being with feelings
 
Join Date: Mar 2021
Location: Canada
Posts: 37
Default

I also miss the ProTools track notes feature which I used as reminders for fixes I needed to do on a track while a project was in progress.

As far as I can tell, SWS notes requires you to first select a track to see your note, whereas PTools, you could see at a glance all your notes.

Am curious if OP comes up with something for use on Win 10 + Reaper.
Cheers from Canada.
b_elliott123 is offline   Reply With Quote
Old 06-02-2021, 08:29 AM   #5
Buy One
Human being with feelings
 
Join Date: Sep 2019
Posts: 499
Default

I once voiced a suggestion for JS notepad

https://forum.cockos.com/showthread.php?t=227182

But Tale, one of coders versed in EEL2 said this

Quote:
Originally Posted by Tale View Post
I'm not sure how useful a JS notepad would be, because JSFX can't access the OS clipboard, so you wouldn't be able to copy/paste to/from it.
Quote:
Originally Posted by Tale View Post
... do note that you can only paste numbers. Also, a JSFX notepad would need to have a graphical interface, and AFAIK there is no way to paste anything into gfx_getchar().
I wasn't aware of the Lua function mentioned in the thread you linked to, but again, a script designed with it won't display notes embedded in the TCP, only in a separate window.
Buy One is offline   Reply With Quote
Old 06-02-2021, 08:38 AM   #6
Daodan
Human being with feelings
 
Join Date: Jan 2011
Posts: 275
Default

Surprised what kind of things people do with JSFX, but nobody made a simple notepad
Daodan is offline   Reply With Quote
Old 06-02-2021, 09:21 AM   #7
Daodan
Human being with feelings
 
Join Date: Jan 2011
Posts: 275
Default

Something like:

text = "user text"
print(text)

As a starting point for JSFX. User can change text via "Edit..." button.
And support TCP/MCP embedded of course.

It looks like something I could do myself, but I can't even print text in JSFX for now
Daodan is offline   Reply With Quote
Old 06-03-2021, 03:06 AM   #8
b_elliott123
Human being with feelings
 
Join Date: Mar 2021
Location: Canada
Posts: 37
Default

I now see that @Solger earlier posted an idea that works:

At the beginning of all tracks I usually leave empty space. Now I can:

Insert > Empty Item. (one measure wide beginning of selected track.)
Double click on empty item to open "Notes for empty Item".
Type in a brief note, select display dropdown options. Press OK.

True the note is on the track, unlike ProTools which has its note feature on the TCP and MCP. But it works for what I need: reminders on things I may forget about.
.
b_elliott123 is offline   Reply With Quote
Old 06-03-2021, 04:25 AM   #9
USR
Human being with feelings
 
Join Date: Jun 2018
Posts: 90
Default

Quote:
Originally Posted by Buy One View Post
I wasn't aware of the Lua function mentioned in the thread you linked to, but again, a script designed with it won't display notes embedded in the TCP, only in a separate window.
Ah, there's an EEL equivalent of the same function, but I guess it only gives either true or false value? I suppose a native solution would be the only way then.

@b_elliott123 Thanks for the nice workaround!
USR is offline   Reply With Quote
Old 06-03-2021, 06:38 AM   #10
Buy One
Human being with feelings
 
Join Date: Sep 2019
Posts: 499
Default

Quote:
Originally Posted by USR View Post
Ah, there's an EEL equivalent of the same function, but I guess it only gives either true or false value? I suppose a native solution would be the only way then.
The function does return the actual note content of selected track for example

PHP Code:
extension_api("NF_GetSWSTrackNotes",1GetSelectedTrack(00)); 
But AFAIK these functions are not for use in JSFX.

Maybe using the already existing SWS notes utility is still preferable as long as there's no way to embed them. The Notes window is dockable and its content changes according to the selected track.


Last edited by Buy One; 06-03-2021 at 06:59 AM.
Buy One is offline   Reply With Quote
Old 06-04-2021, 04:20 AM   #11
USR
Human being with feelings
 
Join Date: Jun 2018
Posts: 90
Default

I've tried the JS Notepad that Tale posted in your thread, and it's pretty good! https://forum.cockos.com/showthread....32#post2450632
USR is offline   Reply With Quote
Old 06-04-2021, 07:46 AM   #12
Buy One
Human being with feelings
 
Join Date: Sep 2019
Posts: 499
Default

Quote:
Originally Posted by USR View Post
I've tried the JS Notepad that Tale posted in your thread, and it's pretty good! https://forum.cockos.com/showthread....32#post2450632
Nice, thank you for the heads-up

UPD: Needs further development

Last edited by Buy One; 06-04-2021 at 07:54 AM.
Buy One is offline   Reply With Quote
Old 06-04-2021, 08:04 AM   #13
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,023
Default



this is Tale`s code embedded into TCP

That look working, but there isn`t any way in JSFX to "fix" gfx.w/gfx.h for embedded state.
edit : oh I was wrong, that seems possible.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate

Last edited by mpl; 06-04-2021 at 09:20 PM.
mpl is offline   Reply With Quote
Old 06-04-2021, 08:37 AM   #14
USR
Human being with feelings
 
Join Date: Jun 2018
Posts: 90
Default

I've set the gfx width/height ratio as 20:1, and it looks much better now.

USR is offline   Reply With Quote
Old 06-04-2021, 10:27 AM   #15
Buy One
Human being with feelings
 
Join Date: Sep 2019
Posts: 499
Default

For someone who doesn't code it's this

PHP Code:
@gfx 20 1 
Buy One is offline   Reply With Quote
Old 08-01-2021, 01:11 AM   #16
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,233
Default

Thanks, I've added the 20:1 thingy to my notepad code in the other thread.
Tale 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:04 AM.


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