Play sound on blade colour change?

Is it possible to play a different sound on blade colour change when using fett263 multiphase blade style, when changing between base and alt colours etc? So each colour has its own sound

If using Special Abilities Multi-Phase then altchng.wav (as noted in style information) is played on each change :wink:.

You can set a different altchng.wav in each altNNN/ folder if you want different sounds for each.

Is that possible on 1 button ls?

Of course, Special Abilities run on either 1 or 2 button on my prop. Refer to controls.

Thanks, for some reason I had in my head special abilities were for 2 button or more sabers, not sure where I read that

Just chiming in to say yes this does work using Fett263’s prop on a single or a dual button hilt. Just be sure to name your alternate sounds accordingly and as he mentions properly set them into your altnnn… font sub folders. I have my Fallen Order and Survivor blade styles including PartySaber all setup for it and it’s so awesome. :sunglasses:

My current font folders dont have the alt subfolders, do I just need to create them?

Yes. Watch the videos and follow the instructions. :+1:

Yes, the Recommended videos at top of the library for Phases and Alt Fonts will walk you through.

Thanks, I think ive gotten my head around most of it, one thing that I cant seem to find the answer to, does the number on the altNNN folder name relate to the phase number? So I would need to create a numbered folder for each phase within the style?

If you’re using my library, then Yes. The top style information section provided when you generate a style from the library includes the Phase and Alt information. Phase 0 uses alt000, Phase 1 uses alt001, etc. If you are missing an altNNN folder that the style code expects then the phase won’t change, so always refer to the style information the library provides.

I am just getting error in font directory

I have followed the instructions at the top of the style, there are some contradictions with naming when following the style notes and the instructions here

ProffieOS Documentation: Alt Sounds

for example the style notes says it uses altchng.wav but the instructions in the link show to call thhe altchng.wav as 001.wav

Either way i have tried all naming conventions in all instructions I can find still getting error, this is my folder structure, all alt folders are identical




I have also tried renaming the force.wavs as 01.wav, 02.wav etc

If I just create

alt000\altchng\001.wav
alt001\altchng\001.wav
alt002\altchng\001.wav
alt003\altchng\001.wav

Then I dont get an error but when I try special ability it just plays the wavs in the main font force directory and the colour doesnt change

Ignore me, I had define special abilities commented out lol

Gotcha, no worries.

One final thing, the custom backing track that was playing from the font folder now has reverted to only playing the track in the common folder, I have tried making a Tracks folder in the alt folders but that doesnt seem to work, any idea…

Sorted the sound haha

What format, sample etc should the wavs be?

The recommended format is .wav files that are 44khz, 16-bit mono PCM

See here:

Tracks are not effect sounds, they wouldn’t work in an altNNN folder.

There can only be one default track, that is set in the preset.

{ "font;common", "font/tracks/track.wav",
StylePtr<...>(),
"name"
},

If you want to choose from different tracks you can use Track Player. More information here:

Ty, for your help

You’re welcome