Fett263
November 18, 2022, 6:55pm
108
This thread’s a bit outdated now, there have been multiple additions/changes including new clash detection that are now part of pre-alpha OS7.x. You’ll want to get the current version of Master from github to test.
ProffieOS 7.x is coming. (Insert Ned Stark meme here.)
It’s not even at alpha stage yet, but it’s time to start summing up what the new stuff is and make sure we didn’t forget anything before we start testing.
Here’s what’s new in OS7 so far:
Features:
New code for reading/writing ini files. Should cut down on SD card corruption significantly.
Better Teensy4 support, including WS281x support.
Most “help” command text moved to wiki page to save memory.
Alternate sound files: altNNN/
Sound file sub-sub directories: hum/001/001.wav
Updated clash detection
Bendable time in most transitions
New font config variable:
ProffieOSHumDelay
New defines:
BOOT_VOLUME
AUDIO_CLASH_SUPPRESSION_LEVEL
New sound effects:
altchng - when the alternative changs
New EFFECT_* values:
EFFECT_SECONDARY_IGNITION
EFFECT_SECONDARY_RETRACTION
EFFECT_QUOTE
EFFECT_TRANSITION_SOUND
EFFECT_GAME_START
EFFECT_GAME_ACTION1
EFFECT_GAME_ACTION2
EFFECT_GAME_CHOICE
EFFECT_GAME_RESPONSE1
EFFECT_GAME_RESPONSE2
EFFECT_GAME_RESULT1
EFFECT_GAME_RESULT2
EFFECT_GAME_WIN
EFFECT_GAME_LOSE
Styles:
LockupTrL has a new argument: CONDITION
StylePOV
ContinuousPOV
ChargingStylePtr
TransitionPulseL
New Functions:
ClampF / ClampFX
Divide
IsBetween
Subtract
TwistAcceleration
AltF
Sound library addition:
moffopt.wav
New style arguments:
ALT_COLOR2_ARG
ALT_COLOR3_ARG
STYLE_OPTION2_ARG
STYLE_OPTION3_ARG
IGNITION_OPTION2_ARG
RETRACTION_OPTION2_ARG
There is also a large set of changes in Fett263 and BC props, but I’ll let them write their own summaries of those changes.
I will update this post if more features are added. Also, this is the right thread to ask questions about what these features do, and until the documentation bas been updated, this will most likely be the best resource for using, testing and understanding the new features.
Different fonts and or specific sounds can absolutely have different results if it’s volume/speaker vibrations that are causing false clashes. I would test the new pre-Alpha master and read through here for all of the settings available to tweak (including just lowering the volume if you’re pushing the speaker too hard).
This is a “shot in the dark” but let’s give this a try if you’re game.
Use your existing config but download this version of the OS (this is still pre-Alpha so it’s not fully tested but for this specific use it will work but I wouldn’t run beyond testing just yet).
Click green “Code” button and select “Download ZIP”, then extract to your desktop in a folder named “ProffieOS”, then copy your OS6 config into the new /config folder and upload as usual.
Then add or update these defines and use my prop and see if the false clashes go away (this will fix the clash delays as well).
#define VOLUME 1000
#define FILTER_CUTOFF_FREQUENCY 90
#define FILTER_ORDER 10
#define CLASH_THRESHOLD_G 3.0
#define AUDIO_CLASH_SUPPRESSION_LEVEL 30
If you still get false clashes increase the CLASH_THRESHOLD_G in increments of 0.5 but don’t go above 5.0
If you get to 5.0 and still get false clashes lower the volume by 100 until they go away but don’t go below 500
If you’ve eliminated false clashes with above next we’ll make sure clashes aren’t too hard to trigger, test your clashes to see if they are triggered as expected, if not:
Decrease AUDIO_CLASH_SUPPRESSION_LEVEL in increments of 5 but don’t go below 15
If you’ve gone to 15 and still find clashes too hard to trigger start stepping the CLASH_THRESHOLD_G back in 0.25 increments, if you start getting false clashes again bump up the AUDIO_CLASH_SUPPRESSION_LEVEL in increments of 2 until false clashes go away.
Hopefully, false clashes have gone away AND clashes are triggered with normal amount of force.
If yes, start to increase your Volume by 100 and see if you continue to avoid false clashes and still are able to trigger clash normally.
Try to get to a “goldilocks” of no false clashes and being able to trigger a clash normally (even if the volume is a little low) and post the settings you got to work (if any) or if nothing worked then we’ll need to get profezzorn’s input, but if we can find a starting point with above settings that works we might be able to dial in the levels to let you take the volume back up.