Audio underflow when OLED active

Does this need to be done once, or are the files recreated every time you connect?

I think they are made when its indexed by spotlight and trash when files deleted. you can tell if theirs undeleted files if you empty the bin before inserting the micro sd and when you put the card in the icon changes to full (lazy way to check lol)

To see the actual contents including invisible files you can just navigate to the SD card using cd then drag the mounted drive icon to the Terminal window to auto fill the path, then do ls -al.
Finder shortcut should also be command + shift + period.

.Spotlight and .Trashes are a couple, you’ll also get a .DS_Store and invisible resource versions of all the folders and files that are written when you copy to a volume that is formatted MBR (FAT32, NTFS, ExFAT, etc…)

@Danake Thanks for posting this topic. Can you share your config via Pastebin please? I’ve been trying to trace a skip/tick/pop in audio flow and I wonder if disabling OLED on the hilt(s) I’m currently working on will solve this.

@NoSloppy Doing the hidden file purge doesn’t work on the newest MacOS Ventura 13.3.1. LMK when you’ve time and we can try to see what the current solution is using my system. Hidden files may no longer be an issue.

Doesn’t work how? UNIX commands in a shell don’t care what GUI is running …

@NoSloppy Hopefully this all isn’t tl;dr and is useful.

I don’t disagree with you so here’s what I’ve been seeing relating to the OP’s topic the past month of owning an OLED saber that did not make the popping before. Here’s the config without the //'s on OLED defines.

Remember, the last time I ran it I sent you what came back. All I am seeing when checking for hidden files is Operation not permitted or No such file or directory. Maybe Ventura OS13 stopped causing it?

I hate to assume things but either they aren’t an issue anymore or it’s something else (as to what I am seeing and mentioned to you and @NitTheGrit . Also note that disabling OLED’s in my case did not stop the skip/tick/pop.

Finally it’s NOT the SD cards in this case. I shared the SDTEST results w you and @profezzorn for the KIOXIA’s. Swapping out the SD’s changed nothing. I’ll play around with changing out other defines as it may be relating to file size and the demand on the board and sd card.

ie: Using this and looking I don’t see anything hidden anymore.

Last login: Wed May 10 17:45:39 on console
macbookpro@s-MacBook-Pro ~ % cd /Volumes/PROFFIE 
macbookpro@s-MacBook-Pro SABERTRIO % ls -al
total 4672
drwxrwxrwx@ 1 macbookpro  staff  32768 May 12 23:34 .
drwxr-xr-x  5 root        wheel    160 May 12 23:32 ..
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:32 .Spotlight-V100
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:32 ._BLUE
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:32 ._Battle1
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:32 ._Battle2
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:32 ._Blend_SoC_CF
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:32 ._Blind_Cowboy
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:32 ._FallenBlue
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:32 ._FallenCyan
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:32 ._FallenGreen
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:32 ._FallenIndigo
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:33 ._FallenMagenta
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:33 ._FallenOrange
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:33 ._FallenPurple
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:33 ._FallenRed
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:33 ._FallenYellow
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:33 ._GREEN
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:33 ._LukeJedi
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:33 ._Outcast_Knight
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:33 ._PURPLE
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:33 ._SoC
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:34 ._The_Crazy_Hermit
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:34 ._YELLOW
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:32 ._common
-rwxrwxrwx  1 macbookpro  staff   4096 May 12 23:32 ._config
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:34 .fseventsd
drwxrwxrwx@ 1 macbookpro  staff  32768 May 12 23:32 BLUE
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 30 16:09 Battle1
drwxrwxrwx@ 1 macbookpro  staff  32768 May 12 23:32 Battle2
drwxrwxrwx@ 1 macbookpro  staff  32768 May 12 23:32 Blend_SoC_CF
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 23 23:41 Blind_Cowboy
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:32 Code_Fulcrum
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:32 Dark_V2
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:32 Dark_V3_Beskar
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:32 ESB_Graflex
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 30 20:33 FallenBlue
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 30 20:33 FallenCyan
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 30 20:33 FallenGreen
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 30 20:33 FallenIndigo
drwxrwxrwx  1 macbookpro  staff  32768 Apr 11 23:18 FallenJT
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 30 20:33 FallenMagenta
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 30 20:33 FallenOrange
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 30 20:33 FallenPurple
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 30 20:33 FallenRed
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 30 20:33 FallenYellow
drwxrwxrwx@ 1 macbookpro  staff  32768 May 12 23:33 GREEN
drwxrwxrwx@ 1 macbookpro  staff  32768 May 12 23:33 LukeJedi
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:33 OB4_Cantina
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:33 OB4_Death_Star
drwxrwxrwx  1 macbookpro  staff  32768 Apr 11 23:19 OB4_Rebels
drwxrwxrwx@ 1 macbookpro  staff  32768 May 12 23:33 Outcast_Knight
drwxrwxrwx@ 1 macbookpro  staff  32768 May 12 23:33 PURPLE
drwxrwxrwx  1 macbookpro  staff  32768 Apr 12 17:41 Rey
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:33 Royalty
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:33 Scavengers
drwxrwxrwx@ 1 macbookpro  staff  32768 May 12 23:33 SoC
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:34 TFU2
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:33 TFU_Dark
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:34 TFU_Light
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:34 TFU_ToS
drwxrwxrwx  1 macbookpro  staff  32768 Apr 12 17:42 TheBoldOne
drwxrwxrwx  1 macbookpro  staff  32768 Apr 11 23:21 The_Blinded_One
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:34 The_Cathar_Guardian
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 12 17:42 The_Crazy_Hermit
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:34 The_Exile
drwxrwxrwx  1 macbookpro  staff  32768 Apr 11 23:22 The_Last_Handmaiden
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:34 The_Repulsor_Fist
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:34 The_Sentinel_Shan
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:34 WHITE
drwxrwxrwx@ 1 macbookpro  staff  32768 May 12 23:34 YELLOW
drwxrwxrwx@ 1 macbookpro  staff  32768 Apr 11 23:00 common
drwxrwxrwx@ 1 macbookpro  staff  32768 May 12 23:32 config
drwxrwxrwx  1 macbookpro  staff  32768 May 12 23:34 tracks
macbookpro@s-MacBook-Pro PROFFIE % 

Here’s the result of the clean.

find: ./.Spotlight-V100: Operation not permitted
find: -delete: unlink(./Battle1/._.DS_Store): No such file or directory
find: -delete: unlink(./Battle2/._.DS_Store): No such file or directory
find: -delete: unlink(./Blend_SoC_CF/._.DS_Store): No such file or directory
find: -delete: unlink(./Blend_SoC_CF/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./Blend_SoC_CF/out/._.DS_Store): No such file or directory
find: -delete: unlink(./Blend_SoC_CF/font/._.DS_Store): No such file or directory
find: -delete: unlink(./Blind_Cowboy/._.DS_Store): No such file or directory
find: -delete: unlink(./Blind_Cowboy/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./BLUE/._.DS_Store): No such file or directory
find: -delete: unlink(./BLUE/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./Code_Fulcrum/._.DS_Store): No such file or directory
find: -delete: unlink(./Code_Fulcrum/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./config/._.DS_Store): No such file or directory
find: -delete: unlink(./config/._.cvsignore): No such file or directory
find: -delete: unlink(./Dark_V2/._.DS_Store): No such file or directory
find: -delete: unlink(./Dark_V2/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./Dark_V2/force/._.DS_Store): No such file or directory
find: -delete: unlink(./Dark_V3_Beskar/._.DS_Store): No such file or directory
find: -delete: unlink(./Dark_V3_Beskar/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./ESB_Graflex/._.DS_Store): No such file or directory
find: -delete: unlink(./ESB_Graflex/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenBlue/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenBlue/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenCyan/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenCyan/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenGreen/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenGreen/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenIndigo/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenIndigo/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenJT/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenJT/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenJT/font/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenMagenta/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenMagenta/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenOrange/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenOrange/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenPurple/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenPurple/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenRed/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenRed/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenYellow/._.DS_Store): No such file or directory
find: -delete: unlink(./FallenYellow/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./GREEN/._.DS_Store): No such file or directory
find: -delete: unlink(./GREEN/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./LukeJedi/._.DS_Store): No such file or directory
find: -delete: unlink(./LukeJedi/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./LukeJedi/font/._.DS_Store): No such file or directory
find: -delete: unlink(./OB4_Cantina/._.DS_Store): No such file or directory
find: -delete: unlink(./OB4_Cantina/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./OB4_Cantina/font/._.DS_Store): No such file or directory
find: -delete: unlink(./OB4_Death_Star/._.DS_Store): No such file or directory
find: -delete: unlink(./OB4_Death_Star/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./OB4_Death_Star/font/._.DS_Store): No such file or directory
find: -delete: unlink(./OB4_Rebels/._.DS_Store): No such file or directory
find: -delete: unlink(./OB4_Rebels/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./Outcast_Knight/._.DS_Store): No such file or directory
find: -delete: unlink(./Outcast_Knight/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./PURPLE/._.DS_Store): No such file or directory
find: -delete: unlink(./PURPLE/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./Rey/._.DS_Store): No such file or directory
find: -delete: unlink(./Rey/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./Royalty/._.DS_Store): No such file or directory
find: -delete: unlink(./Royalty/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./Royalty/font/._.DS_Store): No such file or directory
find: -delete: unlink(./Scavengers/._.DS_Store): No such file or directory
find: -delete: unlink(./Scavengers/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./SoC/._.DS_Store): No such file or directory
find: -delete: unlink(./SoC/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./TFU_Dark/._.DS_Store): No such file or directory
find: -delete: unlink(./TFU_Dark/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./TFU_Light/._.DS_Store): No such file or directory
find: -delete: unlink(./TFU_Light/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./TFU_ToS/._.DS_Store): No such file or directory
find: -delete: unlink(./TFU2/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Blinded_One/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Blinded_One/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Cathar_Guardian/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Cathar_Guardian/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Crazy_Hermit/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Crazy_Hermit/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Exile/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Exile/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Last_Handmaiden/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Last_Handmaiden/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Repulsor_Fist/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Repulsor_Fist/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Sentinel_Shan/._.DS_Store): No such file or directory
find: -delete: unlink(./The_Sentinel_Shan/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./TheBoldOne/._.DS_Store): No such file or directory
find: -delete: unlink(./TheBoldOne/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./TheBoldOne/font/._.DS_Store): No such file or directory
find: -delete: unlink(./tracks/._.DS_Store): No such file or directory
find: -delete: unlink(./WHITE/._.DS_Store): No such file or directory
find: -delete: unlink(./WHITE/boot/._.DS_Store): No such file or directory
find: -delete: unlink(./WHITE/out/._.DS_Store): No such file or directory
find: -delete: unlink(./YELLOW/._.DS_Store): No such file or directory
find: -delete: unlink(./YELLOW/boot/._.DS_Store): No such file or directory
macbookpro@s-MacBook-Pro PROFFIE % 

Config: https://pastebin.com/MZLezBeJ

To clear files I use this in terminal

sudo find . -type f -name '.*' -delete

But I don’t know if thats what fixed it. All I know is originally disabling the oled made things not skip. And at some point testing the fixes it went away and I can’t reproduce it now

That should do it, if you want to recheck the steps they’re listed in this forum as well as on my Pastebin at SD Cleanup for Apple/Macs using ProffieOS *Run when Ghost Files Cause Lag - Pastebin.com

I’ve had that happen but after the saber sits in low-power mode overnight it came back. If you’ve solved it, cool, if not and you want to try tracing it you can try this edit of your config out. No promises, no guarantees but I’ve found that at times reducing the file size to less than 86% the tick goes away. I left the 2 OLED defines active for this test.

Tried the new one and works fine. Same with the old one.

I think I found the issue though. I save a backup of my SD card on icloud and just now happened to be going through fonts playing the wav files. iCloud will delete local files to save space but the sync was messed up. The files said they were synced locally and even had the right file size but random files were corrupt. For example hum01.wav would play fine in iTunes, hum02.wav would open in iTunes with a playtime of 0 seconds. (This is just a random example)

At some point when testing I know I created a new SD card with freshly downloaded files which would explain why it started working. And then stopped working when I copied my backup back onto the SD.

Again the locally synced files look like nothing is wrong until opened

I fixed the sync issue by unchecking iCloud drive in settings, signing out of iCloud, sign back in and re enable the drive sync.

I think this fixed my issue because I can’t seem to break it now to test lol

It wouldn’t be the first time an iCloud backup messed font files up. I’ve had it happen myself. Switching to a backup flash/thumb drive solves that really quick. Get a 64gb and it’s big enough to store both the ProffieOS w a ton of config files as well as however many font packs you wanna stuff in it. A bonus is w Macs I can use the drive on any system if I don’t have my laptop w me.