View Single Post
Old 07-04-2019, 08:56 AM   #6
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,558
Default

New pre-release-version available, with the following additions and changes.
Install it, using: https://github.com/Ultraschall/ultra...ease_index.xml

Build: 39682

Additions:
  • FXManagement: DeleteParmAlias_FXStateChunk - deletes a parameter-alias-entry from a specific fx in an FXStateChunk
  • FXManagement: DeleteParmLFOLearn_FXStateChunk - deletes a parameter-lfo-learn-entry from a specific fx in an FXStateChunk
  • FXManagement: DeleteParmLearn_FXStateChunk - deletes a ParmLearn-entry from a specific fx in an FXStateChunk
  • FXManagement: SetFXStateChunk - sets an FXStateChunk into a TrackStateChunk or MediaItemStateChunk
  • FXManagement: SetParmAlias_FXStateChunk - sets a parameter-alias-entry from a specific fx in an FXStateChunk
  • FXManagement: SetParmLearn_FXStateChunk - sets a parameter-learn-entry from a specific fx in an FXStateChunk
  • FXManagement: SetParmLFOLearn_FXStateChunk - sets a parameter-lfo-learn-entry from a specific fx in an FXStateChunk

Changes:
  • FXManagement: GetFXStateChunk - when using MediaItemStateChunks, it allows now selecting, from which take to get the FXStateChunk
    • Localize: Localize - has now link to localize-fileformat in their description
    • Localize: Localize_RefreshFile - has now link to localize-fileformat in their description
    • Localize: Localize_UseFile - has now link to localize-fileformat in their description
    Notes on how to use the ParmLearn-functions:
  • Step 1: Get a Track/MediaItemStateChunk using GetTrackStateChunk/GetItemStateChunk
  • Step 2: Get the FXStateChunk using ultraschall.GetFXStateChunk
  • Step 3: Get/Set the setting(s) in the FXStateChunk
  • Step 4: Add the altered FXStateChunk to the original Track/ItemStateChunk using ultraschall.SetFXStateChunk
  • Step 5: Commit the altered Track/ItemStateChunk to the project, using SetTrackStateChunk

    Step 4 and 5 only, if you want to change something in the ParmLearn-settings

    Notes: Committing changes made with SetParmLFOLearn_FXStateChunk with SetTrackStateChunks doesn't work due a bug in Reaper, which changes it to a regular ParmLearn-entry.
    I've bugreported that already.
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote