Old 07-17-2018, 04:29 PM   #1
matthewjumpsoffbuildings
Human being with feelings
 
Join Date: Mar 2013
Posts: 414
Default Reaper Web interface + ReaTune

Im wondering if there is any way I can use the Reaper Web interface to show realtime(ish) tuning info via the MIDI output from ReaTunes tuner?

I was thinking if there was some way I could make ReaTune update its parent tracks name in realtime (eg turn it from "Guitar" to "Guitar (-->A#--) or something like that, then I could use the web interfaces GET/TRACK/index/xxxxxx (eg GetSetMediaTrackInfo_String()) to get the tracks P_NAME every, say 50 ms, and display that on the web interface?

Is something like that feasible? Or does anyone have any other less hacky ideas as to how one might show the output of a tuner in as close to realtime as possible in the web interface?
__________________
[array] soundcloud facebook arraytheband.com.au
matthewjumpsoffbuildings is offline   Reply With Quote
Old 07-18-2018, 02:31 PM   #2
Jessinator
Human being with feelings
 
Jessinator's Avatar
 
Join Date: May 2010
Posts: 93
Default

Maybe Remote desktop? Like TeamViewer or something?
Jessinator is offline   Reply With Quote
Old 07-18-2018, 02:35 PM   #3
matthewjumpsoffbuildings
Human being with feelings
 
Join Date: Mar 2013
Posts: 414
Default

ive considerd that but im really specifically interested to see if there is a way to use reapers web interface to send this kind of data to a tablet/phone in (close to) realtime
__________________
[array] soundcloud facebook arraytheband.com.au
matthewjumpsoffbuildings is offline   Reply With Quote
Old 07-20-2018, 09:43 AM   #4
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 521
Default

If you can get the information somehow into an extstate, it should be quite easy to do, as they are easy to read out.

For programming the WebRC, you can see my docs: http://mespotine.de/Ultraschall/Reaper_API_Web.html

As soon as this information has been successfully transferred, it's "just" webdeveloper-stuff to display it..
mespotine is offline   Reply With Quote
Old 07-20-2018, 09:53 AM   #5
matthewjumpsoffbuildings
Human being with feelings
 
Join Date: Mar 2013
Posts: 414
Default

wow thats a handy resource, thanks mespotine.

i wonder if i can use a custom JS MIDI effect to write the MIDI note the tuner detects as a string into ExtState.
__________________
[array] soundcloud facebook arraytheband.com.au
matthewjumpsoffbuildings is offline   Reply With Quote
Old 07-20-2018, 09:57 AM   #6
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 521
Default

JSFX can't, as far as I know, set extstates. If I remember correctly, I once made a featurerequest for that.

I wonder, if accessing the clipboard is possible from within JSFX, this could help to get the information into ReaScript, from which you can send the stuff further as extstate...
mespotine is offline   Reply With Quote
Old 07-20-2018, 10:04 AM   #7
matthewjumpsoffbuildings
Human being with feelings
 
Join Date: Mar 2013
Posts: 414
Default

can js call any reaper api functions? set the track name or anything like that?

or perhaps could i make the js broadcast a message that reaper somehow uses to update the extstate?

there must be a way to get data from a js midi effect into reaper somehow...
__________________
[array] soundcloud facebook arraytheband.com.au
matthewjumpsoffbuildings is offline   Reply With Quote
Old 07-20-2018, 10:06 AM   #8
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 521
Default

The WebRC can only run Actions, no API-functions.

Maybe the
JSFX and ReaScript Discussion
board is better suited for such a request, as there are more JSFX-enlightened people
mespotine is offline   Reply With Quote
Old 07-20-2018, 10:11 AM   #9
matthewjumpsoffbuildings
Human being with feelings
 
Join Date: Mar 2013
Posts: 414
Default

ok cheers, i posted the question here: https://forum.cockos.com/showthread.php?p=2013859
__________________
[array] soundcloud facebook arraytheband.com.au
matthewjumpsoffbuildings 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:06 AM.


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