-
Notifications
You must be signed in to change notification settings - Fork 20
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
Problems with linux mint 19 snap package #19
Comments
Audio problem, can be related to pulse pulseaudio configuration or snapcraft library packager. I think best we can try is to build game from sources on your system. Let me know if it makes any difference or if you need help with it. Regarding rec file replaying, I have no clue, just looked into temp.cpp, beginning of main() function, I cannot see how it could run game instead of replay. |
OK, i built from source and the recording playback works now, but I still have the sound issues. I don't understand much about linux sound but I ran Here is a diff of the relevant sections from each: This difference seemed noteworthy: (terminal) Also not sure if this is relevant but the terminal run seems to have 1/5th the buffer latency, and no "Resample method", whatever that means:
Compared to browser:
|
I figured I'd also upload a sample so you can hear what I hear: Strangely I think I notice slightly more stuttering/crackling when playing back the wav compared to what I hear when recording it, but the "warbling" is mostly the same. edit: Also, while it could just be something wonky about my pulse config, this is the first application I've experienced any audio issues with on this system. |
Thanks for update on the issue!
Just change 20/1000 to 50/1000 and recompile. If it solves the problem I'll add env var for tweaking it without need to rebuild :) |
It didn't help. I tried 50ms, then 200, then even removing the divisor entirely for a full 1s buffer, and it sounds clean for the first second, then just goes back to warbling. |
I created another gist, this time comparing audio going through my NVIDA card HDMI cable, instead of onboard sound line-out that I normally use. This time I included the full output of Here are the two devices snipped from
Thanks for any help you can provide. Just wanted to say that despite my audio troubles, I'm truly blown away by the quality of "graphics" you've accomplished with this game! |
No! What's wrong with onboard chip? EDIT: function has extra rounding on single sample size (num of channels * sizeof(amplitude_value)) but for 20ms this rounding would do nothing, so that is not our case unfortunately. |
I built the sample Here's some of my observations:
Here's the output from running pa-beep for a few seconds, and scrolling the volume up and down a bit at the same time. |
Not good. I wish we could find some minimal pulseaudio example that plays well on your system. So last blind shot is |
pacat works fine. I recorded audio from asciipatrol in browser with audacity, 44100Hz, 16-bit PCM, then exported as RAW uncompressed 16-bit signed PCM, and played the file from terminal I also tested the volume changing trick, which did not add any errors during But for some reason, if I changed the volume during recording in Audacity, afterwards, the playback has huge stutters(totally different from warbling before) during every little blip from the system volume change sound. |
Ok, I'll try to find the difference, at least it should play fine whitout sliding the volume at the same time. Thanks! |
I just installed the snap package and the music sounds very distorted, warbling compared to the html5 version which worked fine for me.
Also attempting to playback recorded files just starts the game normally and doesn't show me the recording:
.\ascii-patrol 2 filename.rec
The text was updated successfully, but these errors were encountered: