Proffieboard V3 Smoothswing not working or delay on some fonts

The first few fonts on my new saber take a while for smoothswing to turn on, like 5 seconds. Sometimes it doesn’t activate. Other later fonts it works as expected. Does anyone have an idea as to why?

I think the fonts are all CFX fonts, BEspin, Unhinged, Vader etc. Could this be it?

It shouldn’t be, CFX fonts are supported.

What version of ProffieOS are you using?
Does it say anything interesting in the serial monitor?
What speed is the SD card set to in Arduino → Tools → SD ?

ProffieOS 7.7.
I havent checked the serial monitor
SD card high speed

I downloaded the fonts back in 2019. They’ve always worked in the past with my 2.2s. This is my first install with a 3.9. Again other fonts are working totally normally, just the ones that say CFX. I believe they are all Genesis Custom Workshop fonts.

Do you believe it could be something with this board? Or something about the software/sound fonts. I am leaning that way since it works with other fonts totally fine, but also weird its the first few fonts giving it trouble.

Well, my first thought was that it had something to do with the SD card.
However, it may be something weird going on with CFX fonts.
Could you share the fonts with me in a PM, I could try them and see if I can figure what the problem is.
Please do check the serial monitor if you get a chance though.

1 Like

Also, you might want to try setting the SD card to the lower speed and see if that helps.

Thanks so much. You’re the greatest. I’ll send it now and try those out.

I just made my account, so I will send as soon as I get access to PMs.

Could just email them to me. (hubbe@hubbe.net)
They might go to my spam folder, but if you let me know that you did it in this thread, I should be able to find it. :slight_smile:

1 Like

Just sent it your way. Tried the slower SD option but not much of a change. Thanks again!

Well, I did find a bug. However I’m not sure if it’s the bug you are experiencing or not. Please try the latest ProffieOS from github master and see if it helps you.
(Let me know if you need help with pulling the latest github master code.)

Thanks again! I cloned master and gave it a try but still running into the same issue.

Here is my serial output from some test. I started the hilt on the font, ran a sd speed test. I’m not totally sure how to interpret results.


Time to open files: Average time: 4197.90 us
                                                                                                    
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                           .     .                      .                          :
                                           :     :    .     .     :     :     .          .     .   :
                                           :     :    ::    ::    :     :     :.   ::    :.    :   :
x100us              1                   2                   3                   4                   5
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
Time to read blocks: Average speed: 1682.74 kb/s, 19.08 simultaneous audio streams.
      .                                                                                             
      :                                                                                             
     ::                                                                                             
     ::                                                                                             
     ::                                                                                             
     ::                                                                                             
     ::                                                                                             
     ::                                                                                             
     ::                                                                                             
    :::                                                                                             
    :::..... ....                                                                                   
x100us              1                   2                   3                   4                   5
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
Battery voltage: 4.02
Unmounting SD Card.
Battery voltage: 4.02
Motion disable.
Battery voltage: 4.02
I2C sleeping..
Battery voltage: 4.02
Battery voltage: 4.02
$Id: ce12a06a1e236b5101ec60c950530a9a4719a74d $
config/heartofsiberia.h
prop: Saber
buttons: 2
installed: May 26 2023 08:01:09
Battery voltage: 4.02
Battery voltage: 4.02
Ignition.
unit = 0 vol = 0.50, Playing Unhinged CFX SS/poweron.wav
channels: 1 rate: 22050 bits: 16
Motion chip ... I2C init..
106 found.
Playing Unhinged CFX SS/hum.wav
channels: 1 rate: 22050 bits: 16
unit = 1 vol = 0.00, Playing Unhinged CFX SS/lswing3.wav
channels: 1 rate: 44100 bits: 16
unit = 2 vol = 0.00, Playing Unhinged CFX SS/hswing3.wav
channels: 1 rate: 44100 bits: 16
Playing Unhinged CFX SS/lswing3.wav
channels: 1 rate: 44100 bits: 16
Playing Unhinged CFX SS/hswing3.wav
channels: 1 rate: 44100 bits: 16
unit = 2 vol = 0.00, Playing Unhinged CFX SS/lswing1.wav
channels: 1 rate: 44100 bits: 16
unit = 2 vol = 0.00, Playing Unhinged CFX SS/hswing3.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash ON millis=114609
unit = 3 vol = 0.50, Playing Unhinged CFX SS/clash13.wav
channels: 1 rate: 22050 bits: 16
Playing Unhinged CFX SS/hum.wav
channels: 1 rate: 22050 bits: 16
unit = 2 vol = 0.00, Playing Unhinged CFX SS/lswing1.wav
channels: 1 rate: 44100 bits: 16
unit = 1 vol = 0.00, Playing Unhinged CFX SS/hswing1.wav
channels: 1 rate: 44100 bits: 16
Battery voltage: 4.14
unit = 0 vol = 0.50, Playing Unhinged CFX SS/pwroff2.wav
channels: 1 rate: 22050 bits: 16
No sounds found: pstoff
Amplifier off.
Unmounting SD Card.
Booster off.
Ignition.
unit = 3 vol = 0.50, Playing Unhinged CFX SS/poweron.wav
channels: 1 rate: 22050 bits: 16
Playing Unhinged CFX SS/hum.wav
channels: 1 rate: 22050 bits: 16
unit = 1 vol = 0.00, Playing Unhinged CFX SS/lswing3.wav
channels: 1 rate: 44100 bits: 16
unit = 2 vol = 0.00, Playing Unhinged CFX SS/hswing3.wav
channels: 1 rate: 44100 bits: 16
unit = 1 vol = 0.00, Playing Unhinged CFX SS/lswing4.wav
channels: 1 rate: 44100 bits: 16
unit = 2 vol = 0.00, Playing Unhinged CFX SS/hswing4.wav
channels: 1 rate: 22050 bits: 16
unit = 1 vol = 0.00, Playing Unhinged CFX SS/lswing4.wav
channels: 1 rate: 44100 bits: 16
unit = 2 vol = 0.00, Playing Unhinged CFX SS/hswing4.wav
channels: 1 rate: 22050 bits: 16
Playing Unhinged CFX SS/lswing4.wav
channels: 1 rate: 44100 bits: 16
unit = 0 vol = 0.50, Playing Unhinged CFX SS/poweroff.wav
channels: 1 rate: 22050 bits: 16
No sounds found: pstoff
Amplifier off.
Unmounting SD Card.
Booster off.
Battery voltage: 4.02
Motion disable.
I2C sleeping..
Battery voltage: 4.02
Battery voltage: 4.02
Whut? :sd
Playing Unhinged CFX SS/color.wav
I
Playing Unhinged CFX SS/drag.wav
HIIIJIIJ
Playing Unhinged CFX SS/hswing1.wav
IIIIIIIIJJKLLLLLLMMMM
Playing Unhinged CFX SS/hswing2.wav
GHHHHIHIIIIIIIHIIIIII
Playing Unhinged CFX SS/hswing3.wav
HHHHHHIHHIIIIIIJ
Playing Unhinged CFX SS/hswing4.wav
GHHHHIHHIHIIIIJJMM
Playing Unhinged CFX SS/lswing1.wav
LMMMMLLLLLLLMMMMMMMMM
Playing Unhinged CFX SS/lswing2.wav
IIHGHHHHHHHIHIIIIII
Playing Unhinged CFX SS/lswing3.wav
MMHHHHIHHIIIIIIJ
Playing Unhinged CFX SS/lswing4.wav
GHHHHHHIHIIIIIII
Playing Unhinged CFX SS/endlock1.wav

Playing Unhinged CFX SS/endlock2.wav

Playing Unhinged CFX SS/endlock3.wav

Playing Unhinged CFX SS/endlock4.wav
I
Playing Unhinged CFX SS/font.wav

Playing Unhinged CFX SS/poweronf.wav
I
Playing Unhinged CFX SS/lockup.wav
IILMMMMM
Playing Unhinged CFX SS/blaster2.wav

Playing Unhinged CFX SS/blaster3.wav

Playing Unhinged CFX SS/blaster4.wav

Playing Unhinged CFX SS/blaster.wav

Playing Unhinged CFX SS/stab1.wav

Playing Unhinged CFX SS/stab2.wav

Playing Unhinged CFX SS/stab3.wav

Playing Unhinged CFX SS/stab4.wav

Playing Unhinged CFX SS/force2.wav
I
Playing Unhinged CFX SS/force.wav
II
Playing Unhinged CFX SS/clash1.wav

Playing Unhinged CFX SS/clash2.wav

Playing Unhinged CFX SS/clash3.wav

Playing Unhinged CFX SS/clash4.wav
M
Playing Unhinged CFX SS/clash5.wav

Playing Unhinged CFX SS/clash6.wav
M
Playing Unhinged CFX SS/clash7.wav

Playing Unhinged CFX SS/clash8.wav

Playing Unhinged CFX SS/clash9.wav

Playing Unhinged CFX SS/clash10.wav

Playing Unhinged CFX SS/clash11.wav

Playing Unhinged CFX SS/clash12.wav

Playing Unhinged CFX SS/clash13.wav
Playing Unhinged CFX SS/clash14.wav

Playing Unhinged CFX SS/clash15.wav

Playing Unhinged CFX SS/clash16.wav

Playing Unhinged CFX SS/pwroff2.wav

Playing Unhinged CFX SS/poweroff.wav

Playing Unhinged CFX SS/poweron2.wav
I
Playing Unhinged CFX SS/poweron3.wav
J
Playing Unhinged CFX SS/poweron4.wav
I
Playing Unhinged CFX SS/poweron.wav
M
Playing Unhinged CFX SS/swing1.wav

Playing Unhinged CFX SS/swing2.wav
Playing Unhinged CFX SS/swing3.wav

Playing Unhinged CFX SS/swing4.wav

Playing Unhinged CFX SS/swing5.wav

Playing Unhinged CFX SS/swing6.wav

Playing Unhinged CFX SS/swing7.wav

Playing Unhinged CFX SS/swing8.wav

Playing Unhinged CFX SS/swing9.wav

Playing Unhinged CFX SS/swing10.wav

Playing Unhinged CFX SS/swing11.wav

Playing Unhinged CFX SS/swing12.wav

Playing Unhinged CFX SS/swing13.wav

Playing Unhinged CFX SS/swing14.wav
Playing Unhinged CFX SS/swing15.wav

Playing Unhinged CFX SS/swing16.wav

Playing Unhinged CFX SS/hum.wav
GGGHGGHGHHHHIHHIHIIIIJI
Playing Unhinged CFX SS/boot.wav

Time to open files: Average time: 4197.90 us
                                                                                                    
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                           .     .                      .                          :
                                           :     :    .     .     :     :     .          .     .   :
                                           :     :    ::    ::    :     :     :.   ::    :.    :   :
x100us              1                   2                   3                   4                   5
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
Time to read blocks: Average speed: 1682.74 kb/s, 19.08 simultaneous audio streams.
      .                                                                                             
      :                                                                                             
     ::                                                                                             
     ::                                                                                             
     ::                                                      
 ::                                                                                             
     ::                                                                                             
     ::                                                                                             
     ::                                                                                             
    :::                                                                                             
    :::..... ....                                                                                   
x100us              1                   2                   3                   4                   5
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
Battery voltage: 4.02
Unmounting SD Card.
Battery voltage: 4.02


Full serial output there. Sorry first one didn’t copy it all.

I’m not sure if I tested the correct commands so just let me know if I should be running anything else.

Could it be a bad smoothsw.ini settings?

The sdtest output looks reasonable, although the time to open files is high for some reason;

Normally, this should be below 3000us.
It could be that you have a deeper directory structure than needed, or it could be a bunch of mac metadata files getting in the way, I’m not sure. It may be worth trying to format the sd card, put the files back and see if this improves.

One more question: This delay you’re seeing, does it happen when the board is not connected to a computer?