I hereby claim:
- I am Kodehawa on github.
- I am kodehawa (https://keybase.io/kodehawa) on keybase.
- I have a public key whose fingerprint is 5B6C C6C0 3B2E 0DBE EECB 82A6 0F2E 11B8 59EE D123
To claim this, I am signing this object:
This is the lowest I could get audio latency to work on my system (Ryzen 5 5700X, 32GB 3600MHz RAM, RX 6700). | |
Scavenged as much of the man pages as possible to get a configuration close to what https://blog.thepoon.fr/osuLinuxAudioLatency/ gave. | |
This has given me no crackling nor lag, but it'll depend on your computer. | |
Use https://github.com/NelloKudo/osu-winello, export STAGING_AUDIO_DURATION=24000 and STAGING_AUDIO_PERIOD=12000 to start. | |
Try lower, I've been able to do as low as STAGING_AUDIO_DURATION=3500 and STAGING_AUDIO_PERIOD=7000. | |
To adjust both STAGING_AUDIO_DURATION and STAGING_AUDIO_DURATION, make sure the PERIOD is a multiply of DURATION | |
(3500 * 2 = 7000 duration, 4000 * 2 = 8000). This gives the highest chance of it to work. |
#!/bin/fish | |
set -l bold (tput bold) | |
set -l normal (tput sgr0) | |
set -g count 0 | |
set -g index 1 | |
# To get the current/used memory usage I ended up implementing dictionaries in fish because I was bored and couldn't come up with a better solution at the time. | |
# Hint: a friend came up with a better and shorter solution in less time. | |
# But this was an interesting exercise on implementing something that doesn't exist on an interpreted language, I guess. | |
function increment_key |
#!/bin/dash | |
bold=$(tput bold) | |
normal=$(tput sgr0) | |
#thanks pfetch guy | |
while IFS=':k ' read -r key val _; do | |
case $key in | |
MemTotal) | |
mem_used=$((mem_used + val)) | |
mem_full=$val |
I hereby claim:
To claim this, I am signing this object: