![]() |
#761 |
Human being with feelings
Join Date: Apr 2014
Posts: 103
|
![]()
No problem, take care!!
|
![]() |
![]() |
![]() |
#762 | |
Human being with feelings
Join Date: Dec 2017
Location: Brazil
Posts: 2,082
|
![]() Quote:
![]()
__________________
How to Reascript| MIDI Transfer| Item Sampler| Track Snapshot| ReaShare| Sample Organizer| Microrhythms| Bartoker| Markov Chains| MIDI Toolkit| Fake Grids| Adaptative Music| It's Gonna Phase |
|
![]() |
![]() |
![]() |
#763 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
## Ultraschall Framework - Changelog
4.7 - "Pearl Jam - Alive" - 16th of October 2022 Has now 1590 functions, with 58 new ones new in this release:
New features in 4.7
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#764 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
Please update it via ReaPack using: https://github.com/Ultraschall/ultra..._api_index.xml
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#765 | |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]() Quote:
I put it on my ToDo-List for the next release...
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
|
![]() |
![]() |
![]() |
#766 |
Human being with feelings
Join Date: Jan 2020
Location: In the studio at my desk
Posts: 477
|
![]()
During updates I get the following every time.
https://raw.githubusercontent.com/Ul...tem_mouse.lua: HTTP response code said error (22): The requested URL returned error: 404 Warren |
![]() |
![]() |
![]() |
#767 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
Can you try again and see, if it's fixed?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#768 |
Human being with feelings
Join Date: Jan 2020
Location: In the studio at my desk
Posts: 477
|
![]()
Sorry tried a few times with the same error, maybe Reapack has not updates yet I will try again in about ten minutes.
Warren |
![]() |
![]() |
![]() |
#769 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
Ah, yeah, sometimes GitHub needs a moment to refresh the files...
Edit: It should work now...I hope... No idea, why the bug happened....
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people Last edited by Meo-Ada Mespotine; 10-26-2022 at 12:19 PM. |
![]() |
![]() |
![]() |
#770 |
Human being with feelings
Join Date: Jan 2020
Location: In the studio at my desk
Posts: 477
|
![]()
That did it!!
Thank you, look forward to trying the updates. Warren |
![]() |
![]() |
![]() |
#771 |
Human being with feelings
Join Date: Apr 2022
Posts: 4
|
![]()
No worries! I checked the forum every few days and got quite worried since you haven't posted anything, so I'm just glad you are back and hope you have overcome your health problems
![]() |
![]() |
![]() |
![]() |
#772 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]()
Hi Mespotine,
I'm very interested by changing the global lock state with its options. I saw that you provide : integer lock_state = ultraschall.GetProject_Lock(string projectfilename_with_path, optional string ProjectStateChunk ) but apparently, it reads the RPP file or a ProjectStateChunk which is difficult to read (you say that we should not read it too often). So I do not see how I can simply and quickly change the global lock settings... Do you have an idea ? |
![]() |
![]() |
![]() |
#773 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
You can't currently, AFAIK. Unless you change the lock-state of a project and reload it.
It's a limitation of the API.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#774 | |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]() Quote:
Since the latest Dev-release of Reaper includes ParameterModulation native, I think, I'm going to reimplement it completely to use the new Api-possibilities.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
|
![]() |
![]() |
![]() |
#775 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]()
Very weird, because it seems to be a feature easily available with the LOCK button. Do you think I can ask for a FR to be added to the API ?
Last edited by binbinhfr; 10-28-2022 at 02:20 AM. |
![]() |
![]() |
![]() |
#776 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
You can try setting the config-variable projsellock:
https://mespotin.uber.space/Ultrasch...ml#projsellock But I haven't tested it yet.. Config-Vars can be a good source for checking, if a state might be settable. If you use Ultraschall-Api, you can use the Displayer for config vars. Just run it and set the options you want to get/set on and off again. If the console shows you a result, it's a config variable you should check for. Look for the keywords "Ultraschall" and "Display" to find the scripts for displaying changed config-values. One is for config files, the other one for config variables. Use the latter of the two.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people Last edited by Meo-Ada Mespotine; 10-28-2022 at 02:14 AM. |
![]() |
![]() |
![]() |
#777 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]()
Man, you're a genius ! It works !
I just wonder if this method is quick ? Does it works only change memory or does it write to disk everytime ? The fact is that the ULTRASHALL DISPLAYER detects everychange made to the button/menu. here is the LUA test script, for those interested : Code:
function msg(s) reaper.ShowConsoleMsg(tostring(s).."\n") end function tobits(num) local s = "" while num ~= 0 do if num & 1 == 0 then s = s .. "0" else s = s .. "1" end num = num >> 1 end return s end retval = reaper.SNM_GetIntConfigVar("projsellock", 65535 ) msg(tobits(retval)) -- set all locking options retval = reaper.SNM_SetIntConfigVar("projsellock", 32768-1 ) -- unset all -- retval = reaper.SNM_SetIntConfigVar("projsellock", 0 ) retval = reaper.SNM_GetIntConfigVar("projsellock", 65535 ) msg(tobits(retval)) |
![]() |
![]() |
![]() |
#778 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
Since it's a project related setting, it will only be changed in memory until the project is saved.
So it's fast.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#779 | |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]() Quote:
Looking at the returns of ULTRASHALL DISPLAYER, there are a LOT of features that can be accessed this way, that's amazing ! |
|
![]() |
![]() |
![]() |
#780 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
Yes. Almost all of them(maybe all?) I document in the docs I linked above. So reverse engineering isn't necessary.
You can usually look for the text displayed next to a checkbox to see, if I have documentated it already. The displayer script is the most important tool to do these docs.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#781 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]()
I see that the displayer relies on the Reaper_Config_Variables.USDocML file.
But how do you build this file ? And how/when do you update it ? EDIT: do you have an idea how I can change also "on the fly" a specified color of the current theme (in my case, I want to adress the locked track alpha value) ? Last edited by binbinhfr; 10-28-2022 at 03:48 PM. |
![]() |
![]() |
![]() |
#782 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]()
Will use you API that adds a lot of interesting functionnality.
Installation and test are OK but, for published scripts, what is the best way to verify that API is installed, BEFORE running : Code:
dofile(reaper.GetResourcePath().."/UserPlugins/ultraschall_api.lua") ultraschall.ApiTest() |
![]() |
![]() |
![]() |
#783 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
Just follow the usage-instructions on this page:
https://github.com/Ultraschall/ultra...api-for-reaper
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#784 | |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]() Quote:
BTW, I see here that you developped an alternative to getchar called GFX_GetChar : https://github.com/Ultraschall/ultra...eaper/releases I'll give it a try ! |
|
![]() |
![]() |
![]() |
#785 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
Updated Ultraschall-API and fixed some errors
please update your ReaPacks
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#786 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]()
Just a question : is it supposed to work ok on a 32 bits windows 7 ?
It works on my big home PC x64, but gives errors on my old portable Win7 PC that I use for playing live... here is what he says when I launch my script using API : C:\Users\h\AppData\Roaming\REAPER/UserPlugins/ultraschall_api/ultraschall_ModulatorLoad3000.lua: size_t size mismatch in precompiled chunk |
![]() |
![]() |
![]() |
#787 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
Try uninstalling and reinstalling. It should work on all systems.
If not, gimme a sign and I upload a workaround.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#788 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]()
same error. But this "size_t " error makes me think about an integer variable size that could change between 32 and 64 bit systems, no ?
|
![]() |
![]() |
![]() |
#789 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
Maybe with the 64bit version of Lua vs the 32bit one. Will fix this later today.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#790 | |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]() Quote:
For info. I disabled the Ultraschall callings. The rest of the script is working fine in 32 bits, with SWS and JS APIs. |
|
![]() |
![]() |
![]() |
#791 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
It should be fixed now..
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#792 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]() |
![]() |
![]() |
![]() |
#793 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]()
Can't find a function to set the first visible track in the TCP... Any idea ?
|
![]() |
![]() |
![]() |
#794 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
Set the track to what, exactly?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#795 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]()
Sorry for my english :-)
I mean set one given track to be the first one on the top of the TCP/arranger view (when you scroll vertically) |
![]() |
![]() |
![]() |
#796 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
To be sticky(which is not possible) or to move the track?
Or to scroll the arrangeview?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#797 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]()
Just to scroll the arrangeview to position this track on the top place
|
![]() |
![]() |
![]() |
#798 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,836
|
![]()
These may help you to find out, if the track is already visible:
https://mespotin.uber.space/Ultrasch...IsTrackVisible https://mespotin.uber.space/Ultrasch...Tracks_Arrange JS-extension allows you to scroll the arrangeview. To get the hwnd for the arrangeview, use: https://mespotin.uber.space/Ultrasch...ND_ArrangeView This rest about the scrolling you better ask for in the JS-extension-thread(pinned in this subforum), as it's a while, since I did this and forgot it.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#799 |
Human being with feelings
Join Date: Oct 2021
Location: France
Posts: 364
|
![]()
Thanks Man. That's a lot of question, uh ? ;-) I'm writing a script for my live needs (I play in duet with a pianist and we need a "flexible" drum track, so I develop my own tool that should perfectly suits our need ; I'll share it later).
|
![]() |
![]() |
![]() |
#800 |
Human being with feelings
Join Date: Dec 2015
Posts: 378
|
![]()
tryi,g to install through reapack but i get this error:
https://raw.githubusercontent.com/Ul...inführung.jpg: HTTP response code said error (22): The requested URL returned error: 400 and then nothing get installed. anyidea what i can do? ben |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|