Main Menu

Recent posts

#11
Help and Questions / Re: Sample Volume is lower in ...
Last post by Saga Musix - July 04, 2025, 11:01:39
Yeah I was just going to suggest that you may have toggled that setting.

Quote from: leonard on July 04, 2025, 10:56:08(Still no idea why Vol is listed as "40" in the image above though!)
The thing you pointed out in the status bar is the channel volume, which is expressed in hexadecimal (64 decimal = 40 hexadecimal), because it represents the parameter of the Mxx command, and parameters of the effect column are always expressed in hex.
#12
Help and Questions / Re: Sample Volume is lower in ...
Last post by leonard - July 04, 2025, 10:56:08
Oh, I think I've figured it out!
I seem to have disabled the "No loud sample preview" option in the setup general tab.
Enabling it again synced up the volume between all the different pages.  ^-^
Sorry for the trouble, but thank you for letting me bounce the problem here while going through it!
(Still no idea why Vol is listed as "40" in the image above though!)
#13
Help and Questions / Re: Sample Volume is lower in ...
Last post by leonard - July 04, 2025, 10:35:15
Hey, thank you for the welcome and advice!  :)
I checked and made sure there was a v64 command next to my note, but it still sounds lower than it did in the sample editor (and it sounds lower in the instruments tab as well).
I did notice a small line of text at the bottom that I think implies the channel volume may be only at 40, though. I wonder if this is the issue? But when I check the channel settings in both the general tab and the channel itself, it does say it's set to 64.


Perhaps I accidentally messed with some presets somewhere?
I'll attach the IT. file in case it could be of use. Really appreciate the help!

https://mega.nz/file/llFSjZJJ#grGNkz8SMo6qXOuCfbBtwNaYJAWnKuAnj6FWw89ayK8
#14
Help and Questions / Re: Sample Volume is lower in ...
Last post by Saga Musix - July 04, 2025, 10:11:53
Welcome to the forums!
When you preview a sample in the sample editor, it is always played with the maximum volume (as if there was a v64 command next to a note in the pattern). In the instrument and pattern editor, the sample is played at its default volume instead. So it sounds like you have specified a default volume for your sample which is lower than 64. If this wasn't intentional, you can change it to 64 and it will sound the same when previewed anywhere.
#15
Help and Questions / Sample Volume is lower in Patt...
Last post by leonard - July 04, 2025, 09:45:29
Hello guys! Just started using OpenMPT a few days ago and really loving it.

I noticed that when I play a sample in the pattern editor or instruments tab, the volume sounds a lot lower than when I just play it from the actual sample properties tab.
Is this intentional? (and if it is which volume is intended to be the "right" one?)
I tried googling and searching the forums for an answer but I couldn't seem to find one, it feels like a simple question so I hope it didn't just go over my head.  :)

For context, this happens even when I make a completely new IT. file and load a sample in without other modifications or effects.
#16
Development Corner / Re: EXPERIMENTAL native host s...
Last post by manx - July 03, 2025, 11:59:43
@siealex Your original problem was with Wine 10.0. Is this still a problem on FreeBSD with latest OpenMPT 1.32 or 1.33?
#17
Development Corner / Re: EXPERIMENTAL native host s...
Last post by manx - July 03, 2025, 11:38:56
@siealex The root cause for the crash/hang is a Wine 10.11 bug (see https://bugs.openmpt.org/view.php?id=1904 for details). There is no fix, except for waiting for 10.12. Wine 10.11 is blocked from Wine Integration now (1.32.02.02/1.33.00.08), which at least should prevent the complete crash for other users.

The FreeBSD build errors should be fixed. About the FreeBSD build warnings, if you are still seeing some, could you paste them here?
#18
Development Corner / Re: EXPERIMENTAL native host s...
Last post by manx - July 02, 2025, 10:28:57
@siealex Do you happen to know if the hang also affected Wine 9.0?

I have a suspicion that the Wine ELF->PE transition might be causing trouble for how Wine Integration currently works in OpenMPT. IFF that is the case, there will probably might be an easy short-term fix for Wine >= 9.0.0. But that is just a guess for now, I did not look at this with any serious effort yet. Just a heads up hat I have not forgotten this issue :).

The warnings during build with 1.31 are probably unrelated (I am guessing).

The build error is a missing feature in libc++ (LLVM) which is used on FreeBSD. We can work-around that. A fix for that should be in the next version.
#19
Development Corner / Re: EXPERIMENTAL native host s...
Last post by siealex - July 01, 2025, 18:02:42
FreeBSD 14.3 with KDE Plasma 6.4, OpenMPT 1.32.02.00, Wine 10.0_1,1 (ordinary, not staging).
Wine integration now fails to compile completely (and does not produce any DLLs), then OpenMPT starts up without integration.

       ┌───────────────────────────────────────────────OpenMPT Wine integration─────────────────────────────────────────────────┐
       │ In file included from common/Profiler.cpp:11:                                                                          │ 
       │ In file included from common/stdafx.h:134:                                                                             │ 
       │ In file included from common/../common/misc_util.h:27:                                                                 │ 
       │ common/../common/mptTime.h:289:23: error: no member named 'zoned_time' in namespace 'std::chrono'                      │ 
       │   289 |                 return std::chrono::zoned_time{std::chrono::current_zone(), local_tp}.get_sys_time();          │ 
       │       |                        ~~~~~~~~~~~~~^                                                                          │ 
       │ common/../common/mptTime.h:289:33: error: expected ';' after return statement                                          │ 
       │   289 |                 return std::chrono::zoned_time{std::chrono::current_zone(), local_tp}.get_sys_time();          │ 
       │       |                                               ^                                                                │ 
       │       |                                               ;                                                                │ 
       │ common/../common/mptTime.h:303:27: error: unknown type name 'local_tp'; did you mean 'locale_t'?                       │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                                         ^~~~~~~~                                                               │ 
       │       |                                         locale_t                                                               │ 
       │ /usr/include/xlocale/_ctype.h:43:26: note: 'locale_t' declared here                                                    │ 
       │    43 | typedef struct  _xlocale *locale_t;                                                                            │ 
       │       |                           ^                                                                                    │ 
       │ In file included from common/Profiler.cpp:11:                                                                          │ 
       │ In file included from common/stdafx.h:134:                                                                             │ 
       │ In file included from common/../common/misc_util.h:27:                                                                 │ 
       │ common/../common/mptTime.h:303:26: error: expected ';' after expression                                                │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                                        ^                                                                       │ 
       │       |                                        ;                                                                       │ 
       │ common/../common/mptTime.h:303:16: error: no member named 'zoned_time' in namespace 'std::chrono'                      │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                 ~~~~~~~~~~~~~^                                                                                 │ 
       │ common/../common/mptTime.h:303:50: error: no member named 'current_zone' in namespace 'std::chrono'                    │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                                                   ~~~~~~~~~~~~~^                                               │ 
       │ common/../common/mptTime.h:304:70: error: use of undeclared identifier 'local_tp'                                      │ 
       │   304 |                 std::chrono::local_days dp = std::chrono::floor<std::chrono::days>(local_tp.get_local_time()); │ 
       │       |                                                                                    ^                           │ 
       │ common/../common/mptTime.h:306:29: error: use of undeclared identifier 'local_tp'                                      │ 
       │   306 |                 std::chrono::hh_mm_ss hms{local_tp.get_local_time() - dp};                                     │ 
       │       |                                           ^                                                                    │ 
       │ 8 errors generated.                                                                                                    │ 
       │ gmake: *** [build/wine/native_support.mk:237: common/Profiler.o] Error 1                                               │ 
       │ gmake: *** Waiting for unfinished jobs....                                                                             │ 
       │ In file included from common/ComponentManager.cpp:11:                                                                  │ 
       │ In file included from common/stdafx.h:134:                                                                             │ 
       │ In file included from common/../common/misc_util.h:27:                                                                 │ 
       │ common/../common/mptTime.h:289:23: error: no member named 'zoned_time' in namespace 'std::chrono'                      │ 
       │   289 |                 return std::chrono::zoned_time{std::chrono::current_zone(), local_tp}.get_sys_time();          │ 
       │       |                        ~~~~~~~~~~~~~^                                                                          │ 
       │ common/../common/mptTime.h:289:33: error: expected ';' after return statement                                          │ 
       │   289 |                 return std::chrono::zoned_time{std::chrono::current_zone(), local_tp}.get_sys_time();          │ 
       │       |                                               ^                                                                │ 
       │       |                                               ;                                                                │ 
       │ common/../common/mptTime.h:303:27: error: unknown type name 'local_tp'; did you mean 'locale_t'?                       │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                                         ^~~~~~~~                                                               │ 
       │       |                                         locale_t                                                               │ 
       │ /usr/include/xlocale/_ctype.h:43:26: note: 'locale_t' declared here                                                    │ 
       │    43 | typedef struct  _xlocale *locale_t;                                                                            │ 
       │       |                           ^                                                                                    │ 
       │ In file included from common/ComponentManager.cpp:11:                                                                  │ 
       │ In file included from common/stdafx.h:134:                                                                             │ 
       │ In file included from common/../common/misc_util.h:27:                                                                 │ 
       │ common/../common/mptTime.h:303:26: error: expected ';' after expression                                                │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                                        ^                                                                       │ 
       │       |                                        ;                                                                       │ 
       │ common/../common/mptTime.h:303:16: error: no member named 'zoned_time' in namespace 'std::chrono'                      │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                 ~~~~~~~~~~~~~^                                                                                 │ 
       │ common/../common/mptTime.h:303:50: error: no member named 'current_zone' in namespace 'std::chrono'                    │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                                                   ~~~~~~~~~~~~~^                                               │ 
       │ common/../common/mptTime.h:304:70: error: use of undeclared identifier 'local_tp'                                      │   
       │   304 |                 std::chrono::local_days dp = std::chrono::floor<std::chrono::days>(local_tp.get_local_time()); │ 
       │       |                                                                                    ^                           │ 
       │ common/../common/mptTime.h:306:29: error: use of undeclared identifier 'local_tp'                                      │ 
       │   306 |                 std::chrono::hh_mm_ss hms{local_tp.get_local_time() - dp};                                     │ 
       │       |                                           ^                                                                    │ 
       │ 8 errors generated.                                                                                                    │ 
       │ gmake: *** [build/wine/native_support.mk:237: common/ComponentManager.o] Error 1                                       │ 
       │ In file included from common/Logging.cpp:11:                                                                           │ 
       │ In file included from common/stdafx.h:134:                                                                             │ 
       │ In file included from common/../common/misc_util.h:27:                                                                 │ 
       │ common/../common/mptTime.h:289:23: error: no member named 'zoned_time' in namespace 'std::chrono'                      │ 
       │   289 |                 return std::chrono::zoned_time{std::chrono::current_zone(), local_tp}.get_sys_time();          │ 
       │       |                        ~~~~~~~~~~~~~^                                                                          │ 
       │ common/../common/mptTime.h:289:33: error: expected ';' after return statement                                          │ 
       │   289 |                 return std::chrono::zoned_time{std::chrono::current_zone(), local_tp}.get_sys_time();          │ 
       │       |                                               ^                                                                │ 
       │       |                                               ;                                                                │ 
       │ common/../common/mptTime.h:303:27: error: unknown type name 'local_tp'; did you mean 'locale_t'?                       │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                                         ^~~~~~~~                                                               │ 
       │       |                                         locale_t                                                               │ 
       │ /usr/include/xlocale/_ctype.h:43:26: note: 'locale_t' declared here                                                    │ 
       │    43 | typedef struct  _xlocale *locale_t;                                                                            │ 
       │       |                           ^                                                                                    │ 
       │ In file included from common/Logging.cpp:11:                                                                           │ 
       │ In file included from common/stdafx.h:134:                                                                             │ 
       │ In file included from common/../common/misc_util.h:27:                                                                 │ 
       │ common/../common/mptTime.h:303:26: error: expected ';' after expression                                                │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                                        ^                                                                       │ 
       │       |                                        ;                                                                       │ 
       │ common/../common/mptTime.h:303:16: error: no member named 'zoned_time' in namespace 'std::chrono'                      │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                 ~~~~~~~~~~~~~^                                                                                 │ 
       │ common/../common/mptTime.h:303:50: error: no member named 'current_zone' in namespace 'std::chrono'                    │ 
       │   303 |                 std::chrono::zoned_time local_tp{ std::chrono::current_zone(), tp };                           │ 
       │       |                                                   ~~~~~~~~~~~~~^                                               │ 
       │ common/../common/mptTime.h:304:70: error: use of undeclared identifier 'local_tp'                                      │ 
       │   304 |                 std::chrono::local_days dp = std::chrono::floor<std::chrono::days>(local_tp.get_local_time()); │ 
       │       |                                                                                    ^                           │ 
       │ common/../common/mptTime.h:306:29: error: use of undeclared identifier 'local_tp'                                      │ 
       │   306 |                 std::chrono::hh_mm_ss hms{local_tp.get_local_time() - dp};                                     │ 
       │       |                                           ^                                                                    │ 
       │ 8 errors generated.                                                                                                    │ 
       │ gmake: *** [build/wine/native_support.mk:237: common/Logging.o] Error 1                                                │ 
       │                                                                                                                        │ 
       ├────────────────────────────────────────────────────────────────────────────────────────────────────────────────100%────┤ 
       │                                                       < EXIT >                                                         │ 
       └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

#20
Development Corner / Re: OpenMpt accessibility disc...
Last post by GoemonIshikawa - July 01, 2025, 17:14:56
I'm trying to close the issue, but I get this message.
"APPLICATION ERROR #24
Resolution "fixed" is not allowed for status "new"."