Recent Posts

Pages: [1] 2 3 ... 10
1
Development Corner / Re: .IT old style volume envelope
« Last post by TheRealByteraver on Yesterday at 12:20:55 »
Thanks for clearing that up! Much appreciated, as always.
2
Development Corner / Re: .IT old style volume envelope
« Last post by Saga Musix on Yesterday at 11:49:32 »
You can completely ignore the level data, yes. I assume that it exists purely as a speed-up (pre-computing the linear interpolation equations rather than having to re-calculate them on every tick) for the player, and there is no good reason that it exists in the file itself, apart from making it easier to directly dump IT's internal memory structures into a file.
3
Development Corner / Re: Loudness war!
« Last post by TheRealByteraver on Yesterday at 11:45:38 »
All right, thanks for clearing that up :)
4
Help and Questions / Re: Example OpenMPT module?
« Last post by Saga Musix on Yesterday at 11:45:38 »
Yes, just go to Help -> Example Modules and you will find more than a dozen songs that ship with the application. Other than that, The Mod Archive is a good place to look for more music.
5
Help and Questions / Re: Example OpenMPT module?
« Last post by LPChip on Yesterday at 11:34:06 »
When you download the full package, there is a folder full of example modules. It literally comes with the package.
6
Development Corner / Re: Loudness war!
« Last post by manx on Yesterday at 10:59:51 »
Quote
This gets converted to whatever is configured in the soundcard settings...
Do you mean OpenMPT's soundcard settings or Windows' soundcard settings? I guess it is the latter?
OpenMPT's soundcard settings determine what format OpenMPT uses to talk to the underlying API. Windows (since Vista) system level APIs always use 32bit float internally, and talk to the hardware with the Windows-configured sample format.
7
Development Corner / Re: Loudness war!
« Last post by TheRealByteraver on Yesterday at 10:51:17 »
Thanks for the answer manx :)
I had no idea Windows could be fed 32 bit audio data. But lo and behold, my mixer is now feeding it 32 bits per sample and it plays just fine. My imagination confirms the sound quality has definitely gone up ;) It should make a difference when using a lot of 16 bit samples I guess.
Quote
This gets converted to whatever is configured in the soundcard settings...
Do you mean OpenMPT's soundcard settings or Windows' soundcard settings? I guess it is the latter?
8
Development Corner / Re: Loudness war!
« Last post by manx on Yesterday at 09:24:37 »
Interesting, I had to read up on that. Does that mean OpenMPT feeds 32 bit float data per channel to "Windows" (the soundcard driver / wave mapper / ...)?
As already stated, OpenMPT uses 4.28 fixed point internally. This gets converted to whatever is configured in the soundcard settings as output format when playing live, or selected as output file format when rendering to a file.

I made my mixer 32 bit fixed point, it scales down to 16 bit after the mixing, before feeding it to the wave mapper (I should use XAudio2 instead, will do so later).
Depending on the headroom/precision trade-off in your 32bit fixed point representation, you are loosing precision by converting it to 16bit. all Windows audio APIs are capable of handling higher precision audio, so you could also send 24bit/32bit integer PCM or just 32bit float.

Does it still make sense to make a fixed point mixer in this day and age? For performance reasons I mean?
No, OpenMPT uses fixed point purely due to historical reasons.
9
General Chatter / Re: uTracker, a noob's toy tracker project
« Last post by TheRealByteraver on Yesterday at 09:21:45 »
Hi! Just wanted to say I like the aesthetic of your tracker so far :). It seems you got pretty far for somebody that is only two months into C++, that is quite impressive, since Windows programming is not necessarily easy, especially in C(++). For anything graphical I personally use Chili's directX framework (www.planetchili.net). Chili built a community for aspiring c++ game programmers, with youtube video's, a forum, discord channel etc. The video's are really good and fun to watch, I wholeheartedly recommend them.

While rebuilding your own ModPlug Tracker equivalent is indeed daunting and not really useful, you should be able to create a fun little tracker for .mod files only for example. As .mod files do not implement instruments, this should be an achievable goal even for you. Simplicity has its own appeal, and a small tracker that does that one task (.mod tracking) very well could be a nifty tool indeed. And there is always the satisfaction of using your own tools :D

Do not be intimidated by the effects, start with implementing one, and before you know it you'll get half of them working. The documentation of ModPlug Tracker is a great reference, and if you're really stuck there is always the forum(s).
10
Development Corner / Re: Loudness war!
« Last post by TheRealByteraver on Yesterday at 08:59:46 »
Interesting, I had to read up on that. Does that mean OpenMPT feeds 32 bit float data per channel to "Windows" (the soundcard driver / wave mapper / ...)?
I made my mixer 32 bit fixed point, it scales down to 16 bit after the mixing, before feeding it to the wave mapper (I should use XAudio2 instead, will do so later). Does it still make sense to make a fixed point mixer in this day and age? For performance reasons I mean? Because it seems somehow easier to make it floating point.
Pages: [1] 2 3 ... 10