Create

Create

86M Downloads

Some Steam Whistle Notes Are Out of Tune

FC-Creations opened this issue ยท 4 comments

commented

Describe the Bug

All high octave notes from C up are out of key

Reproduction Steps

  1. Put down note block, set it to high C or above
  2. Set up steam whistle and set it to high C or above
  3. Run redstone to them both at the same time
  4. Cringe

Expected Result

Steam whistle notes to be in key with note blocks

Screenshots and Videos

https://youtu.be/jn95_zjGEV0

Crash Report or Log

No response

Operating System

Windows 11

Mod Version

0.5.0g

Minecraft Version

1.18.2

Forge Version

40.2.0

Other Mods

No response

Additional Context

No response

commented

Rewatching my video, I think there may be more to it. I'd have to dig further into the inner workings, but does it actually switch samples half way through, starting at C? Because all the notes prior to C sound fine, I can't find anywhere in the code that would indicate that there's a switch there. But the pitch sounds like a perfect microtone higher in pitch for every note above C.

I originally saw the .75 shift in the CHIFF note only if the size is set to small, and I thought that might have had something to do with it, but after looking through I realized I was mistaken, so I removed all my comments regarding adjusting the pitch.

I'll stop meddling in the code, and leave you guys to it.

commented

I tested this and I could not reproduce. Is your C note block set to pitch 6 (C)? You can check by looking at F3. The sound in your video sounded more like 7 (C#). The Minecraft wiki has a page detailing which integer pitches correspond to which notes too.

commented

I will check again, but I heard the issue before putting down the noteblocks. I was using the noteblocks to confirm what my ears were telling me. Wonder if it's something to do with my mod load out.

commented

I heard the issue, because I accidentally tuned the pipes wrong. Sorry for wasting your time, I'm all sorts of embarrassed now!