Old 07-01-2019, 09:28 AM   #1
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,499
Default Ultraschall-API - pre-release-thread

In this thread, I will post updates for unreleased versions of the Ultraschall-API.
You will be able to install the stuff for testing and giving me feedback, if the things don't work as expected or are too difficult to use.

This here is strictly unfinished stuff, will probably change heavily and some features may or may not make it into a final release.

When in doubt, just use the final release, head over to the official Ultraschall-API-thread: https://forum.cockos.com/showthread.php?t=214539
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635

Last edited by mespotine; 07-23-2019 at 08:58 AM.
mespotine is offline   Reply With Quote
Old 07-01-2019, 09:29 AM   #2
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,499
Default

The next release-cycle will be for version 4.00-beta 2.76.

Focus will be:
- finalizing functions for Parameter-Learn and modulation
- localization
- loop-rendering

Will begin tomorrow with developing on that one.
__________________
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
Old 07-02-2019, 12:22 PM   #3
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,499
Default

Ok, this pre-release-procedure is quite new for this project, so I just start with my current idea, of it working. Let's see where it leads us.

Download it with ReaPack using: https://github.com/Ultraschall/ultra...ease_index.xml

Pre-release-build: 38961.00 from 2nd of July 2019

New features
  • Actions: GetAllActions - gets all actions, actioncommandids and scriptnames of all actions in a specific section
  • FXManagement: AutoDetectVSTPlugins - auto-searches for the vst-plugin-folder
  • FXManagement: ScanDXPlugins - rescans all DX(DirectX)-plugins, optionally scans all or just the new ones
  • FXManagement: ScanVSTPlugins - rescans all vst-plugins, optionally clears vst-plugin-cache first
  • HelperFunctions: get_action_context_MediaItemDiff - gets the MediaItemDifference(position, start, end, length, offset) since last time calling this function. Good for ripple-drag-scripts.
  • Localize: Localize - localizes a string, using the texts from a translationfile; can be used with or without ultraschall. at the beginning
  • Localize: Localize_RefreshFile - reloads an already set translation-file, so translations can be updated at runtime
  • Localize: Localize_UseFile - sets a translationfile, that shall be used by function ultraschall.Localize
  • ReaMote: AutoSearchReaMoteSlaves - autosearches for new ReaMote-slaves
  • Render: AddSelectedItemsToRenderQueue - adds selected MediaItems to render-queue as either one render-queued-project or individual projects
  • Render: GetRenderingToFileHWND - gets the hwnd of the rendering-to-file-dialog, during rendering
  • Tools: ultraschall_Add_Developertools_To_Reaper.lua - allows installing developertools into Reaper
  • Tools: ultraschall_Remove_Developertools_From_Reaper.lua - allows removing already installed developertools from Reaper

Changes
  • API: versionscheck - had problems with pre/rc and dev-versions of Reaper -> fixed(reported by X-Raym)
  • Docs: updated Reaper-docs to 5.979 and JS-extension 0.989
  • Helpers: GetPath - when filename has no path, it returns now "", filename
  • Helpers: GetUserInputs - allows now setting width of the captions-fields(requested by Julian Sader), allows now commas in captions and default-values as well; title is now the one defined by the title-parameter(used to have temporary title previously) (reported by X-Raym)
  • Render: RenderProject_Regions - produced Lua-error, when passing a filename without extension and if region was <1, returns error-messages now in that case
  • Scripts: HWND-Displayer.lua - reimplemented, much more comfortable now with a lot of more features.
  • Tools - the following scripts renamed to:
    ultraschall_developertool_ActionlistToIni-Converter.lua
    ultraschall_developertool_Display-Altered-ConfigFile-Entries.lua
    ultraschall_developertool_Display-Altered-Config-Vars.lua
    ultraschall_developertool_Env_State_Diffs_Monitor. lua
    ultraschall_developertool_findConfigVarsToggledByA ctions.lua
    ultraschall_developertool_GetPitchShiftModes.lua
    ultraschall_developertool_gfx_deltablit_displayer. lua
    ultraschall_developertool_HWND-Displayer.lua
    ultraschall_developertool_Item_State_Diffs_Monitor .lua
    ultraschall_developertool_Project_State_Diffs_Moni tor.lua
    ultraschall_developertool_StateInspector.lua
    ultraschall_developertool_Track_State_Diffs_Monito r.lua
  • Tools: ultraschall_Remove_ExampleScripts_To_Reaper.lua - renamed to ultraschall_Remove_ExampleScripts_From_Reaper.lua, better name that way
__________________
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
Old 07-03-2019, 09:40 AM   #4
reapero
Human being with feelings
 
Join Date: Aug 2011
Posts: 198
Default

Thx! Back from holidays in a few days. I'll be testing the render regions thing then.
reapero is online now   Reply With Quote
Old 07-04-2019, 08:53 AM   #5
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,499
Default

Render regions isn't done yet, only the changes I posted above. Will come in the next few days.
__________________
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
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,499
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
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 10:48 AM.


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