ModPlug Central

OpenMPT => Help and Questions => Topic started by: I-S3-O on April 16, 2014, 07:32:42

Title: High-Pitched Sound for all samples since 1.23.01.00
Post by: I-S3-O on April 16, 2014, 07:32:42
Hello, ModPlug Developers!

I have a problem with the player. Before the newest update, all of my songs worked fine. They were saved in the .it format, and played perfectly. However, now when I open up my projects to play them, I get nothing but a high-pitched beep...for everything. All my sample play just like that, even the bass sounds!

On top of that, I'm not sure if your Play Sample button in the Sample tab is working properly because when I pressed it again to turn off the sound, it kept playing, and the panic button didn't turn it off either.

Can you help me with this? I checked one post about the frequencies mix-up, which I tried, and all that did was remove the high-pitched sound, but not restore the rest of the samples. Now everything is silent. Also, I switched back to the .mptm format, since I read that the .it format is still experimental, or something like that.

UPDATE:
After playing some of my other songs, I've found that some of them do work, while others don't. I still don't see the correlation to the working and non-working ones, however.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: Saga Musix on April 16, 2014, 09:33:13
I can only make random guesses - What are your current sound device settings (driver type, latency, etc..)? try increasing the sound device's latency, or try picking a different sound driver. The sound drivers can be petty much the only reason causing this, not the mixer. Are you using any plugins in your songs?

QuoteAlso, I switched back to the .mptm format, since I read that the .it format is still experimental, or something like that.
Eh? If you read anything like that everywhere, please tell me where you found it so I can kill it with fire. The IT format has been around for 20 years, it can hardly be considered experimental. MPTM is just a hack on top of IT, internally the two formats are treated exactly identically.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: LPChip on April 16, 2014, 11:18:07
Try the following: Go to the OpenMPT Setup, Mixer tab, and set the bandwidth to a value of 97% or less.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: I-S3-O on April 16, 2014, 19:48:55
I've tried disabling all my plugins and lowering the bandwidth, but nothing works. Could I just give you the song, and you can tell me what's going on?
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: sso on April 16, 2014, 19:50:47
what is that bandwidth stuff?
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: Saga Musix on April 16, 2014, 20:05:29
Quote from: sso on April 16, 2014, 19:50:47
what is that bandwidth stuff?
It would be cool if OpenMPT had a manual to look these kind of things up... :(

Quote from: MusicalTech on April 16, 2014, 19:48:55
I've tried disabling all my plugins and lowering the bandwidth, but nothing works. Could I just give you the song, and you can tell me what's going on?

Keep the bandwidth at 97%, don't lower it. You can upload the tune but I heavily doubt that the tune itself is the culprit here. It most probably has something to do with the device settings. Telling us which was the previous version of OpenMPT you used and what your sound device settings are would already help.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: I-S3-O on April 16, 2014, 22:23:09
Oh, I'm sorry, I can't remember. It just automatically updated. Is there any way I can find out after an update has been installed?

Also, thank you for the bandwidth thing. I'll put that back immediately. I'll also check for what my drivers are and post them in an update.

UPDATE:
I'm not sure where you wanted me to check for driver information, mainly because I don't see a clear widget or choice box asking for it in the program, but if you're talking about my sound device, I'm just using my basic Realtek High Definition Speakers. In my system tray I looked at those speakers' properties, and played with its default format. I used the following:
16 bit, 41000 Hz: nothing
16 bit, 48000 Hz: nothing
24 bit, 41000 Hz: nothing
24 bit, 48000 Hz: nothing

Was I supposed to do something else? I'm sorry. I'm not sure of where to look for the driver information.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: Saga Musix on April 16, 2014, 22:32:59
QuoteIs there any way I can find out after an update has been installed?
No, but it would be good to know whether it was a version prior to 1.22.

For clarification, I mean the driver that is selected in OpenMPT, not any driver versions from your Windows control panel or whatever.

You may also want to try renaming your mptrack.ini to something else in order to see if a complete reset of the OpenMPT configuration helps.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: I-S3-O on April 16, 2014, 22:40:40
Well, I believe I was using the most recent version right before the update, but I'm not entirely sure. I've used the program within the last month, if that helps at all.

As for the renaming .ini, that didn't work, and are you referring to the SoundCard in OpenMPT, or some other tab in Settings because I still can't see anything asking for driver information in here, and I checked the manual. I don't see any immediate topics discussing drivers.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: Saga Musix on April 16, 2014, 23:41:09
Yes, the soundcard tab. There are various drivers available depending on your system, each denoted with a different icon (Wave Out with yellow speaker, ASIO, WASAPI, WDM-KS and DirectSound in that order). Try going through all the different kind of drivers.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: I-S3-O on April 17, 2014, 00:26:47
Oh, in that case, I have. Nothing changed between them.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: Saga Musix on April 17, 2014, 01:16:12
Maybe it's time to upload an example track then.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: I-S3-O on April 17, 2014, 02:08:29
Alright then.
Here it is.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: LPChip on April 17, 2014, 10:20:32
I noticed that the C-7-03 on channel 11: Blip Sin has a high pitch that doesn't fade out. It may be that this is what you hear. If not, can you still check that the bandwidth is set to 97%, and not higher? You find this setting in the Settings->Mixer tab on the top right.

Also, if its possible, can you record one pattern to wav and play it in a player outside of OpenMPT. If it sounds the same, upload it to the internet for us, and if not, tell us that it doesn't sound the same?
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: Saga Musix on April 17, 2014, 12:25:31
Quote from: LPChip on April 17, 2014, 10:20:32
If not, can you still check that the bandwidth is set to 97%, and not higher?
Even if it's higher, it won't cause a high beep or anything. It will just make the sound rougher at 100%. It isn't possible to enter higher values anymore, so the bugs associated with that are already gone.
And yes, a recording of what you actually here would be useful, since the song sounds identical in 1.22 and 1.23 here.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: LPChip on April 17, 2014, 12:54:57
Quote from: Saga Musix on April 17, 2014, 12:25:31
Quote from: LPChip on April 17, 2014, 10:20:32
If not, can you still check that the bandwidth is set to 97%, and not higher?
Even if it's higher, it won't cause a high beep or anything. It will just make the sound rougher at 100%.

Rougher yes. I found out with one of my old songs that was made on windows XP (remember the Modplug compo with just a triangle and a noise?) I had some plugins on it, and in combination with the 100% cut off, even in the newest version I got unwanted noises that just sounded terrible. Reducing to 97% and they were gone. While it would not be a high beep for me, it still can be for him, just by matter of preference or lack for a better description.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: I-S3-O on April 17, 2014, 15:54:22
Right now, I don't hear anything. Just  some fuzz pop equivalent to what you get when you first turn on an amp, and then silence. When I press Escape, and only when I press Escape (i.e. no other buttons work), I get the fuzz pop again.

The attachment is a snippit of what the song is supposed to sound like, and what it did sound like before the update.

To add to that, The Blip Sin, is supposed a high Sin wave with a loud attack, and sounds as such on the file. The pitch was not within "Dog ear" range, like the sound I heard before I switched to 48000 Hz within the settings. That turned it off, but now I don't hear anything. My bandwidth has already been set back 97%, and is not higher than that, and while the song was playing, it stayed out of the red: no distortion was heard in the making of this song.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: Saga Musix on April 17, 2014, 16:05:22
That sounds exactly like what I'm hering in 1.22/1.23 here, so I think there's nothing wrong with it...?

QuoteRight now, I don't hear anything. Just  some fuzz pop equivalent to what you get when you first turn on an amp, and then silence. When I press Escape, and only when I press Escape (i.e. no other buttons work), I get the fuzz pop again.
Are you using the 64-bit version of OpenMPT? You have some plugins in that song which will trigger a bug in the plugin bridge which can result in exactly this kind of sound (which is why I asked to try it without plugins).
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: I-S3-O on April 17, 2014, 16:45:05
I tried it without plugins, and I got the same thing, and I am using the 64-bit version (nice rippling effect on your about screen, by the way).
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: Saga Musix on April 17, 2014, 17:28:51
Can you please verify whether you get the same problems with the 32-bit version? Removing the plugins should definitely get rid of the silence problem on x64. Remove them completely from the song or bypass them, everything else is not sufficient.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: I-S3-O on April 17, 2014, 18:18:22
I don't know how to get rid of them. I've selected No Plugin on each of my channels, but as for my list of plugins in the main list for the song, I can't get rid of them from there.

I'll check on the 32-bit version, once I've installed it.

Also, this is happening with the buttons in the General Tab (see attachment)

UPDATE:
The 32-bit version works, even with the plugin, but everything is grainy. It does not sound like the original song.

Sorry about locking the topic. Trial-and-error thing.

I'm going to try reinstalling OpenMPT, to see if that does anything...nothing.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: Saga Musix on April 17, 2014, 19:38:09
You have to go to the plugin selection dialog while the FX1-FX3 is focussedĀ“and then select "no plugin". Re-installing OpenMPT won't change anything as long as you don't uninstall it and remove mptrack.ini (or rename it). I think now would be a good point to upload your mptrack.ini to have a look at.
Is the output of OpenMPT's wave renderer identical to what can be heard in that snippet you recorded?
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: I-S3-O on April 17, 2014, 19:51:48
Okay. Removing the plugin worked. The songs plays correctly once more!  ;D

But what if I want to use those plugins? Can I not use them anymore?
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: Saga Musix on April 17, 2014, 20:04:16
To use these plugins, you will either have to grab a test build (http://buildbot.openmpt.org/builds/auto/openmpt-win64/) which fixes the plugin bridge for those plugins, or you should just keep using the 32-bit version. Seeing that you are apparently making chiptunes, you really don't need to use the 64-bit version. As the download page says, you really only should be using it if you need the extra available RAM, or if you have lots of 64-bit plugins. The plugins you are using are 32-bit ones, so they have to be bridged, and bridging plugins will add a lot of latency. If this latency is too high, the sound will stutter. So in your case, there's really no advantage in using the 64-bit version.
Title: Re: High-Pitched Sound for all samples since 1.23.01.00
Post by: I-S3-O on April 19, 2014, 17:44:01
Okay, that's fine. I'll use the 32-bit version, but my only concern now is the sound.

As you can see between the two, the 32-bit version is much more coarse. I want the smooth sound I made from the 64-bit version. Is there any way I can fix that, at least?

UPDATE:
Nevermind. I accidentally replaced the sounds in the song.   ::)