Skip to content

Need help getting Track data #85

Answered by helgoboss
eureka-cpu asked this question in Q&A
Discussion options

You must be logged in to vote

This question is more related to the REAPER API itself than to reaper-rs, so I point you to the original docs: https://www.reaper.fm/sdk/reascript/reascripthelp.html and https://github.com/justinfrankel/reaper-sdk/blob/main/sdk/reaper_plugin_functions.h

Just some hints:

  • If you want info about a track, use one of the functions GetSetMediaTrackInfo (most powerful but hardest to use, reaper-rs provides a few helper methods, e.g. the one with _get_name suffix), GetMediaTrackInfo_Value (easier access for floating point values) or GetSetMediaTrackInfo_String (easier access for string values). The two latter functions can't do anything that GetSetMediaTrackInfo can't do as well. To my knowledge…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@eureka-cpu
Comment options

Answer selected by eureka-cpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants