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

Samples Won't Load #306

Open
PixiIized opened this issue Jul 9, 2024 · 16 comments
Open

Samples Won't Load #306

PixiIized opened this issue Jul 9, 2024 · 16 comments

Comments

@PixiIized
Copy link

When I try to load my samples into the wavetable, no matter what I do it says "Could not open Wave!". Please advise.

@LTVA1
Copy link

LTVA1 commented Jul 9, 2024

It only supports .wav files

@PixiIized
Copy link
Author

I know that, that's what I'm loading.

@LTVA1
Copy link

LTVA1 commented Jul 9, 2024

Hm, then it's a bug. You use Windows or Linux? Also I would like to see the files you failed to load

@PixiIized
Copy link
Author

Currently I'm on Windows, and github apparently doesn't support .WAV files, so I can't attach them

@LTVA1
Copy link

LTVA1 commented Jul 9, 2024

Hm, I am on Windows too and I never had this issue. Maybe you can compile the debug version and see what console says?

@PixiIized
Copy link
Author

Unfortunately my only experience with consoles is game development and VS Code, so I don’t know how to do that.

@LTVA1
Copy link

LTVA1 commented Jul 9, 2024

Okay, then I will check in a few days on my side. I remember all the wav files I tried working properly. Even the stupidly large ones.

@PixiIized
Copy link
Author

Is there any anywhere that tells me how to compile the debug version? I need to experiment with sampling some more. In addition, all .wav files I tried were snare drums, if that makes any sense

@kometbomb
Copy link
Owner

The default build config is debug. Just go make. make release is what builds the symbol-stripped release version.

@kometbomb
Copy link
Owner

Also, the .wav import only supports PCM wave files. If there's any other codec (compression) being used then it will not work.

@PixiIized
Copy link
Author

I see. The codec being used might be the problem. Is there any way for me to determine what compression type is being used in a given .wav file? Cause I got all of the .wav samples from Sample Focus

@PixiIized
Copy link
Author

PixiIized commented Jul 9, 2024

I have solved the issue, although the solution was not very clear. I don't know if this is a bug on my side, or if you all assumed I was already doing this, but Klystrack will only accept my samples if they have a bit depth of 16 bits
UPDATE: Never mind. It's not the bit depth. I have found a site that gives me important info about my files, I will analyze from there

@PixiIized
Copy link
Author

All the files have essentially the same properties... I have no idea what to do, I have found a grand total of two samples that Klystrack will accept, and one of them was generated in Klystrack, then exported and reimported as an experiment

@PixiIized
Copy link
Author

I think I've finally figured it out... if the .WAV audio file has "comment" metadata, Klystracker won't accept. This is very strange, and you may want to look into it.

@LTVA1
Copy link

LTVA1 commented Jul 10, 2024

Klystrack does not fully support RIFF format chunks iirc. That's why it may fail with comments metadata

@PixiIized
Copy link
Author

Exactly what metadata is part of the RIFF format chunks? Cause the some of the working .WAV have "album" and "artist" metadata.

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

No branches or pull requests

3 participants