A quick question

Hey guys, I have a quick one for ya. This is a part of my config script.

//Vader 2: Prequals//

{"23VaderImmortal", "boot/boot01.wav",

StylePtr<Layers<Mix<HoldPeakF<SwingSpeed<250>,Scale<SwingAcceleration<1…

I know that “23VaderImmortal” is the sound font folder and “boot01.wav” is the actual file that needs to be played. What it the first “boot” in “boot/boot01.wav”?? Is that a command, is it the secondary folder holding the sound file to be played?

I appreciate the help =]

The first boot would be the folder in which boot01, boot02 etc would be in on your SD card.

Generally there’s a track file listed in the config code there though. Boot sounds play when the saber is fully off and then powers applied. The boot for the font you are using will play.

There are several tools created by members here or elsewhere to help with configs.

I like https://www.fett263.com

Excellent! Thanks LyleStyle =]

1 Like

Hey NoSloppy! Thanks! I do have another question if you are willing. I am getting the ye old “font directory not found” message, but it’s at the very beginning when I hit the on/off. Then nothing. When it’s happened before, I’m usually able to still activate the blade, but with not sound. Now, I just get the message and then nothing. I deleted and reinstalled the sound files, reformatted the SD card, got a new SD card, reformatted it twice, I checked the spellings and spacing of the font files on both my config file and the SD card. Still the same result. Any thoughts? I’m hoping it’s not a bad Proffie.

Are you sure that’s the correct error message?
Are you sure it doesn’t say error in font directory?
Are you using fett263 prop but don’t have a common folder designated?

Aside from a bad SD situation, these are easy to fix problems.
You should post your config file and a list of your SD card contents so we can help.

Hey NoSloppy,

I decided to go back to the beginning and start small. My original config file was huge! With the current config file, everything seems to upload fine. Am now using a Proffie 3.9 and the green power light is on, so I know it’s getting power, but know, no sound when I hook-up the power (no kill switch) and my on/off button is not activating the Proffie.

Here’s my config:

#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 1
#define VOLUME 1000
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 1.0

#define SA22C_STAB_ON
#define SA22C_SWING_ON
#define SA22C_TWIST_ON
#define SA22C_THRUST_ON
#define SA22C_TWIST_OFF
#define SA22C_FORCE_PUSH

#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#endif

#ifdef  CONFIG_PROP
#include "../props/saber_sa22c_buttons.h"
#endif

#ifdef CONFIG_PRESETS
Preset presets[] = {


//Vader 1: Original Trilogy//

	{"VaderMPP", "boot02.wav",

StylePtr<Layers<StyleFire<Strobe<RotateColorsX<Variation,Rgb<95,0,210>>,Strobe<Rgb<100,100,
150>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<95,0,210>>,Black>,50,1>,100,1>,Rotate
ColorsX<Variation,Rgb<23,0,65>>,0,5,FireConfig<2,1000,5>,FireConfig<2,1000,5>,FireConfig<2,100
0,5>,FireConfig<2,1000,5>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<Wh
ite,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL<Strob
e<White,BrownNoiseFlicker<White,Red,300>,50,1>,TrConcat<TrInstant,White,TrFade<400>>,TrFad
e<100>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Scale<SwingSpeed<100>,In
t<10000>,Int<14000>>>,ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1
>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrI
nstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,ResponsiveStabL<R
ed,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<
100>,Int<400>>,Int<400>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,1
6000>,Int<4000>,Int<26000>>,Int<6000>>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>
>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeI
n<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<300>,TrWipeIn<500>,Black>>
>()
},


};


BladeConfig blades[] = {
 { 0, 
WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
CONFIGARRAY(presets) },
};
#endif

#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");

#endif

Any thoughts?? I’m sure it’s something really stupid and really simple that I’m just not seeing (I hope).

If you have a V3 proffie, then this should say v3, not v2.

Sweet J3$us!! (insert face-palm here). I knew it was probably going to be something like that.

While I have you here, I have a quick question. The sabers that I have worked on, have been using the ring LED buttons. I’ve been following the Proffie V2 manual, page 10, for my wiring. My next project, I’ll be using two simple momentary buttons. I was on your Proffie configuration page and have 2 momentary buttons selected. I’m confused at the image, the bridge between the 2 buttons, is that connected to the (-) or the ground, or directly to the battery (-) wire?

Thanks again Profezzorn =D

In the case of buttons, its all the same. I connect them to gnd because the pad is open.

For low-current wires (which this is) it doesn’t matter if it’s connected to the battery wire, - or GND, those are all effectively the same thing.

Hey guys…

Thanks for all your help, I really do appreciate it!

I figured out the sound font issue, it was just a bad SD card, so that’s fixed I’m still having issues with the v3 Proffie, though. I’m using a homemade Proffie tester for the v3, so I’m sure that’s the issue. When I get a chance, I’ll wire it up and test it that way, eventually.

I am (believe it or not) having another issue. The blade styles I’m using from Fett263 are giving me MAJOR errors. My styles from Greyscale work perfectly. It seems like the error message I’m getting is for the entire script. Should I start another post?

Thanks again all!

Check that your ProffieOS version is new enough for your style.
Check that you pasted in the whole style.

If this doesn’t help, then yes, you probably want to start a new thread. Make sure to post your config file and the error(s) you are getting. Make sure to check the first error first, as all the rest of the errors may be irrelevant.

Thanks for the info Profezzorn, I will definitely give it a check. Just curious, will Fett’s Proffie os7 styles work on the Proffie v2? Or is it just based on the ProffieOS version?

Thanks again =)

The styles should work on any proffieboard, you just need a new enough ProffieOS to support it.