Old 12-22-2016, 06:13 AM   #1
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default Web Browser Interface - Track infos

Hi !

in v5.30, track infos can be returned by two ways:

The GET/TRACK way with

Quote:
GET/TRACK/1/I_RECINPUT
or the TRACK way with:

Quote:
wwr_req_recur("TRACK",1000);
Which return a table with privileged (:P ) parameters:

Code:
  TRACK \t tracknumber \t trackname \t trackflags \t volume \t pan \t last_meter_peak \t last_meter_pos \t width/pan2 \t panmode \t sendcnt \t recvcnt \t hwoutcnt \t color
The trackflags compacts several infos in one value for :
Code:
      1: folder
      2: selected
      4: has FX
      8: muted
      16: soloed (32: solo-in-place)
      64: record armed
      128: record monitoring on
      256: record monitoring auto
--
Suggestion:

I don't think these methods are handy to get other track infos like B_SHOWINTCP for all tracks,
It would be easier if all track infos could be in the table returned by TRACK,
this would allow way more handy parsing and data manipulation, in one single request.

As this web browser interface is Track oriented, having flexible way to make modifications can go a long way. :P

The current method to get info like B_SHOWINTCP for all tracks is to have a request like for first counting tracks, then create a loop with the custom request, merge it with the other table info etc... unless there is a simpler way I missed to get all track info in one single request and table ?

Thanks for listening!

Last edited by X-Raym; 01-12-2017 at 08:52 AM.
X-Raym is offline   Reply With Quote
Old 02-22-2017, 05:13 AM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

v34rc2 added TCP and MCP visibility. Nice!

v5.34rc2 - February 21 2017 - Cockos Confederated Forums
X-Raym 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:49 PM.


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