Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted Samples #2

Open
OmegaFoxie opened this issue Aug 8, 2016 · 10 comments
Open

Corrupted Samples #2

OmegaFoxie opened this issue Aug 8, 2016 · 10 comments
Labels

Comments

@OmegaFoxie
Copy link

OmegaFoxie commented Aug 8, 2016

Long story short the Wave 63 Sample (used in the plantation theme, for example) seems to be corrupted or something and sounds earbreaking. Living Waterway also uses that sample.
I'm not sure if other samples are corrupted as well, but this one was the most obvious one.

@Yukitty
Copy link
Owner

Yukitty commented Aug 27, 2016

To be fair, that song sounded ear-breaking to begin with to me. I can't tell the difference. Do you mean that ever-so-slight buzzing it does? Hmm... I wonder if the sample is simply reading one byte too far or sommat.

@Yukitty
Copy link
Owner

Yukitty commented Aug 27, 2016

Fixed in v1.09
Thanks for going so far to point this out when I wasn't paying attention! 👍

@Yukitty Yukitty closed this as completed Aug 27, 2016
@Yukitty Yukitty reopened this Sep 6, 2016
@Yukitty Yukitty added the bug label Sep 6, 2016
@Yukitty
Copy link
Owner

Yukitty commented Sep 6, 2016

Something weird is going on here. I've fixed everything I could see and it still does this:
buzzing

The start of the image (on the left) is actually the start of the sample. So having a weird corruption in the middle like that is... unusual.

@OmegaFoxie
Copy link
Author

Sorry I wasn't keeping up with my notifications recently
That is REALLY weird.
Sadly I have no idea what could be going wrong there

@OmniKahedron
Copy link

OmniKahedron commented Jun 21, 2017

I know this issue is OLD, but I have found Wave-63 isn't the only melody sample to have this strange distorsion, Wave-70 (Access) has the same thing

With summer break on the horizon I'll most likely look through the source code (having already partially skimmed through it a few times today), and try to rewrite it
(Even though C / C++ is an absolute pain for me lmao)

If you like I will gladly keep you updated if I make any discoveries and such.

grafik

(EDIT on Access: There's also these spikes at the start of the melody notes, but only in the right audio channel. I'm getting more and more convinced that some of the math is off or something)
grafik

(EDIT EDIT: When only playing the waves, the irregular "spikes" are always EXACTLY zero, which again, further suggests something being wrong with the code, and not the samples themselves)

@Yukitty
Copy link
Owner

Yukitty commented Jun 21, 2017

Thanks for working on it. This was my first time looping and mixing samples at arbitrary speeds entirely in my own code, so...

@OmniKahedron
Copy link

I'll see what I (and possibly a few others) can do
But first I got a vacation coming up :3

@moonPtr
Copy link

moonPtr commented Nov 29, 2017

Same guy that opened this issue, different name

Melody Wave 63...
image

Turns out, that's part of the ACTUAL sample, BUT when orgmaker resamples it for higher pitches, that little spike is "lost", making the wave smoother
If you play it in orgmaker at pitches below octave 2, it's clearly there
Since your plugin resamples / interpolates differently / less than orgmaker, the little "spike" occurs (inconsistently) at higher pitches too.

As for this:
image

I'm looking into it right now, but aside from that there doesn't seem to be anything terribly wrong with your code.

@moonPtr
Copy link

moonPtr commented Nov 29, 2017

image
(top orgmaker, bottom in_org)

Turns out the´spikes in the right channel are caused by percussion instruments, and this happens with every percussion instrument.
image

also worth mentioning is the clear desync between recordings (see first pic), despite me aligning the starts sample perfect.

@Yukitty
Copy link
Owner

Yukitty commented Dec 2, 2017

Okay. So the small spikes in the instruments are just because the instruments themselves were bad and my code doesn't lose as much information resampling them as the original. (Much like how the org headers have the wrong instruments set entirely for some tracks...) Well that's a depressing relief.

I have no idea when the right ear track started dropping the first sample of percussion like that, but it shouldn't be difficult to fix. (did it happen when I started trying to fix the non-percussion samples somehow? Or have I just not been paying attention to the percussion as much since they were distracting me?)...

The timing, though, that's something I was kind of aware of but didn't fix because it would take effort to make it "sound right" again. @_@; My ears are throwing me off when I try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants