There is no such thing.
AI BS checks the box! I will try when I get a chance and hopefully report back with good news. Thanks fellas!
Still get an error and setup the folders as suggested.
Error now says “Error is font directory” not “Font directory not found”
Checked spelling.
Also, the board turns on really delayed when I insert the battery, this build has no kill switch. Also responds VERY delayed when I hit the AUX button to scroll through fonts. You guys seen this before? It started happening after I reformatted the SD card.
reformatted as what filesystem?
Some props require a voice pack in the common folder. Do you have a common folder ?
&
Both seems to point to a slow SD-card. How did you reformat ? It is recommended to reformat an SD-card with the SD association formatter rather than with the Windows/Mac formatter:
Here are some of my notes on the subject:
ProffieOS requires SD card preformance to be 1200kbps read speed with 12 simulatenous audio streams.
Subpar or poor performing SD cards will cause the saber to lag or freeze.
If you experience lag or slow response you need to run ‘sdtest’ in Serial Monitor.
Even if SD is labeled as high performance you should run sdtest to be sure.
First, remove DISABLE_DIAGNOSTIC_COMMANDS define from your config.
Upload new config (you may temporatily need to remove some presets if exceeding FLASH memory)
With saber connected go to Arduino > Tools > Serial Monitor
Type ‘sdtest’
If you do not have 1200kbps read speed and 12 simulatenous audio streams you will want to replace your SD with a better performing card.
You can also improve SD performance via formatting and file structure, also be sure to ALWAYS ‘Eject’ the SD card
anytime it’s mounted to your computer to prevent file corruption. MTFBWY
For the file structure, if I remember correctly:
- no spaces in font folder names
- max 8 characters for font folder names
- max 16 fonts in the root of sd-card (if you have a common folder, put in root instead of one of the 16)
- if you want more than 16 fonts:
- 15 fonts in root and an extra folder with 16 more fonts
or - 14 fonts in root and 2 extra folders with 16 more fonts each
or - 13 fonts in root and 3 extra folders with 16 more fonts each
or - etc, etc
- 15 fonts in root and an extra folder with 16 more fonts
- freshly format your sd-card, copy first your 16 or 15 or 14 or … most important fonts, then copy your additional folder or font folders one by one in order of which one you want to have fastest access first and slowest access last.
- then you can also optimize each font folder with this tool:
https://www.soundfontnamingconverter.com/- select Proffieboard to Proffieboard
- select your font folder (or folder of font folders, then don’t forget to select Multiple fonts)
- optional (specially if you got some free floating around fonts from the internet), you can select Enable High-Pass Filter (this will cut some inaudible frequency stuff that are know to potentially cause problem with your saber speaker - it is too small to reproduce those frequencies but it will try anyway)
- click rename and download zip.
- if you have sound files that are not .wav 44100 rate & 16 bits (the only format that ProffieOS can read), like an .mp3 or .wav 48000 rate, you can use Convert Audio Only.
Sorry for my ignorance but I think you are asking if I did Fat32? If so, yes.
Yes I do have a Common Folder.
I am using a ScanDisk Ultra 16GB, which I read previously as being one of the high performing one.
Okay I will do what was suggested in your notes tonight when we return. I also am going to cut down on the number of fonts for now.
What is in your common folder ?
For the error in font directory, you can type “effects”, it will “List all found effect sounds in font search path.”
It should help identify why you get error in font directory. But it is not always easy to “decode”.
Do you have any “alt00”, “alt01”, … folders in any of your sound font folders ?
Unfortunately, that is just the label. The only way to be sure that your card is “as advertised” is to do the sdtest command.
When I run this, what result am I looking for? I just did it and I am not familiar with the results.
A bunch of .wav files and 2 folders: clrlst & mnum
What am I looking for with this as well?
Does not seem as though I do.
I know the theory, I have very little practice because these errors don’t seem to happen to me much.
Best way to get help is to post your results using the 3 back ticks method, like this:
```
Your results here, or your error here
```
These things are not always the easiest to decode so the best thing you can do is share what you see so one of us can guide you.
For the “sdtest”, it should tell you the speed. If you can’t decode the result, post it and we can tell you.
For the “effect”, every case is different depending on what you are missing or not missing.
Seems like a voice pack, which is what it should be.
So the error doesn’t come from that either then.
Voicepack V1 which should be V2 perhaps? I remember having a similar error when I had a V1. But I don’t remember the exact error message
After formatting the SD card with the link provided, that has resolved the delay issue!! Thank you for that! I reloaded a previous backup I had before all this happened and going from there.
Now it is just error with the font directory folders on the SD card that I just need to hash out. I believe this is just because I have been doing so many variations and since I am using the backup, some things have been moved around.
Happy we figured out the major issue, imo, with the SD card. I will update if anything else goes nuts. ![]()
Generally “effects” is the serial monitor command that helps with “error in font directory” messages.
How do I properly use this to find what causes the message for future instances?
You type “effects” in the serial monitor and read what it says?
LOL!! You damn right. Just a case of me over complicating it.
Sorry, still SUPER green to all of it.
So here is one I just did:
Found blst files: 1-5 in subdirs in Emperor_Proffie
Found endlock files: 1-4 in subdirs in Emperor_Proffie
Found font files: one unnumbered file in Emperor_Proffie
Found stab files: 1-8 in subdirs in Emperor_Proffie
Found force files: 1-6 in subdirs in Emperor_Proffie
Found hum files: one unnumbered file in Emperor_Proffie
Found boot files: 1-1 in subdirs in Emperor_Proffie
Done listing effects.
Battery voltage: 0.17
Battery voltage: 0.16
Can you post your “Emperor_Proffie” preset (the code in your config), please use the 3 back ticks method.
There seems to be some missing files.
No in, out, swingl or swingh files.
(Unless your paste doesn’t have all the output.)