I have noticed that the when you add a preset the common setting is not editabled either in the edit mode or the web usb, you can only add it to the config file but it doesn’t find the common folder in the edit mode. I would like it to be a subfolder in the font settings and sould be 1 level deep from the root of the sd card.
In OS7 “;common” is hard coded into Edit Mode as the default voice prompt directory and therefore required in your prop per Set Up Instructions for my prop.
In OS8 you can use FONT_PATTERN define to change the default voice prompt should you want to name differently, however you would then need to set your config up to use same pattern in each preset.
#define FONT_PATTERN "*;common"
No matter the method, presets need a default voice prompt directory for Edit Mode to operate, otherwise if a font is missing prompts the menu would cease to function.
If you want specific voices per font just include the sound files in the root of the font. Those would be used instead of common. You don’t need a common folder in the font, just put the sounds there.
You still need to set up the common folder on the SD, but the sounds would be used only if the font is missing the voice prompts.
Refer to “Set Up for Voice Prompts (Required)'” section of my prop page.
I added the sounds in the root of the font directory and I’m getting this error.
** ERROR - Error in font directory.
** See https://pod.hubbe.net/troubleshooting/what-is-it-saying.html#error-in-font-directory
Found medit.wav files: one unnumbered file SOME FILES ARE MISSING! 1 != 256 in bank03
Found mnum.wav files: 1-20 in subdirs SOME FILES ARE MISSING! 20 != 5120 in bank03
Found lowbatt.wav files: one unnumbered file SOME FILES ARE MISSING! 1 != 256 in bank03
Found mclick.wav files: one unnumbered file SOME FILES ARE MISSING! 1 != 256 in bank03
Found ccchange.wav files: one unnumbered file SOME FILES ARE MISSING! 1 != 256 in bank03
Found ccend.wav files: one unnumbered file SOME FILES ARE MISSING! 1 != 256 in bank03
Found ccbegin.wav files: one unnumbered file SOME FILES ARE MISSING! 1 != 256 in bank03
Found swingh.wav files: 1-4 using 2 digits in subdirs SOME FILES ARE MISSING! 4 != 1024 in bank03
Found swingl.wav files: 1-4 using 2 digits in subdirs SOME FILES ARE MISSING! 4 != 1024 in bank03
Found swng.wav files: 1-9 using 2 digits in subdirs SOME FILES ARE MISSING! 9 != 2304 in bank03
Found lock.wav files: 1-1 using 2 digits in subdirs SOME FILES ARE MISSING! 1 != 256 in bank03
Found out.wav files: 1-2 using 2 digits in subdirs SOME FILES ARE MISSING! 2 != 512 in bank03
Found in.wav files: 1-1 using 2 digits in subdirs SOME FILES ARE MISSING! 1 != 256 in bank03
Found clsh.wav files: 1-16 using 2 digits in subdirs SOME FILES ARE MISSING! 16 != 4096 in bank03
Found blst.wav files: 1-6 using 2 digits in subdirs SOME FILES ARE MISSING! 6 != 1536 in bank03
Found endlock.wav files: one unnumbered file in subdirs SOME FILES ARE MISSING! 1 != 256 in bank03
Found bgnlock.wav files: one unnumbered file in subdirs SOME FILES ARE MISSING! 1 != 256 in bank03
Found hum.wav files: 1-1 using 2 digits in subdirs SOME FILES ARE MISSING! 1 != 256 in bank03
Found bladeout.wav files: one unnumbered file SOME FILES ARE MISSING! 1 != 256 in bank03
Found bladein.wav files: one unnumbered file SOME FILES ARE MISSING! 1 != 256 in bank03
Found font.wav files: one unnumbered file in subdirs SOME FILES ARE MISSING! 1 != 256 in bank03
Found boot.wav files: one unnumbered file in subdirs SOME FILES ARE MISSING! 1 != 256 in bank03
But why?
This seems to be what’s causing the issue.
If you don’t force something to try to work differently than it’s intended to, things would be fine.
Don’t get me wrong. I use all different voicepacks in different presets, like
/common means on the root. It’s a requirement of the prop, because edit mode re-writes the path to that location. If you have it elsewhere, and it works fine as long as preset and SD card are in harmony, it will break when edit mode re-writes the path as plain /common.
So the opposite option is to put it in a custom path like you are saying you want to, but then not use edit mode or the WebUSB ProffieOS Workbench (I think. I don’t use that either so I’m not 100%)
Feels like we’re going in circles. If you want specific Voice Prompts for a font just put them in the root of the font. There’s no need for FONT_PATTERN to do that, FONT_PATTERN is more for having a different name than common or using other default sound files for each preset. It appends the SAME pattern to each preset, not a VARIABLE pattern.
You likely had duplicated files somewhere previously or some corruption of files if you’re editing on the SD.
Save your fonts, reformat your SD, then on your computer take a clean font and carefully copy the contents of the “common” folder into the root of the font. Then move it to your SD. Make sure you have a “common” folder on the SD and then set the preset like so.
If the font has the Voice Prompts they are used, if not the common folder is used. That’s standard behavior for Edit Mode since it was created, no need to reinvent the wheel. This would apply to other sounds as well, anything shared or common can be added to common folder to be used if the font is missing sounds, any sounds specific to the font belong in the font itself.
I did this already and it’s still having issues. I will do it again. I also reformatted the sd card.
the way I read this is to navigate to the common folder select all the contents and copy and past into the font directory, so now there’s hundreds of files in the font. right? I’m not copying the common directory into the font directory but the contents.
I think it may be the sd card in question. I’ll redo it.