I appreciate the shout out. I feel like I did start early on this. I have been busy with a home reno project, but I could set aside some time to test my display more if needed…
tested
tested
tested
tested
While testing, I hadn’t memorized the control for reload. Trying to “find” reload while empty, at times, I kept firing. I never had a jam while empty, so I guess it could be marked as tested ?
tested
I played with blaster_BC_buttons with my multi_prop. All the above are working as advertised.
No, that doesn’t really count.
It’s not testing that the V2 sound library works, it’s testing that the V2 library can be extended to V3 or something?
Top post updated - thank you!
I tried testing (well tested) MENU_SPEC_TEMPLATE FETT263_MENU_SPEC
but couldn’t get very far because most voice prompt were silent. I also had error in font directory. I don’t think saber_fett263_buttons has a working call to sound_library (“v1” or v2) init in the case of MENU_SPEC_TEMPLATE
.
I don’t think it is working as it should. I do have a voicepack.ini with voice_pack_version=2
in my common folder.
I am also trying to test this. The only sound_library_v2 voice prompt that I can test at the moment (with saber_fett263_buttons) is sound_library_v2.SaySDAccess(); but I don’t hear it.
Seems MENU_SD_ACCESS,
isn’t there or I am looking in the wrong place.
These are the “v1” voice prompt I heard after “While Off, Hold AUX + Hold PWR” (I was only turning clock wise):
edit mode
exit
edit style
edit color
edit font
edit track
edit settings
select option
edit volume
edit control settings
select option
swing ignition
swing on speed
twist ignition
thrust ignition
stab ignition
force push
force push lenght
twist retraction
lockup delay
clash detection level
power lock
maximun clash strenght
edit clash threshold
edit blade lenght
edit brightness
edit volume
copy preset
delete preset
Did I miss a sub menu ?
I have #define MOUNT_SD_SETTING
& #define ENABLE_ALL_EDIT_OPTIONS
in my config for #define FETT263_EDIT_MODE_MENU.
As mentioned before and re tested again today just to be sure I didn’t break anything, I tried again the serial monitor commands “sd/sd 1/sd 0”. They still work as they should.
Not sure how to test the other v2 voice prompts but I was thinking to write a “dummy temporary” function that would just do:
sound_library_v2.SayAdjustRed();
sound_library_v2.SayAdjustBlue();
sound_library_v2.SayAdjustGreen();
sound_library_v2.SayAdjustSaturation();
...
Replace the content of void DoBattery() with the content of the dummy function and see if they all play. Before I do the work, would that be a valid test, if they work?
Does it also have all the V2 sounds?
What does it say in the serial monitor?
I don’t know, @Fett263 ?
Not really. The goal is to test how ProffieOS is used, not to test how it works internally.
Post your full config so I can check.
Here is a one preset version of my config:
@profezzorn it seems as though something is impacting #define MOUNT_SD_SETTING between here: ProffieOS/ProffieOS.ino at 61d0ad6332793df15962e60898ba33ba2308d280 · profezzorn/ProffieOS · GitHub
and the time it gets to my prop. It seems like MOUNT_SD_SETTING is undefined by the time the prop is being compiled because none of the code for the #ifdef MOUNT_SD_SETTING is being included. I checked by introducing an error message into my prop for this define and it never triggers, and confirmed that if I just add #define MOUNT_SD_SETTING in my prop everything works, but this shouldn’t be necessary as ENABLE_ALL_EDIT_OPTIONS should handle.
I can’t tell what is impacting, but something changed from Alpha to current version related to this.
Pretty sure it does. I didn’t remove any sound files from it.
Here is serial monitor with #define MENU_SPEC_TEMPLATE FETT263_MENU_SPEC
and I found why some files don’t play:
16:13:41.377 -> unit = 0 vol = 0.50, Playing common/mclick.wav
16:13:41.414 -> channels: 1 rate: 48000 bits: 16
16:13:41.414 -> Unsupported rate.
16:13:41.414 -> Unmounting SD Card.
16:13:41.453 -> Amplifier off.
16:13:41.453 -> Playing mseting2.wav, channels: 1 rate: 48000 bits: 16
16:13:41.485 -> Unsupported rate.
16:13:41.485 -> Unmounting SD Card.
16:13:41.527 -> Amplifier off.
16:13:41.698 -> EVENT: TwistLeft millis=595305
16:13:42.439 -> unit = 0 vol = 0.50, Playing common/mclick.wav
16:13:42.439 -> channels: 1 rate: 48000 bits: 16
16:13:42.439 -> Unsupported rate.
16:13:42.479 -> Unmounting SD Card.
16:13:42.518 -> Amplifier off.
16:13:42.518 -> Playing medpsets.wav, channels: 1 rate: 48000 bits: 16
16:13:42.558 -> Unsupported rate.
16:13:42.558 -> Unmounting SD Card.
16:13:42.592 -> Amplifier off.
16:13:44.711 -> unit = 0 vol = 0.50, Playing common/mclick.wav
16:13:44.711 -> channels: 1 rate: 48000 bits: 16
16:13:44.711 -> Unsupported rate.
16:13:44.753 -> Unmounting SD Card.
16:13:44.753 -> Amplifier off.
16:13:44.753 -> Playing mseting2.wav, channels: 1 rate: 48000 bits: 16
16:13:44.790 -> Unsupported rate.
16:13:44.834 -> Unmounting SD Card.
16:13:44.834 -> Amplifier off.
16:13:45.758 -> EVENT: Aux-Pressed#1 millis=599407
16:13:45.758 -> EVENT: Aux-Pressed millis=599407
16:13:45.915 -> EVENT: Aux-Released#1 millis=599563
16:13:45.915 -> EVENT: Aux-Released millis=599563
16:13:45.915 -> EVENT: Aux-Shortclick#1 millis=599564
16:13:45.915 -> EVENT: Aux-Shortclick millis=599564
16:13:46.092 -> EVENT: Aux-SavedShortclick#1 millis=599708
16:13:46.092 -> Playing mexit.wav, channels: 1 rate: 44100 bits: 16
16:13:46.414 -> Battery voltage: 3.57
16:13:46.653 -> Unmounting SD Card.
16:13:46.687 -> Amplifier off.
16:13:49.853 -> EVENT: Aux-Pressed#1 millis=603472
16:13:49.853 -> EVENT: Aux-Pressed millis=603472
16:13:50.025 -> EVENT: Aux-Released#1 millis=603638
16:13:50.025 -> EVENT: Aux-Released millis=603638
16:13:50.025 -> EVENT: Aux-Shortclick#1 millis=603638
16:13:50.025 -> EVENT: Aux-Shortclick millis=603639
16:13:50.067 -> Style RAM = 2000
16:13:50.067 -> Scanning sound font: Crispity
16:13:50.153 -> done
16:13:50.153 -> Scanning sound font: common
16:13:50.355 -> done
16:13:50.390 -> Activating polyphonic font.
16:13:50.424 -> Activating SmoothSwing V2
16:13:50.424 -> Accent Swings Enabled.
16:13:50.424 -> Polyphonic swings: 6
16:13:50.424 -> Monophonic swings: 0
16:13:50.424 -> Accent Slashes NOT Detected:
16:13:50.468 -> Sound library version 2 found.
16:13:50.468 -> Current Preset: crispity
16:13:50.502 -> unit = 0 vol = 0.50, Playing Crispity/font.wav
16:13:50.502 -> channels: 1 rate: 44100 bits: 16
16:13:52.721 -> No sounds found: bgnidle
16:13:52.721 -> No sounds found: idle
16:13:52.754 -> Unmounting SD Card.
16:13:52.754 -> Amplifier off.
16:14:01.494 -> Booster off.
After running my common through
https://www.soundfontnamingconverter.com/
I found these files to be of the incorrect rate:
------------------------------------------------
Renamed with SoundFontNamingConverter V5
Brian Conner a.k.a NoSloppy
Audio-Only Conversion Log
14/8/2025, 16:21:08
------------------------------------------------
Converting Audio-Only - common.
Audio converted: common/maargsty.wav → maargsty.wav
Audio converted: common/macolall.wav → macolall.wav
Audio converted: common/macolsty.wav → macolsty.wav
Audio converted: common/madjblue.wav → madjblue.wav
Audio converted: common/madjgren.wav → madjgren.wav
Audio converted: common/madjred.wav → madjred.wav
Audio converted: common/madjsat.wav → madjsat.wav
Audio converted: common/mbld.wav → mbld.wav
Audio converted: common/mcantdlp.wav → mcantdlp.wav
Audio converted: common/mclick.wav → mclick.wav
Audio converted: common/mcolrst.wav → mcolrst.wav
Audio converted: common/mcopyc2.wav → mcopyc2.wav
Audio converted: common/medpsets.wav → medpsets.wav
Audio converted: common/minpset.wav → minpset.wav
Audio converted: common/minus.wav → minus.wav
Audio converted: common/mmpset.wav → mmpset.wav
Audio converted: common/mmpsetbg.wav → mmpsetbg.wav
Audio converted: common/mmpsetdn.wav → mmpsetdn.wav
Audio converted: common/mmpsetup.wav → mmpsetup.wav
Audio converted: common/mnopsel.wav → mnopsel.wav
Audio converted: common/mnoselcl.wav → mnoselcl.wav
Audio converted: common/mnostsel.wav → mnostsel.wav
Audio converted: common/mpastec.wav → mpastec.wav
Audio converted: common/mpset.wav → mpset.wav
Audio converted: common/mpsetins.wav → mpsetins.wav
Audio converted: common/mrststys.wav → mrststys.wav
Audio converted: common/msdacc.wav → msdacc.wav
Audio converted: common/mseconds.wav → mseconds.wav
Audio converted: common/msequent.wav → msequent.wav
Audio converted: common/mseting2.wav → mseting2.wav
Audio converted: common/mstnoset.wav → mstnoset.wav
Audio converted: common/plus.wav → plus.wav
Audio-Only Conversion complete.
------------------ | **** MTFBWY **** | ------------------
I will fix my SD-Card and report if #define MENU_SPEC_TEMPLATE FETT263_MENU_SPEC
works better
Edit: this is the V2_Voicepack_Din_Djarin. I will also check if the other V2_Voicepacks have the same problem but it will probably take a while.
Edit2: note that msdacc.wav is in the list of incorrect rate file, so that might be part of the problem too ?
The only thing I know of that #undefs MOUNT_SD_SETTING is these two things:
Basically, if you don’t have mass storage on when you compile, then you don’t get an SD setting.
Maybe we should add a #warn
for that?
Ah, that could be it, it’s been a while since we added this and I don’t typically use Mass Storage. Yeah, we may want to put warning on that.
You’ll need “Mass Storage” enabled in Arduino > Tools > USB Type for this menu to work. Without Mass Storage there’s no need for an SD Access setting as the SD card can’t be accessed by the computer. If you set “Mass Storage” the menu will work as expected.
Oh but I do have mass storage enabled in Arduino. But the fact that some voice prompt have an incorrect rate (48000 instead of 44100) didn’t help. (including msdacc.wav in my case). I am still chasing all the incorrect files in all of the “in English” (standard and “in universe characters”) voicepacks. I will report my voice pack findings in
And after I retest with (separately):
- #define FETT263_EDIT_MODE_MENU
- #define FETT263_EDIT_SETTINGS_MENU
- #define MENU_SPEC_TEMPLATE FETT263_MENU_SPEC
I will report here any improvements, if any.
On OS8.4 with “Mass Storage” and the following defines the SD Access menu works as expected when I tested.
- #define ENABLE_ALL_EDIT_OPTIONS
with - #define FETT263_EDIT_MODE_MENU
or - #define FETT263_EDIT_SETTINGS_MENU
not sure about specific voice packs, I have one of the early ones from Alpha, but if formatted correctly I can’t think of any other reason this wouldn’t work.
After fixing my v2 Din Djarin voice pack (I still don’t know how some files had a 48000 rate), I can now hear the “sd card access” voice prompt between “edit brightness” & “edit volume”, so that is progress. When I click POWER on the “sd card access” voice prompt, I can hear “disabled”, however I was under the impression that this sub menu section could also do “enabled” aka the same as “sd 1” from serial monitor. Or is this sub menu only able to report the “value” of the access like “sd” in serial monitor does and not toggle between “disabled” & “enabled” like “sd 0” & "sd 1"does in serial monitor. This was tested with #define FETT263_EDIT_MODE_MENU
Now checking the menu with #define MENU_SPEC_TEMPLATE FETT263_MENU_SPEC
, these are the voice prompt I am getting with some serial monitor:
edit presets
edit font
error in font directory twice plus something that I can not make out playing at the same time
"some blip" with error in font directory with a random quote
"some blip" error in font directory with a different random quote (I have 200+ quotes in my common/quote folder)
03:59:38.583 -> No sounds found: mclick // but I do have mclick in my common ?
03:59:38.677 -> Unmounting SD Card.
03:59:38.677 -> Amplifier off.
03:59:40.530 -> Scanning sound font: KbrRain // it is on my SD-card but not in my presets, why is being scanned, I have about 100 fonts on my SD-Card but only 5 in my presets at the moment?
03:59:40.573 -> done
03:59:40.573 -> Activating polyphonic font.
03:59:40.612 -> Activating SmoothSwing V2
03:59:40.612 -> Accent Swings Enabled.
03:59:40.612 -> Polyphonic swings: 4
03:59:40.612 -> Monophonic swings: 0
03:59:40.612 -> Accent Slashes NOT Detected:
03:59:40.612 -> ERROR - Sound library version 2 required. // I do have sound library v2 in my common ???
03:59:40.645 -> unit = 0 vol = 0.50, Playing KbrRain/font.wav
03:59:40.645 -> channels: 1 rate: 44100 bits: 16
03:59:42.124 -> No sounds found: bgnidle
03:59:42.124 -> No sounds found: idle
03:59:42.124 -> Unmounting SD Card.
03:59:42.158 -> Amplifier off.
...
04:02:45.001 -> Scanning sound font: Kaboom // this is in my presets (number 1)
04:02:45.077 -> done
04:02:45.077 -> Scanning sound font: common
04:02:45.273 -> done
04:02:45.312 -> Activating polyphonic font.
04:02:45.348 -> Activating SmoothSwing V2
04:02:45.348 -> Accent Swings Enabled.
04:02:45.348 -> Polyphonic swings: 13
04:02:45.348 -> Monophonic swings: 0
04:02:45.348 -> Accent Slashes NOT Detected:
04:02:45.390 -> Sound library version 2 found. // here sound libary v2 was found ?
04:02:45.390 -> Playing mcancel.wav, channels: 1 rate: 44100 bits: 16
04:02:46.058 -> No sounds found: bgnidle
04:02:46.058 -> No sounds found: idle
04:02:46.095 -> Unmounting SD Card.
04:02:46.095 -> Playing mfont.wav, channels: 1 rate: 44100 bits: 16
04:02:46.474 -> Battery voltage: 3.50
04:02:46.961 -> No sounds found: bgnidle
04:02:46.961 -> No sounds found: idle
04:02:46.961 -> Unmounting SD Card.
04:02:46.995 -> Amplifier off.
04:02:51.317 -> unit = 0 vol = 0.50, Playing common/mclick.wav // here mclick plays ?
04:02:51.317 -> channels: 1 rate: 44100 bits: 16
04:02:51.407 -> Unmounting SD Card.
04:02:51.407 -> Playing mtrack.wav, channels: 1 rate: 44100 bits: 16
04:02:52.205 -> Unmounting SD Card.
04:02:52.205 -> Amplifier off.
04:02:53.140 -> unit = 0 vol = 0.50, Playing common/mclick.wav
04:02:53.140 -> channels: 1 rate: 44100 bits: 16
04:02:53.185 -> Unmounting SD Card.
04:02:53.185 -> Playing mfont.wav, channels: 1 rate: 44100 bits: 16
04:02:54.050 -> Unmounting SD Card.
04:02:54.094 -> Amplifier off.
04:03:04.072 -> Booster off.
04:03:06.471 -> Battery voltage: 3.53
04:03:26.519 -> Battery voltage: 3.53
04:03:46.429 -> Battery voltage: 3.53
04:03:50.443 -> EVENT: Aux-Pressed#1 millis=1103871
04:03:50.443 -> EVENT: Aux-Pressed millis=1103871
04:03:50.594 -> EVENT: Aux-Released#1 millis=1103989
04:03:50.594 -> EVENT: Aux-Released millis=1103989
04:03:50.594 -> EVENT: Aux-Shortclick#1 millis=1103989
04:03:50.594 -> EVENT: Aux-Shortclick millis=1103989
04:03:50.949 -> EVENT: Aux-SavedShortclick#1 millis=1104172
04:03:50.949 -> Playing mexit.wav, channels: 1 rate: 44100 bits: 16
04:03:51.690 -> Unmounting SD Card.
04:03:51.690 -> Playing medpsets.wav, channels: 1 rate: 44100 bits: 16
04:03:52.932 -> Unmounting SD Card.
04:03:52.932 -> Amplifier off.
04:03:54.087 -> EVENT: Aux-Pressed#1 millis=1106463
04:03:54.087 -> EVENT: Aux-Pressed millis=1106463
04:03:54.257 -> EVENT: Aux-Released#1 millis=1106579
04:03:54.257 -> EVENT: Aux-Released millis=1106579
04:03:54.257 -> EVENT: Aux-Shortclick#1 millis=1106579
04:03:54.257 -> EVENT: Aux-Shortclick millis=1106579
04:03:54.491 -> EVENT: Aux-SavedShortclick#1 millis=1106764
04:03:54.491 -> Playing mexit.wav, channels: 1 rate: 44100 bits: 16
04:03:55.305 -> Unmounting SD Card.
04:03:55.305 -> Amplifier off.
04:03:56.507 -> EVENT: Aux-Pressed#1 millis=1108215
04:03:56.507 -> EVENT: Aux-Pressed millis=1108215
04:03:56.649 -> EVENT: Aux-Released#1 millis=1108332
04:03:56.649 -> EVENT: Aux-Released millis=1108332
04:03:56.649 -> EVENT: Aux-Shortclick#1 millis=1108332
04:03:56.649 -> EVENT: Aux-Shortclick millis=1108332
04:03:56.694 -> Style RAM = 2000
04:03:56.694 -> Scanning sound font: Crispity
04:03:56.761 -> done
04:03:56.761 -> Scanning sound font: common
04:03:57.009 -> done
04:03:57.118 -> Activating polyphonic font.
04:03:57.159 -> Activating SmoothSwing V2
04:03:57.159 -> Accent Swings Enabled.
04:03:57.159 -> Polyphonic swings: 6
04:03:57.159 -> Monophonic swings: 0
04:03:57.159 -> Accent Slashes NOT Detected:
04:03:57.159 -> Sound library version 2 found.
04:03:57.265 -> Current Preset: crispity
04:03:57.265 -> unit = 0 vol = 0.50, Playing Crispity/font.wav // this is also in my presets (my second one)
04:03:57.265 -> channels: 1 rate: 44100 bits: 16
04:04:00.411 -> No sounds found: bgnidle
04:04:00.411 -> No sounds found: idle
edit settings
edit volume
sd card access disabled
sd card access enabled
sd card access disabled
edit blade lenght blade one
edit clash threshold
edit brightness
swing ignition enabled
swing on speed
twist ignition enabled
trust ignition disabled
stab ignition enabled
force push enabled
force push lenght
twist retraction enabled
power lock disabled
lockup delay
clash detection level
maximum clash strenght
... back to edit volume
My battery is now getting low so I will test tomorrow while still using saber_fett263_buttons.h what I get with:
- #define MENUS_SPEC_TEMPLATE SettingsOnlyMenuSpec
& (separately) with - #define MENU_SPEC_TEMPLATE DefaultMenuSpec
Then I will add these defines: (Are these other menus or do they change how some sub-menus “behave” ?)
- #define COLOR_MENU_GAMMA 2.2
- #define CLASH_THRESHOLD_GAMMA 2.0
- #define VOLUME_MENU_GAMMA 2.2
and see what they do.
Have a good night,
MTFBWY
Have you tried reading the documentation?
Yes but I don’t really understand what it means. Are they “additional menus” or not ? Or do they just change how a menu (like colors) “behaves” (different voice prompt maybe ?) or am I just supposed to see different colors when #define COLOR_MENU_GAMMA 2.2 is applied ?
I don’t think these defines have any effect on the menus built into the Fett263 prop. They only apply when selecting colors from menus in the MENU_SPEC_TEMPLATE family.
Let’s start by explaining what happens if you have #define COLOR_MENU_GAMMA 1.0
in your config file… What happens is that if you go into the “RED” menu, you can change the red value of the RGB color. If you twist it all the way left, you get 0 and all the way right you get 255. In the middle you get 128. The problem with this is that 128 is already fairly bright. The difference between 128 and 255 seems much smaller than the difference between 0 and 128. Same thing is true for 0…64…128, the lower half seems bigger than the upper half.
With #define COLOR_MENU_GAMMA 2.2
, you have access to the same range of values, but now they have moved around so that if you go half-way between 0 and 255, what you get is 55. This might not be entirely obvious, but 0…55 and 55…255 seem more like even steps to human eyes. So the dark parts are “zoomed in” and the biright parts are “zoomed out”. This should make it easier to dial in the colors you want.
Computer screens and tv screends do the same thing, but the zooming happens in the display. The gamma formula is applied after the values are sent to the screen. For the most part, that’s a good thing, because it uses the bits sent to the screen more efficiently. Unfortunately, that’s not how neopixels, or PWM-controlled LEDs work.
This is a settings menu, it first prompts you with current status. Turn right to “enable”, turn left to “disable”, then press PWR to save. This works the same as the gesture settings.