On blinking sequence won't stop when off

why is the on sequence still active when the blade is off? have i used the wrong layer? everything else works fine but i cant figure this out. my blinkers are not blinking right!
(made the sequence in the blade style editor not on fetts style builder so not copyright)

Layers<
  Sequence<Red,Black,100,32,0b0,0b101010001010100>,
  InOutTrL<TrInstant,TrInstant,ColorSelect<IncrementModuloF<EffectPulseF<EFFECT_FORCE>>,TrInstant,Red,SequenceL<Red,300,32,0b0,0b101010101010>,Sequence<Red,Black,100,80,0b0,0b1010101010101010,0b1010101000000000,0b0,0b1010101010101010>>>>

What do you expect it to be doing when blade is off?
You currently have wither Red, A sequence, or another Sequence set as your OFF color, and you cycle through them by doing Force effect.

ColorSelect<IncrementModuloF<EffectPulseF<EFFECT_FORCE>>,TrInstant,
Red,
SequenceL<Red,300,32,0b0,0b101010101010>,
Sequence<Red,Black,100,80,0b0,0b1010101010101010,0b1010101000000000,0b0,0b1010101010101010>>

my goal is to have the first sequence be the on behaviour and then have the off behaviour to be sequences cycled through with force effects. the problem is that when I turn off the blade the on sequence stays and interferes with the off sequences.

Can’t be with the style you posted.
You might be confused with all the Red.
Just change the ON one to green to test.
You’ll see it’s green with blade on, Red when off (or sequences if you do force and cycle through them).

I did that. its flashing green and red.

I figured it out I think, I was using a sequence layer rather than just a sequence and that was merging with the base layer.

is there a way to have the colour change only be active while the force fx is playing or is it just a toggle?

You could just show the layer for a TrDelayX<WavLen<>>.
Either wrap the layer in an AlphaL and set the alpha function on to Int<32768> for the duration of WavLen<>, then set it back to <0>.
Or you could use Mix<> and do the same thing.

interesting. i will give this a go and experiment. do you know if its possible to loop or cancel a force effect? or if you can have an “off sound” when the blade is off the sound plays like the hum would when on?

That’s idle.wav and you would need the latest OS8.x from GitHub.

1 Like

This is available as a Special Ability in my Early Access Library. The Special Ability version works in OS7 and can be easily toggled on or off as needed.

1 Like

Signed up to the patrion, some great new styles on there! but I’m trying to combine your idle/off sound with a light sequence but I’m struggling, could you give me a hand. not sure if you want me posting the blade styles on here I’m working with as they are from your patrion.

You can post the top section of the style code, from /* to */ in the “Questions or Issues” link at the top of the library.

Another user just reported an issue with the Idle Off so I have to take a look anyway.

part of the problem is that i cant get the idle off to work when using accent LED/PCB style, it just doesn’t appear in the style so i have been using the proffie os style editor instead.

By default the Accent styles have the Control Layer disabled. If you don’t plan to run any other Special Abilities in the main style, you can check the Control Layer box for Accent style.

Otherwise, I would set the Toggle Idle Off on your main blade style and use a normal Accent style. You need to make sure you only have one Control Layer style per preset.

im still not even sure what control layers do? i always disable them, so would having the idle off special ability on the main blade and then a multi phase special ability on the accent led work? or can you only have special abilities triggers on one blade?

i want the special ability to trigger both the idle off sound and a style change

ok i got it working! but the idle off audio tends to no turn off when you do the special ability. i know the ability is working because its triggering the colour change on the other blade style but wont do the idle off sound at the same time. not sure why.

That sounds like you have 2 control layers in the same preset.

EDIT: or it could be related to the bug reported here (ProffieOS7 Style Library Phase 4 (Early Access) - Q & A - #82 by Fett263)
I’m going to have to test out some fixes this weekend, there is something acting up in the Idle Off just need time to get it sorted.

The control layer is what makes the Special Ability run. If you want to use Phase Change and Toggle Idle Off in the same preset. Set those Special Abilities in your main blade.

Then go back and create your Accent style. The library will automatically disable the Control Layer but will keep everything else the same for the Accent.

This prevents you from having more than one Control Layer in the preset. If you add more than one Control Layer style to a preset it will cause conflicts and not work properly.

i cant set both to the main blade as the phase change is only for the accent LED and not the main blade, im pretty sure that i don’t have a control layer set, could setting one help fix the issue? checked the bug in the other thred, im using secial ability 8 rather than 5, not sure if that a relevant difference but could be important. like the person in the other thread said if you need testers im happy to help.