Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 11-02-2022, 12:24 AM   #801
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Try again and check, if your internet connection is stable.
It should install properly.

If the error continues, ask in the ReaPack-thread pinned in this subforum for further help...
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-02-2022, 03:17 AM   #802
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

Non-ASCII characters must be percent-encoded to form a valid URL (ü -> %C3%BC).

https://datatracker.ietf.org/doc/htm...86#section-2.1
cfillion is offline   Reply With Quote
Old 11-02-2022, 06:16 AM   #803
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Hmm, weird. It installed properly with other users o_O

Going to change it though...
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-04-2022, 04:29 AM   #804
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Hotfix #3:

- MediaItems: Ripple Cut - removed edge-case-bug. that didn't ripple cut correctly items on the first track

Please update your ReaPacks...
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-18-2022, 08:16 AM   #805
aurelien
Human being with feelings
 
Join Date: Apr 2014
Posts: 95
Default

Hello Mespotine,
Small bug in your rendering functions line 4395 of ultraschall_functions_Render_Module.lua

-> RenderTable["FadeOut_Shape"] should be an integer and not a bool.

Thanks!
aurelien is offline   Reply With Quote
Old 11-18-2022, 09:08 AM   #806
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Thnx, will fix it for the next release.

Hope I can release a hotfix for it...
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-18-2022, 09:19 AM   #807
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Hotfix 4 - 18th of November 2022

- Rendering: CreateNewRenderTable - default RenderTable did return bool instead of integer for FadeOut_Shape -> fixed (thnx to aurelien)

Please update your ReaPacks
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 12-02-2022, 11:30 AM   #808
aurelien
Human being with feelings
 
Join Date: Apr 2014
Posts: 95
Default

Hi Mespotine and thanks for ultrashall!

I'm getting some performance issues due to :
ultraschall.GetRenderToFileHWND() calls in ApplyRenderTable_Project().

If i comment all the calls to this function in ApplyRenderTable_Project, everything is going smooth, i had a quick look at the code and it seems it's used to update and send message to the render window ?

Do you think you could add a boolean for "fast" versions of ApplyRenderTable_Project / other rendering functions, when we don't need to update the render window or so?

Thanks,
aurelien is offline   Reply With Quote
Old 12-02-2022, 12:16 PM   #809
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Unfortunately I can't.

The issue you see isn't coming from GetRenderToFileHWND but rather that setting the settings is really slow, when the Render to File window is open. This is how Reaper handles things, as it not just need to update the settings but also the UI of the Render to File dialog.

You see slowdowns also when setting various settings of the Render to File dialog using Reaper's own function GetSetProjectInfo_String, mostly with "RENDER_FORMAT"-strings.

The only solution to it is just to close the Render to File-dialog.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 12-02-2022, 04:36 PM   #810
aurelien
Human being with feelings
 
Join Date: Apr 2014
Posts: 95
Default

Thanks for your answer, the performance issues are happening even when the render dialog is closed.
I was able to do edit your methods to avoid slowdowns but it seems it's due to the reaper.JS_Window_ListFind method, it takes around 400ms for each call.(used in ultraschall.Windows_Find)
aurelien is offline   Reply With Quote
Old 12-02-2022, 05:44 PM   #811
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Hmm, when the dialog is closed, it shouldn't access any JS-functions that work with hwnds, as they aren't needed...

Edit:
We can test, if it's the case.

add the following lines into your code after the dofile-line:

Code:
function test()
  print2("Oh, this shouldn't happen. Means: JS_Window_ListFInd is actually called")
end

reaper.JS_Window_ListFind=test
then run the code with the render to file-window closed.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...

Last edited by Meo-Ada Mespotine; 12-02-2022 at 05:52 PM.
Meo-Ada Mespotine is offline   Reply With Quote
Old 12-03-2022, 04:25 AM   #812
aurelien
Human being with feelings
 
Join Date: Apr 2014
Posts: 95
Default

I can confirm i'm getting the message box.

Render Windows is closed and i'm calling the ApplyRenderTable_Project function.

All these methods are calling the reaper.JS_Window_ListFind, so it means 400ms x 5.


Code:
 SetRender_ProjectSampleRateForMix(RenderTable["ProjectSampleRateFXProcessing"])
 SetRender_AutoIncrementFilename(RenderTable["SilentlyIncrementFilename"])
 SetRender_QueueDelay(RenderTable["RenderQueueDelay"], RenderTable["RenderQueueDelaySeconds"])
 SetRender_ResampleMode(RenderTable["RenderResample"])
 SetRender_OfflineOnlineMode(RenderTable["OfflineOnlineRendering"])
aurelien is offline   Reply With Quote
Old 12-03-2022, 04:57 AM   #813
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Can you give me a testscript that shows the behavior? Including the testcode I gave you.

Cause I couldn't reproduce it.

Edit: wait I think I know what you mean. However, this must be fixed in JS-extension.
So it's a bugreport for Julian with reaper.JS_Window_ListFind, as I can't make it faster.
On my very slow system, it works flawlessly(Win7 on 12 years old laptop), so there might be an issue with the build you are using.
Which system do you use it on?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 12-03-2022, 09:31 AM   #814
aurelien
Human being with feelings
 
Join Date: Apr 2014
Posts: 95
Default

Here's a demo script you'll get the time elasped to apply a render table without any window open : 2.4second on my computer.

The weird thing is that you need to open something like a vst plugin, then close it to get slow performance issue. If i launch the script just after reaper startup, it's around 0.05s.


Code:
dofile(reaper.GetResourcePath().."/UserPlugins/ultraschall_api.lua")

function main()

	ApplyRenderTable([[D:\]],64,4,2,true,true)

end

function ApplyRenderTable(inRenderPath,inSource,inBounds,inChannels,inNormalizeEnabled,inFadeEnabled)

	--Settings of the render table
	Source=inSource -- 0 MasterMix, 32 Selected Mediam Items, 64 selected item via master
	Bounds=inBounds -- 2 TimeSelection, 3 Projects region, 4 Selected Media, 5 Selected Regions
	Startposition =0
	Endposition =0
	TailFlag =1
	TailMS=0
	RenderFile=inRenderPath
	RenderPattern="$item"
	SampleRate=48000
	Channels=inChannels
	OfflineOnlineRendering=0
	ProjectSampleRateFXProcessing =true
	RenderResample =9
	OnlyMonoMedia = true
	MultiChannelFiles=false
	Dither=0
	RenderString = ultraschall.CreateRenderCFG_WAV(2, 0, 0, 0, false) --wav config wav 24bits function 
	SilentlyIncrementFilename=false
	AddToProj=false
	SaveCopyOfProject=false
	RenderQueueDelay=false
	RenderQueueDelaySeconds=0
	CloseAfterRender=false
	EmbedStretchMarkers= false
	RenderString2=nil
	EmbedTakeMarkers=false
	DoNotSilentRender=false
	EmbedMetadata=false
	Enable2ndPassRender=false
	Normalize_Enabled=inNormalizeEnabled	
	Normalize_Method=3 --	0 LUFS-I / 1 RMS-I / 2 Peak / 3 True Peak / 4 LUFS-M max  /5 LUFS-S max
	Normalize_Stems_to_Master_Target= true
	Normalize_Target=-1	
	Brickwall_Limiter_Enabled=false	
	Brickwall_Limiter_Method=2 --	 1 peak; 2 True Peak
	Brickwall_Limiter_Target=-0.2	
	Normalize_Only_Files_Too_Loud=false	--Normalize_Only_Files_Too_Loud
	FadeIn_Enabled=inFadeEnabled
	FadeIn=0.0001 --5samples
	FadeIn_Shape=1
	FadeOut_Enabled=inFadeEnabled
	FadeOut=0.0001 --5samples	
	FadeOut_Shape=1
	
	--Create the RenderTable
	RenderTable = ultraschall.CreateNewRenderTable(
Source, Bounds, Startposition, Endposition, TailFlag, 
TailMS, RenderFile, RenderPattern, SampleRate, Channels, 
OfflineOnlineRendering, ProjectSampleRateFXProcessing, RenderResample, OnlyMonoMedia, MultiChannelFiles,
Dither, RenderString, SilentlyIncrementFilename, AddToProj, SaveCopyOfProject, 
RenderQueueDelay, RenderQueueDelaySeconds, CloseAfterRender, EmbedStretchMarkers, RenderString2, 
EmbedTakeMarkers, DoNotSilentRender, EmbedMetadata, Enable2ndPassRender, 
Normalize_Enabled, Normalize_Method, Normalize_Stems_to_Master_Target, Normalize_Target, 
Brickwall_Limiter_Enabled, Brickwall_Limiter_Method, Brickwall_Limiter_Target,
Normalize_Only_Files_Too_Loud, FadeIn_Enabled, FadeIn, FadeIn_Shape, FadeOut_Enabled, FadeOut, FadeOut_Shape)
	ultraschall.ShowLastErrorMessage()


	retval = ultraschall.IsValidRenderTable(RenderTable)
	ultraschall.ShowLastErrorMessage()
			local time_start = reaper.time_precise()

	ultraschall.ApplyRenderTable_Project(RenderTable,true,false)
	local elapsed = reaper.time_precise() - time_start
	reaper.ShowConsoleMsg("ApplyRenderTable_Project: " .. tostring (elapsed) .. "\n")

	ultraschall.ShowLastErrorMessage()
end



main()
aurelien is offline   Reply With Quote
Old 12-03-2022, 10:02 AM   #815
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Hmm, could be a Reaper issue...

The 0.5 sound like a good number.

I'll check anyways, though, but there's definitely not much I can do about it.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 12-19-2022, 01:35 PM   #816
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

4.75 - "Soundgarden - Black Hole Sun" - 19th of December 2022

Has now 1615 functions, with 25 new ones

new in this release:
  • AutoBypass settings
    You can now get and set autobypass for projects as well as global preferences, using GetFXAutoBypassSettings and SetFXAutoBypassSettings.
    You can also force autobypass for an fx, using GetFXAutoBypass_FXStateChunk and SetFXAutoBypass_FXStateChunk.
  • Better ErrorMessages
    Error messages, returned by functions like SLEM() or SFEM, return now more information about, in which script the error happened, in which function exactly and the linenumber.
    So debugging is much more easier now.
  • Resize of gfx-images
    You can now resize gfx-images, load with gfx.loadimg, keeping aspect ratio, using GFX_ResizeImageKeepAspectRatio.
    It's better for making images smaller than making them bigger(causes artifacts) but, you can do it now.
  • Only markers within timerange
    The Count markers-functions allow now counting from start to end-position. That way you can get the exact number of markers within the range.
  • Rendering
    supports now "Render stems pre-fader" and "Only render channels that are sent to parent" options; fixed various bugs with them too.
    You can also get/set, if you want to output statistics-outfiles, using SetRender_SaveRenderStats and GetRender_SaveRenderStats.
  • PodcastMetaData
    fixed various bugs, added contributors and websites and a way to export the podcast-metadata as JSON according to the PodMeta_v1-standard,
    including setting them into ID3, APE, IXML and VORBIS-COMMENT-metadata storage of Reaper.
  • Bugfixes

New features in 4.75
  • FXManagement: GetFXAutoBypass_FXStateChunk - sets autobypass state of an fx within an FXStateChunk
  • FXManagement: GetFXAutoBypassSettings - gets current states of various autobypass-settings
  • FXManagement: SetFXAutoBypass_FXStateChunk - sets autobypass state of an fx within an FXStateChunk
  • FXManagement: SetFXAutoBypassSettings - gets current states of various autobypass-settings
  • GFX-Functions: GFX_ResizeImageKeepAspectRatio - resizes a loaded image while keeping aspect ratio
  • GFX-Functions: GFX_BlitText_AdaptLineLength - draws a text and resizes the the line-lengths so they fit into the width and height-parameters
  • Helper functions: GetRandomString - returns a random generated string with characters (requested by ChatGPT) [p=2622707]
  • PodcastMetadata: CountContributors - counts the podcast contributors stored in an opened project
  • PodcastMetadata: GetChapterAttributesAsJSON get the metadata of a chapter as JSON
  • PodcastMetadata: GetEpisodeAttributesAsJSON get the metadata of an episode as JSON
  • PodcastMetadata: GetPodcastAttributesAsJSON get the metadata of a podcast as JSON
  • PodcastMetadata: GetPodcastEpisodeAttributesPreset_Name - gets the name of an episode-metadata-preset
  • PodcastMetadata: GetPodcastAttributePresetSlotByName - gets the preset-slot of podcast-presets by its name
  • PodcastMetadata: GetEpisodeAttributePresetSlotByName - gets the preset-slot of episode-presets by its name
  • PodcastMetadata: GetPodcastAttributesPreset_Name - gets the name of a podcast-metadata-preset
  • PodcastMetadata: GetPodcastContributorAttributesAsJSON - gets the contributors as JSON
  • PodcastMetadata: GetSetContributor_Attributes - gets/sets the attributes of an episode's contributor
  • PodcastMetadata: GetSetPodcastWebsite - gets/sets websites for a podcast
  • PodcastMetadata: GetShownoteAttributesAsJSON get the metadata of a shownote as JSON
  • PodcastMetadata: PodcastMetadata_CreateJSON_Entry - creates entire podcast-metadata-entry as JSON according to PodMeta_v1-standard
  • PodcastMetadata: PodcastMetaData_ExportWebsiteAsJSON - creates website's metadata as JSON
  • PodcastMetadata: SetPodcastEpisodeAttributesPreset_Name - sets the name of an episode-metadata-preset
  • PodcastMetadata: SetPodcastAttributesPreset_Name - sets the name of a podcast-metadata-preset
  • Rendering: GetRender_SaveRenderStats - gets the save outfile.render_states.html-checkbox-state
  • Rendering: SetRender_SaveRenderStats - sets the save outfile.render_states.html-checkbox-state

    Changes from 4.7 to 4.75
  • API: Modulator3000 - reverted speedup of the speedup, as it had trouble on 32-bit-machines -> thanks binbinfr
  • Docs: updated to Reaper 6.72; config-variable-docs has improved index
  • ErrorMessagingSystem: SLEM/ShowLastErrorMessage/SFEM - return now the function, linenumber and sourcefile, in which AddErrorMessage was called
  • FXManagement: GetFXFromFXStateChunk - rewritten from scratch, should be more stable now
  • MarkerManagement: CountAllCustomMarkers - allows now counting custom-markers within a start and end-time
  • MarkerManagement: CountNormalMarkers - allows now counting normal markers within a start and end-time
  • MarkerManagement: CountShownoteMarkers - allows now counting shownotes within a start and end-time
  • MediaItemManagement: InsertMediaItemStateChunkArray - supports now inserting needed tracks, if the number of tracks<the number of tracks needed by the items to be inserted
  • MediaItemManagement: RippleCut - had trouble with projects, where there's only one item on track 1 and no other tracks
  • PodcastMetadata: GetSetChapterMarker_Attributes - supports now setting position "chap_position" and markertitle "chap_title"
  • PodcastMetadata: GetSetPodcast_Attributes - can now get/store attributes either in the current project or a preset, not in both at the same time; removed websites; will be done by GetSetPodcastWebsite instead
  • PodcastMetadata: GetSetPodcastEpisode_Attributes - can now get/store attributes either in the current project or a preset, not in both at the same time
  • PodcastMetadata: GetSetShownoteMarker_Attributes - supports now attribute shwn_linked_audiovideomedia, which allows linking media directly with a time_stamp; supports now setting position "shwn_position" and markertitle "shwn_title"
  • ProjectFiles: GetProject_RenderStems - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options
  • ProjectFiles: SetProject_RenderStems - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options
  • RenderManagement: AddRenderPreset - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options
  • RenderManagement: ApplyRenderTable_Project - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options; didn't apply various settings -> fixed
  • RenderManagement: ApplyRenderTable_ProjectFile - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options
  • RenderManagement: CreateNewRenderTable - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options; default RenderTable did return bool instead of integer for FadeOut_Shape -> fixed (thnx to aurelien)
  • RenderManagement: GetRenderPreset_RenderTable - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options
  • RenderManagement: GetRenderTable_Project - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options
  • RenderManagement: GetRenderTable_ProjectDefaults - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options
  • RenderManagement: GetRenderTable_ProjectFile - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options
  • RenderManagement: IsValidRenderTable - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options
  • RenderManagement: SetRenderPreset - supports now new "Render stems pre-fader" and "Only render channels that are sent to parent" options; fixed edge-cases that could prevent presets from being replaced with the new one
  • TrackManagement: GetTrackGroupFlags - supports now Media/Razor-Edit Lead and Follow
  • TrackManagement: GetTrackGroupFlags_HighState - supports now Media/Razor-Edit Lead and Follow
  • TrackManagement: SetTrackGroupFlags - supports now Media/Razor-Edit Lead and Follow
  • TrackManagement: SetTrackGroupFlags_HighState - supports now Media/Razor-Edit Lead and Follow



Please update it via ReaPack using: https://github.com/Ultraschall/ultra..._api_index.xml
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 12-20-2022, 03:41 PM   #817
Tone Ranger
Human being with feelings
 
Tone Ranger's Avatar
 
Join Date: Jan 2019
Location: Toronto, Canada
Posts: 533
Default

Hello Meo-Ada Mespotine!

I've been getting the following error preventing me from getting the latest version:



@MonkeyBars is also getting the error, hopefully this is the right place to post about it! 🙂
Tone Ranger is offline   Reply With Quote
Old 12-21-2022, 02:56 AM   #818
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Thnx for reporting. Will fix it ASAP.

Edit: Should be fixed, now.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...

Last edited by Meo-Ada Mespotine; 12-21-2022 at 03:17 AM.
Meo-Ada Mespotine is offline   Reply With Quote
Old 12-21-2022, 12:56 PM   #819
Tone Ranger
Human being with feelings
 
Tone Ranger's Avatar
 
Join Date: Jan 2019
Location: Toronto, Canada
Posts: 533
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
Thnx for reporting. Will fix it ASAP.

Edit: Should be fixed, now.
FIXED!! Thank you very much!
Tone Ranger is offline   Reply With Quote
Old 02-27-2023, 04:07 AM   #820
Malfunction
Human being with feelings
 
Malfunction's Avatar
 
Join Date: Sep 2020
Posts: 149
Default

Hi, is it possible to export device-independent bitmap (DIB) into the clipboard? Im trying to transfer bitmap images into an external frameserver (Avisynth)
Malfunction is offline   Reply With Quote
Old 02-27-2023, 04:34 AM   #821
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Not that I'm aware of...
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 03-08-2023, 02:52 AM   #822
Maskmagog
Human being with feelings
 
Join Date: Jun 2021
Location: Sweden
Posts: 26
Default

Hi, I just discovered this, and it looks fantastic! Currently I use Hindenburg Lite for podcast editing & publishing, but I would prefer this tbh, since I use Reaper for music work.
One of the strengths of Hindenburg is the ability to automatically export m4a (with chapters) and update the xml file with all the episode info. Is this something that is (or could be) possible with Ultraschall?

Many thanks!

(edit: I'm on Windows 10)
Maskmagog is offline   Reply With Quote
Old 03-08-2023, 04:25 AM   #823
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Theoretically yes, but we still have issues to figure it out with Reaper in general.
But we're working on it.

Btw, there's an online manual for Ultraschall available at: https://ultraschall.github.io/ultraschall-manual/en/

Edit: one very important thing is, that Ultraschall doesn't support portable installations yet.
Means, you might want to make a separate portable Version of Reaper for your music-setup first, before you install Ultraschall.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...

Last edited by Meo-Ada Mespotine; 03-08-2023 at 04:31 AM.
Meo-Ada Mespotine is offline   Reply With Quote
Old 03-08-2023, 04:39 AM   #824
Maskmagog
Human being with feelings
 
Join Date: Jun 2021
Location: Sweden
Posts: 26
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
Theoretically yes, but we still have issues to figure it out with Reaper in general.
But we're working on it.

Btw, there's an online manual for Ultraschall available at: https://ultraschall.github.io/ultraschall-manual/en/

Edit: one very important thing is, that Ultraschall doesn't support portable installations yet.
Means, you might want to make a separate portable Version of Reaper for your music-setup first, before you install Ultraschall.
Sounds great, hope that you succeed!
(I have different computers for podcast and music, but good to know)
Thanks!
Maskmagog is offline   Reply With Quote
Old 03-08-2023, 04:55 AM   #825
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

I'm going to ask the others in the team, whether we open up a dedicated thread for Ultraschall, since this thread is more about the backend of Ultraschall that we use for developing.

A dedicated thread for Ultraschall itself for podcasters(not for developers) would be great to have.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 03-16-2023, 12:02 PM   #826
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 811
Default ultraschall.SetFXStateChunk

Hi!

I am playing around with ultraschall.SetFXStateChunk and I dont
know if I am using it wrong or I have found a bug or if it supposed
to work as it does. The problem I have is that the FXs from the
newStateChunk dont load into a new clean track

This is my code:
Code:
local retval2, newStateChunk = ultraschall.SetFXStateChunk(StateChunk, fx_chain)
reaper.SetTrackStateChunk(track, newStateChunk, false)
When I look at newStateChunk it show FXCHAIN-chunk first followed by TRACK-chunk.
Code:
  <FXCHAIN
WNDRECT -1156 148 655 408
SHOW 1
LASTSEL 0
DOCKED 0
BYPASS 0 0 0
<VST "VST: ReaEQ (Cockos)" reaeq.dll 0 "" 1919247729<56535472656571726561657100000000> ""
cWVlcu5e7f4CAAAAAQAAAAAAAAACAAAAAAAAAAIAAAABAAAAAAAAAAIAAAAAAAAArAAAAAEAAAAAABAA
IQAAAAQAAAAEAAAAAQAAAKOv3ApMIHlAAAAAAAAA8D8AAAAAAAAAQAEIAAAAAQAAAKj+IJ2AQnpAAWAHUbms5j92PzVeuknkPwEIAAAAAQAAAFM4Whzb9Z1ACB8i3ej9DUAAAAAAAAAAQAEBAAAAAQAAAAAAAAAAiLNAAAAAAAAA8D8AAAAAAAAAQAEBAAAAAQAAAAAAAAAAAPA/AAAAAP0BAABcAQAAAgAAAA==
AE5vIHByZXNldAAQAAAA
>
PRESETNAME "No preset"
FLOATPOS 30 575 525 414
FXID {F4274EEB-933B-44E8-AD14-2C19CAC32BE5}
WAK 0 0
><TRACK
NAME ""
PEAKCOL 16576
BEAT -1
AUTOMODE 0
VOLPAN 1 0 -1 -1 1
MUTESOLO 0 0 0
IPHASE 0
PLAYOFFS 0 1
ISBUS 0 0
BUSCOMP 0 0 0 0 0
SHOWINMIX 1 0.6667 0.5 1 0.5 0 0 0
REC 1 4288 1 0 0 0 0 0
TRACKHEIGHT 0 0 0 0 0 0
INQ 0 0 0 0.5 100 0 0 100
NCHAN 2
FX 1
TRACKID {A2921CE2-AB11-4AEB-BDD2-95A10D0DB7ED}
PERF 0
MIDIOUT -1
MAINSEND 1 0
>
But when I look at another StateChunk from another track with FX on it, it shows
the TRACK-chunk first and then FXCHAIN.

Maybe its no big deal but I thought thats the reason why my newStateChunk dont
load into a selected track. Am I right or am I wrong?
__________________
ToDoList Obliques MusicMath Donation Some of mine and my friends music projects on Spotify
tompad is offline   Reply With Quote
Old 03-17-2023, 07:49 AM   #827
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Hmm...

Can you provide me with a project-file and a script that shows the behavior?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 03-17-2023, 12:55 PM   #828
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 811
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
Hmm...

Can you provide me with a project-file and a script that shows the behavior?
Sure, here is a project, I am using my script FX Chain AB from ReaPack (attached to message)
and I added a reaper.ShowConsoleMsg to it to show how the newStateChunk looks like.

After starting the script I select Track 1 with ReaEQ on FX.
Then I press Inject A-button and select Track 2 and then I
press the big red A-button...and nothing happens, no fx on Track 2.
The big buttons is supposed to load the injected fx to the new track.
When looking on console it seems like the track and fx chunks are changing
place with each other.

If I use script on same track 1 and inject 2 different settings from ReaEQ
in big buttons A and B it works and console is showing the "right" order
of track and fx chunks.
Attached Files
File Type: lua tompad_FX chain AB.lua (7.6 KB, 44 views)
File Type: rpp Test FX chain AB.rpp (29.0 KB, 49 views)
__________________
ToDoList Obliques MusicMath Donation Some of mine and my friends music projects on Spotify
tompad is offline   Reply With Quote
Old 03-17-2023, 01:03 PM   #829
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 811
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
Hmm...

a script that shows the behavior?
The script is supposed to work on same track but it
would be nice if it could copy fx to other tracks too.
__________________
ToDoList Obliques MusicMath Donation Some of mine and my friends music projects on Spotify
tompad is offline   Reply With Quote
Old 03-17-2023, 01:06 PM   #830
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Ok, I see what I can do.

My gut says, it's a bug, though I have no idea, how it came to be.

Hope I can fix it quickly.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 03-17-2023, 01:15 PM   #831
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 811
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
Ok, I see what I can do.

My gut says, it's a bug, though I have no idea, how it came to be.

Hope I can fix it quickly.
Thanks - I cross my fingers and hold my thumbs :-)
__________________
ToDoList Obliques MusicMath Donation Some of mine and my friends music projects on Spotify
tompad is offline   Reply With Quote
Old 03-19-2023, 10:42 AM   #832
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Quote:
Originally Posted by tompad View Post
Thanks - I cross my fingers and hold my thumbs :-)
Hmm, it seems like your script needs additional dependencies. Can you give me a small example-script that just focuses on the actual issue? Otherwise it's too much stuff that could be the culprit and it's hard to debug 200 lines I didn't code myself...


Edit:
Nevermind, can reproduce. I think it happens, when a track has no FXChain yet. Bad oversight on my part...
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...

Last edited by Meo-Ada Mespotine; 03-19-2023 at 10:58 AM.
Meo-Ada Mespotine is offline   Reply With Quote
Old 03-19-2023, 11:24 AM   #833
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

New Bugfix for Ultraschall-API

- FXManagement: SetFXStateChunk - didn't work properly on tracks without an existing FXChain -> fixed now(thanks to tompad)

Please update your ReaPacks

@tompad
Should be fixed now. At least, your script injects the FXChain properly into other tracks.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 04-08-2023, 05:53 AM   #834
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

4.8 - "Sparks - When do I get to sing my way" - 8th of April 2023

Has now 1652 functions, with 37 new ones

new in this release:
  • Docs-Find-functions
    Added now a lot of functions to access the docs of a function directly via API.
    You can also use the various Find-functions to search for functions matching certain words and slugs.
    With that, you can build your own API-search-tools.
    Oh: and you can search the Config-Vars too!
  • UTF8/string-functions for Lua
    Various helperfunctions for dealing with strings and utf8-encoded strings. They'll be added to the string-module of Lua.
  • Store RenderTable as extstate
    You can store and retrieve RenderTables from/to extstates and projextstates. So you can store multiple render-settings in a project.
    So if you have different render-settings for different parts of your project, you can store and restore them now from extstates without having to spam the render-presets.

New features in 4.8
  • Debug: Debug_ShowCurrentContext - calling this function returns/shows the current sourcefile, linenumber and function-context(for debug)
  • HelperFunctions: ConvertIniStringToTable - converts a loaded ini-file into a table
  • HelperFunctions: string.has_alphanumeric - returns if a string has a alphanumeric-character
  • HelperFunctions: string.has_control - returns if a string has a control-character
  • HelperFunctions: string.has_digits - returns if a string has a digit-character
  • HelperFunctions: string.has_hex - returns if a string has a hex-character
  • HelperFunctions: string.has_letter - returns if a string has a letter-character
  • HelperFunctions: string.has_lowercase - returns if a string has a lowercase-character
  • HelperFunctions: string.has_printable - returns if a string has a printable-character
  • HelperFunctions: string.has_space - returns if a string has a space-character
  • HelperFunctions: string.has_uppercase - returns if a string has a uppercase-character
  • HelperFunctions: string.utf8_len - returns the length of an utf8-encoded string; works like string.len
  • HelperFunctions: string.utf8_sub - gets the substring of an utf8-encoded string; works like string.sub
  • Docs: Docs_FindReaperApiFunction_Pattern - searches for api-functions(including extensions) that follow a search pattern
  • Docs: Docs_FindReaperConfigVar_Pattern - searches for configuration variables that follow a search pattern
  • Docs: Docs_FindUltraschallApiFunction_Pattern - searches for Ultraschall Api-functions that follow a search pattern
  • Docs: Docs_GetAllReaperApiFunctionnames - returns all reaper-API-functionnames existing in the docs(includes extensions)
  • Docs: Docs_GetAllUltraschallApiFunctionnames - returns all Ultraschall-API-functionnames existing in the docs(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Call - returns the functioncall of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Description - returns the description of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Params - returns the parameters of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Retvals - returns the returnvalues of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Requires - returns the required dependencies of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Tags - returns the tags of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Call - returns the functioncall of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Description - returns the description of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Params - returns the parameters of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Retvals - returns the returnvalues of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Requires - returns the required dependencies of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Tags - returns the tags of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_LoadReaperApiDocBlocs - (re)loads the entries of the Reaper api-documentation
  • Docs: Docs_LoadReaperConfigVarsDocBlocs - (re)loads the entries of the config-var-documentation
  • Docs: Docs_LoadUltraschallApiDocBlocs - (re)loads the entries of the Ultraschall api-documentation
  • Rendering: GetRenderTable_ExtState - gets a RenderTable stored in an extstate
  • Rendering: GetRenderTable_ProjExtState - gets a RenderTable stored in a projextstate
  • Rendering: SetRenderTable_ExtState - stores a RenderTable in an extstate
  • Rendering: SetRenderTable_ProjExtState - stores a RenderTable in a projextstate

    Changes from 4.75 to 4.8
  • Docs: Reaper Internals - updated docs to Reaper 6.78, SWS 2.13.2.0, ReaFab 0.3.10, FeaLlm 0.4.1 and added PeloReaper 2023.02.19
  • FXManagement: SetFXStateChunk - didn't work properly on tracks without an existing FXChain -> fixed now(thanks to tompad)

Please update it via ReaPack using: https://github.com/Ultraschall/ultra..._api_index.xml
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 04-08-2023, 10:59 AM   #835
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 811
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
4.8 - "Sparks - When do I get to sing my way" - 8th of April 2023

Has now 1652 functions, with 37 new ones

new in this release:
  • Docs-Find-functions
    Added now a lot of functions to access the docs of a function directly via API.
    You can also use the various Find-functions to search for functions matching certain words and slugs.
    With that, you can build your own API-search-tools.
    Oh: and you can search the Config-Vars too!
  • UTF8/string-functions for Lua
    Various helperfunctions for dealing with strings and utf8-encoded strings. They'll be added to the string-module of Lua.
  • Store RenderTable as extstate
    You can store and retrieve RenderTables from/to extstates and projextstates. So you can store multiple render-settings in a project.
    So if you have different render-settings for different parts of your project, you can store and restore them now from extstates without having to spam the render-presets.

New features in 4.8
  • Debug: Debug_ShowCurrentContext - calling this function returns/shows the current sourcefile, linenumber and function-context(for debug)
  • HelperFunctions: ConvertIniStringToTable - converts a loaded ini-file into a table
  • HelperFunctions: string.has_alphanumeric - returns if a string has a alphanumeric-character
  • HelperFunctions: string.has_control - returns if a string has a control-character
  • HelperFunctions: string.has_digits - returns if a string has a digit-character
  • HelperFunctions: string.has_hex - returns if a string has a hex-character
  • HelperFunctions: string.has_letter - returns if a string has a letter-character
  • HelperFunctions: string.has_lowercase - returns if a string has a lowercase-character
  • HelperFunctions: string.has_printable - returns if a string has a printable-character
  • HelperFunctions: string.has_space - returns if a string has a space-character
  • HelperFunctions: string.has_uppercase - returns if a string has a uppercase-character
  • HelperFunctions: string.utf8_len - returns the length of an utf8-encoded string; works like string.len
  • HelperFunctions: string.utf8_sub - gets the substring of an utf8-encoded string; works like string.sub
  • Docs: Docs_FindReaperApiFunction_Pattern - searches for api-functions(including extensions) that follow a search pattern
  • Docs: Docs_FindReaperConfigVar_Pattern - searches for configuration variables that follow a search pattern
  • Docs: Docs_FindUltraschallApiFunction_Pattern - searches for Ultraschall Api-functions that follow a search pattern
  • Docs: Docs_GetAllReaperApiFunctionnames - returns all reaper-API-functionnames existing in the docs(includes extensions)
  • Docs: Docs_GetAllUltraschallApiFunctionnames - returns all Ultraschall-API-functionnames existing in the docs(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Call - returns the functioncall of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Description - returns the description of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Params - returns the parameters of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Retvals - returns the returnvalues of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Requires - returns the required dependencies of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetReaperApiFunction_Tags - returns the tags of a Reaper-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Call - returns the functioncall of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Description - returns the description of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Params - returns the parameters of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Retvals - returns the returnvalues of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Requires - returns the required dependencies of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_GetUltraschallApiFunction_Tags - returns the tags of a Ultraschall-API-function(includes extensions)
  • Docs: Docs_LoadReaperApiDocBlocs - (re)loads the entries of the Reaper api-documentation
  • Docs: Docs_LoadReaperConfigVarsDocBlocs - (re)loads the entries of the config-var-documentation
  • Docs: Docs_LoadUltraschallApiDocBlocs - (re)loads the entries of the Ultraschall api-documentation
  • Rendering: GetRenderTable_ExtState - gets a RenderTable stored in an extstate
  • Rendering: GetRenderTable_ProjExtState - gets a RenderTable stored in a projextstate
  • Rendering: SetRenderTable_ExtState - stores a RenderTable in an extstate
  • Rendering: SetRenderTable_ProjExtState - stores a RenderTable in a projextstate

    Changes from 4.75 to 4.8
  • Docs: Reaper Internals - updated docs to Reaper 6.78, SWS 2.13.2.0, ReaFab 0.3.10, FeaLlm 0.4.1 and added PeloReaper 2023.02.19
  • FXManagement: SetFXStateChunk - didn't work properly on tracks without an existing FXChain -> fixed now(thanks to tompad)

Please update it via ReaPack using: https://github.com/Ultraschall/ultra..._api_index.xml
Splendid! ;-)
Thanks a lot!
__________________
ToDoList Obliques MusicMath Donation Some of mine and my friends music projects on Spotify
tompad is offline   Reply With Quote
Old 04-08-2023, 06:38 PM   #836
JackOrez
Human being with feelings
 
Join Date: Jun 2022
Posts: 25
Default

Is there some place I can get the latest version? The Releases page at github hasn't had an updated version in almost a year. I don't and probably will never use ReaPack, nothing against its devs, it's just that my daw system is never connected to the net., which makes it about a billion times easier to troubleshoot if something goes wrong.

My only connection to the net is a mobile device.

Thank you
JackOrez is offline   Reply With Quote
Old 04-09-2023, 05:52 AM   #837
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Do you mean Ultraschall(for podcasting) or Ultraschall API(for programming Reaper)?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 04-09-2023, 03:16 PM   #838
JackOrez
Human being with feelings
 
Join Date: Jun 2022
Posts: 25
Default

API for REAPER
JackOrez is offline   Reply With Quote
Old 04-10-2023, 03:00 AM   #839
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Quote:
Originally Posted by JackOrez View Post
API for REAPER
There's a manual install for Ultraschall API. You can find an instruction here:

https://mespotin.uber.space/Ultrasch...How_to_Install
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 04-10-2023, 05:31 PM   #840
JackOrez
Human being with feelings
 
Join Date: Jun 2022
Posts: 25
Default

I use to check that page for the latest, but I had given up because it was also not the current version. Looks like it is now, so thank you very much.

Last edited by JackOrez; 04-10-2023 at 06:03 PM.
JackOrez 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 04:10 AM.


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