Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Pre-Release Discussion

Reply
 
Thread Tools Display Modes
Old 11-03-2023, 03:58 AM   #641
AZpercussion
Human being with feelings
 
Join Date: Oct 2019
Location: Moscow / Tbilisi
Posts: 940
Default Bug in API functions

BR_GetMouseCursorContext_Item() and BR_ItemAtMouseCursor()

They behave wrong, as they have wrong y coordinates, when track spacers exist in the project.

This bug was earlier as a ghost bug, but with track spacers it's stable.
AZpercussion is online now   Reply With Quote
Old 11-03-2023, 04:12 AM   #642
sockmonkey72
Human being with feelings
 
sockmonkey72's Avatar
 
Join Date: Sep 2021
Location: Berlin
Posts: 2,040
Default

Quote:
Originally Posted by AZpercussion View Post
BR_GetMouseCursorContext_Item() and BR_ItemAtMouseCursor()

They behave wrong, as they have wrong y coordinates, when track spacers exist in the project.

This bug was earlier as a ghost bug, but with track spacers it's stable.
This has been fixed already, it's just not in the January prerelease: https://forum.cockos.com/showpost.ph...postcount=3232
__________________
ReaPack Repository: right-click and copy index URL
sockmonkey72 is offline   Reply With Quote
Old 11-03-2023, 05:50 AM   #643
tohubohu
Human being with feelings
 
Join Date: Sep 2019
Location: france
Posts: 2,384
Default

Could you please create these actions? Thank you

https://forum.cockos.com/showthread.php?t=281829

What would be the point, for example?

For example, create a button to delete all the take volume envelope points for the selected item or for all the items on a track or fixed lane.
Or
Reduce the number of points of all the take volume/pan envelopes for all the items on a track or fixed lane.

Etc…

Unless I'm mistaken, no such custom action is possible. Now that there are item lanes and the ability to disable automatic resizing of peaks according to take volume envelope/pan points, these actions become really useful. Thanks
__________________
French LangPack - Langpack Reaper en français - Traduction de Reaper en français
Télécharger (download) here

Last edited by tohubohu; 11-03-2023 at 05:58 AM.
tohubohu is offline   Reply With Quote
Old 11-03-2023, 06:11 AM   #644
AZpercussion
Human being with feelings
 
Join Date: Oct 2019
Location: Moscow / Tbilisi
Posts: 940
Default

Quote:
Originally Posted by sockmonkey72 View Post
This has been fixed already, it's just not in the January prerelease: https://forum.cockos.com/showpost.ph...postcount=3232
Ah, good to know! Thanks!
AZpercussion is online now   Reply With Quote
Old 11-03-2023, 06:47 AM   #645
sockmonkey72
Human being with feelings
 
sockmonkey72's Avatar
 
Join Date: Sep 2021
Location: Berlin
Posts: 2,040
Default

Quote:
Originally Posted by tohubohu View Post
Could you please create these actions? Thank you

https://forum.cockos.com/showthread.php?t=281829

What would be the point, for example?

For example, create a button to delete all the take volume envelope points for the selected item or for all the items on a track or fixed lane.
Or
Reduce the number of points of all the take volume/pan envelopes for all the items on a track or fixed lane.

Etc…

Unless I'm mistaken, no such custom action is possible. Now that there are item lanes and the ability to disable automatic resizing of peaks according to take volume envelope/pan points, these actions become really useful. Thanks
Feel free to open a ticket in the Github repos! https://github.com/reaper-oss/sws/issues
__________________
ReaPack Repository: right-click and copy index URL
sockmonkey72 is offline   Reply With Quote
Old 11-03-2023, 08:41 AM   #646
tohubohu
Human being with feelings
 
Join Date: Sep 2019
Location: france
Posts: 2,384
Default

Quote:
Originally Posted by sockmonkey72 View Post
Feel free to open a ticket in the Github repos! https://github.com/reaper-oss/sws/issues
Thank you
I had done and someone just made me the scripts. Great stuff!
__________________
French LangPack - Langpack Reaper en français - Traduction de Reaper en français
Télécharger (download) here
tohubohu is offline   Reply With Quote
Old 01-06-2024, 06:21 AM   #647
bobobo
Human being with feelings
 
bobobo's Avatar
 
Join Date: Oct 2014
Posts: 1,404
Default Installer in special Config Directory

a issued when using reaper with the -cfgfile parameter

if i run reaper with the -cfgfile parameter reaper is started from the install directory and uses the path i set as parameter .
the sws installer won't recognize this. but should be installed there.
my workarround, i put a reaper.exe into this directory and the installer runs ok then.
after that i deleted the reaper.exe

greetings and a happy new year


Code:
                                   .''.
       .''.      .        *''*    :_\/_:     .
      :_\/_:   _\(/_  .:.*_\/_*   : /\ :  .'.:.'.
  .''.: /\ :    /)\   ':'* /\ *  : '..'.  -=:o:=-
 :_\/_:'.:::.  | ' *''*    * '.\'/.'_\(/_ '.':'.'
 : /\ : :::::  =  *_\/_*     -= o =- /)\     '  *
  '..'  ':::' === * /\ *     .'/.\'.  ' ._____
      *        |   *..*         :       |.   |' .---"|
        *      |     _           .--'|  ||   | _|    |
        *      |  .-'|       __  |   |  |    ||      |
     .-----.   |  |' |  ||  |  | |   |  |    ||      |
 ___'       ' /"\ |  '-."".    '-'   '-.'    '`      |____
2024~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bobobo is offline   Reply With Quote
Old 02-15-2024, 11:15 AM   #648
zaibuyidao
Human being with feelings
 
Join Date: Jan 2020
Location: Amoy
Posts: 205
Default

Hello, I'd like to report some localization issues I've encountered.



I have fully translated the latest version of the SWS_Template.ReaperLangPack (2.14.0.1) and installed the newest SWS version (2.14.0.1) as well. Despite this, I've noticed that some translations are not taking effect within the action list, where entries still appear in the original language. The affected content includes:

SWS/S&M: Active MIDI Editor - Restore displayed CC lanes, slot *
SWS/S&M: Active MIDI Editor - Save displayed CC lanes, slot *
SWS/S&M: Bypass all FX (except *) for selected tracks
SWS/S&M: Bypass FX * for selected tracks
SWS/S&M: Create cue buss from track selection, settings *
SWS/S&M: Dummy toggle *
SWS/S&M: Exclusive toggle *
SWS/S&M: Float FX * for selected tracks
SWS/S&M: Go to/time-select region * (obeys smooth seek)
SWS/S&M: Live Config #1 - *
SWS/S&M: Live Config #2 - *
SWS/S&M: Live Config #3 - *
SWS/S&M: Live Config #4 - *
SWS/S&M: Live Config #5 - *
SWS/S&M: Live Config #6 - *
SWS/S&M: Live Config #7 - *
SWS/S&M: Live Config #8 - *
SWS/S&M: Map selected tracks MIDI input to channel *
SWS/S&M: Region Playlist * - Play
SWS/S&M: Resources - Add media file to current track, slot *
SWS/S&M: Resources - Add media file to new track, slot *
SWS/S&M: Resources - Add media file to selected items as takes, slot *
SWS/S&M: Resources - Apply track template (+envelopes/items) to selected tracks, slot *
SWS/S&M: Resources - Apply track template to selected tracks, slot *
SWS/S&M: Resources - Import tracks from track template, slot *
SWS/S&M: Resources - Load theme, slot *
SWS/S&M: Resources - Loop media file in selected tracks (sync with next measure), slot *
SWS/S&M: Resources - Loop media file in selected tracks (toggle), slot *
SWS/S&M: Resources - Loop media file in selected tracks, slot *
SWS/S&M: Resources - Open project, slot *
SWS/S&M: Resources - Paste (replace) FX chain to selected items, slot *
SWS/S&M: Resources - Paste (replace) FX chain to selected tracks, slot *
SWS/S&M: Resources - Paste (replace) template items to selected tracks, slot *
SWS/S&M: Resources - Paste FX chain to selected items, slot *
SWS/S&M: Resources - Paste FX chain to selected tracks, slot *
SWS/S&M: Resources - Paste template items to selected tracks, slot *
SWS/S&M: Resources - Play media file in selected tracks (sync with next measure), slot *
SWS/S&M: Resources - Play media file in selected tracks (toggle pause), slot *
SWS/S&M: Resources - Play media file in selected tracks (toggle), slot *
SWS/S&M: Resources - Play media file in selected tracks, slot *
SWS/S&M: Resources - Set track icon for selected tracks, slot *
SWS/S&M: Resources - Show image, slot *
SWS/S&M: Select FX * for selected track
SWS/S&M: Set all FX (except *) offline for selected tracks
SWS/S&M: Set FX * offline for selected tracks
SWS/S&M: Set FX * online for selected tracks
SWS/S&M: Set selected tracks MIDI input to channel *
SWS/S&M: Set selected tracks to group * (default flags)
SWS/S&M: Show FX chain for selected tracks, FX *
SWS/S&M: Toggle float FX * for selected tracks
SWS/S&M: Toggle FX * bypass for selected tracks
SWS/S&M: Toggle FX * online/offline for selected tracks
SWS/S&M: Trigger next preset for FX * of selected tracks
SWS/S&M: Trigger preset for FX * of selected track (MIDI/OSC only)
SWS/S&M: Trigger previous preset for FX * of selected tracks
SWS/S&M: Unbypass FX * for selected tracks
SWS/S&M: Unfloat FX * for selected tracks

SWS: Recall snapshot *
SWS: Restore loop selection, slot *
SWS: Save as snapshot *
SWS: Save loop selection, slot *
SWS: Select only track *

Last edited by zaibuyidao; 02-15-2024 at 11:19 AM. Reason: Reporting Localization Errors in the Latest SWS Extension
zaibuyidao is offline   Reply With Quote
Old 02-16-2024, 01:43 AM   #649
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 5,087
Default

Localized strings must have the exact same amount of format specifiers (such as %d) as the original.
cfillion is offline   Reply With Quote
Old 02-16-2024, 03:59 AM   #650
zaibuyidao
Human being with feelings
 
Join Date: Jan 2020
Location: Amoy
Posts: 205
Default

Quote:
Originally Posted by cfillion View Post
Localized strings must have the exact same amount of format specifiers (such as %d) as the original.
Thank you for your response regarding the need for localized strings to maintain the exact number of format specifiers (e.g., %d) as the original. I've taken this guidance into account and have been careful to preserve the original number of %d specifiers in my translations, ensuring a bilingual approach. Specifically, in my translations, I comment out the original English %d and replace it with (placeholder:%)d to maintain functionality. For instance, my translation for the string "2C9E67A54F4069DF=SWS/S&M: Active MIDI Editor - Restore displayed CC lanes, slot %d" is as follows:

2C9E67A54F4069DF=SWS/S&M: 活动 MIDI 编辑器 - 恢复显示的 CC 车道, 插槽 %d ⇌ SWS/S&M: Active MIDI Editor - Restore displayed CC lanes, slot (placeholder:%)d

This method has proven to be effective in other contexts. However, I've encountered issues when applying this approach within the SWS extension translations. Even when making minor modifications to the original text (such as adding the word "TEST" for testing purposes), the changes do not seem to take effect:

2C9E67A54F4069DF=SWS/S&M: TEST Active MIDI Editor - Restore displayed CC lanes, slot %d

Could there be another underlying issue preventing the translated strings from being recognized properly in the SWS extension?

Thank you for your attention to this detailed follow-up, and I look forward to any suggestions you might have.

Last edited by zaibuyidao; 02-16-2024 at 04:18 AM.
zaibuyidao is offline   Reply With Quote
Old 02-16-2024, 04:31 AM   #651
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 5,087
Default

Works here:


EDIT: %) in "(placeholder:%)d" is an invalid format specifier + doesn't match the original string. To have a literal '%' character it must be escaped like this: "(placeholder:%%)d". You could also just do "slot %%d".

Code:
2C9E67A54F4069DF=SWS/S&M: 活动 MIDI 编辑器 - 恢复显示的 CC 车道, 插槽 %d ⇌ SWS/S&M: Active MIDI Editor - Restore displayed CC lanes, slot %%d

Last edited by cfillion; 02-16-2024 at 04:56 AM.
cfillion is offline   Reply With Quote
Old 02-16-2024, 06:34 AM   #652
zaibuyidao
Human being with feelings
 
Join Date: Jan 2020
Location: Amoy
Posts: 205
Default

Quote:
Originally Posted by cfillion View Post
Works here:
EDIT: %) in "(placeholder:%)d" is an invalid format specifier + doesn't match the original string. To have a literal '%' character it must be escaped like this: "(placeholder:%%)d". You could also just do "slot %%d".

Code:
2C9E67A54F4069DF=SWS/S&M: 活动 MIDI 编辑器 - 恢复显示的 CC 车道, 插槽 %d ⇌ SWS/S&M: Active MIDI Editor - Restore displayed CC lanes, slot %%d
I've understood the explanation regarding the use of format specifiers, especially the distinction between %d and the attempt to use %)d, which is not recognized as a valid format specifier. After testing with the correct format specifier usage, specifically using %% to correctly escape a percent sign when necessary, I can confirm the effectiveness of this approach.

I want to express my sincere gratitude for your guidance and patience in clarifying this matter. Thank you very much for your help.
zaibuyidao is offline   Reply With Quote
Old 02-29-2024, 01:52 AM   #653
Ville
Human being with feelings
 
Join Date: Sep 2018
Posts: 31
Default I think I found a bug with the latest sws pre-release

Hi there!

I encountered this weird behaviour where one cpu core would max out under very specific circumstances relating to visual spacers, fixed item lanes and some plugins. After some digging I found out that this happens with the latest sws pre-release but not with the stable release. That is on an otherwise clean portable install (only sws and reapack installed)

I've discribed the behaviour and steps to replicate in this thread if you care to take a look:
https://forum.cockos.com/showthread.php?t=288774
Ville is offline   Reply With Quote
Old 02-29-2024, 02:33 AM   #654
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,806
Default

HI all. I'm still getting this warning when playing from the region playlist and having nested regions:

"the playlist might not work as expected. It contains nested regions (inside 1 region at least".

I'm on 2.14.0.1.
mozart999uk is offline   Reply With Quote
Old 02-29-2024, 12:05 PM   #655
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 5,087
Default

Quote:
Originally Posted by Ville View Post
I've discribed the behaviour and steps to replicate in this thread if you care to take a look:
https://forum.cockos.com/showthread.php?t=288774
Thanks for reporting this!

Quote:
Originally Posted by mozart999uk View Post
HI all. I'm still getting this warning when playing from the region playlist and having nested regions:

"the playlist might not work as expected. It contains nested regions (inside 1 region at least".
SWS 2.14 allows nested markers but there's no changes for nested regions.
cfillion is offline   Reply With Quote
Old 03-14-2024, 01:47 AM   #656
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,806
Default

Quote:
Originally Posted by cfillion View Post
Thanks for reporting this!



SWS 2.14 allows nested markers but there's no changes for nested regions.
Ah ok. Thanks for explaining. :-)

Do you think that's something that could be changed? very useful for me in my work when making 60s and 30s edits of tracks....
mozart999uk is offline   Reply With Quote
Old 03-20-2024, 08:47 AM   #657
tohubohu
Human being with feelings
 
Join Date: Sep 2019
Location: france
Posts: 2,384
Default

these actions do not appear in the action list.
have i misunderstood something?

SWS/S&M: Set all FX (except %d) online for selected tracks
__________________
French LangPack - Langpack Reaper en français - Traduction de Reaper en français
Télécharger (download) here
tohubohu is offline   Reply With Quote
Old 03-20-2024, 08:50 AM   #658
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 5,087
Default

Quote:
Originally Posted by tohubohu View Post
these actions do not appear in the action list.
have i misunderstood something?

SWS/S&M: Set all FX (except %d) online for selected tracks
By default these actions are not created. The user can enable them by changing S&M_FXOFF_ALL_ON_EXCPT in S&M.ini.
cfillion is offline   Reply With Quote
Old 03-20-2024, 09:03 AM   #659
tohubohu
Human being with feelings
 
Join Date: Sep 2019
Location: france
Posts: 2,384
Default

Quote:
Originally Posted by cfillion View Post
By default these actions are not created. The user can enable them by changing S&M_FXOFF_ALL_ON_EXCPT in S&M.ini.

I didn't understand anything
why these are not created ? and all the others that look like them work properly
exemple
SWS/S&M: Set all FX (except %d) offline for selected tracks
__________________
French LangPack - Langpack Reaper en français - Traduction de Reaper en français
Télécharger (download) here
tohubohu is offline   Reply With Quote
Old 03-20-2024, 09:11 AM   #660
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 5,087
Default

The amount of many SWS actions is user-customizable via the S&M.ini file (Options > Show REAPER resource path in explorer/finder). Out of the box the "offline" one is set to 8. The "online" one is set to 0.



Exit REAPER, increase that value in S&M.ini then restart REAPER to enable these online actions.
cfillion is offline   Reply With Quote
Old 03-20-2024, 12:29 PM   #661
tohubohu
Human being with feelings
 
Join Date: Sep 2019
Location: france
Posts: 2,384
Default

@cfillion

ok thanks,
but the problem is that when the action doesn't appear in the list of actions (when it's 0), we can't guess that it exists.....so wouldn't it be nice to make them all visible with at least the number 1?
__________________
French LangPack - Langpack Reaper en français - Traduction de Reaper en français
Télécharger (download) here
tohubohu is offline   Reply With Quote
Old 03-22-2024, 09:28 AM   #662
tohubohu
Human being with feelings
 
Join Date: Sep 2019
Location: france
Posts: 2,384
Default

_SWS_VZOOMFITMIN
SWS: Vertical zoom to selected tracks, minimize others
doesn't work well when envelope bands are enabled
__________________
French LangPack - Langpack Reaper en français - Traduction de Reaper en français
Télécharger (download) here
tohubohu is offline   Reply With Quote
Old 03-25-2024, 07:52 AM   #663
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,190
Default

Quote:
Originally Posted by tohubohu View Post
_SWS_VZOOMFITMIN
SWS: Vertical zoom to selected tracks, minimize others
doesn't work well when envelope bands are enabled
I can't get any of the zoom vertically to selected tracks commands to work with fixed lane tracks.
The selected track is zoomed vertically but to the height of the first lane.
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode 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 03:17 PM.


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