Trouble with sounds

Hello everyone! I am having trouble with my sound fonts/Arduino not changing my config file after uploading. When I switch presets via Fett263 1 button config, going from preset 1-33/Battery indicator works fine for a good amount of them (some don’t play sound from the font.wav in that specific preset). But going backwards Battery/Preset 33-1 a good amount of them don’t play the selected font sound. My config presets looks correct based on all the hours of videos I watched for example: { Kylo;common", β€œcommon/tracks/TFA_Battle.wav”,

I did everything for Arduino as well.

  • I’m on OS 7.8
  • Preferences link
  • Proffieboard by Fredrik 3.6 for Boardsmanager
  • Under tools I am using Board: Proffieboard v2
  • My port says COM3 (Butterfly-L433CC, Proffieboard, ProffieBoard V2, Proffieboard V3)
  • USB: Serial+Mass Storage+WebUSB
  • Programmer: STM32 BOOTLOADER
  • My COM3 Serial Driver is: C:\WINDOWS\system32\DRIVERS\usbser.sys

All of fett263s blade styles/colors and effects work perfectly (your work is amazing!)
This config file is under ProffieOS > config > jonsaber_config.h

I don’t get a countdown error because I have the proffie drivers
Everything uploads too 100% without errors however when I click upload, at the bottom right while my board is connected via micro usb (I bought the one Lando Sabers uses in his description) , but when ProffieOS finishes sketching the upload, the bottom right Proffieboard V2 on COM3 disconnects right when the upload begins. I hear the windows disconnect beep, and it goes to Proffieboard V2 [not connected] before 1% of the upload. Like I said it uploads to 100% under Arduino but I dont think my config is changing.
Also even when I heard the windows disconnect sound when upload sketch finishes and it begins the upload from 0%-100%, Proffieboard doesn’t get removed in devices and printers in the control panel.
Thank you so much!

Disconnecting after uploading is normal as the board initializes.
Not sure your exact question though, what seems to be the problem, it doesn’t play font.wav if yougo to previous presets but does if you go to next?
Never heard of that and not sure why previous would act differently than next.
Maybe describe exactly what you are doing, button presses, blade angle, etc or a video?

Yes so the .wav plays normally with blade facing up when going from preset to preset however the .wav doesn’t play for most presets when selecting previous presets with blade facing down.

Also most of the tracks don’t play the .wav either my button just flashes and thats it

Maybe hook up to Serial Monitor and see what it says? No idea what would cause that unless you SD is unseating?
Maybe try Scroll Presets menu and rotate backwards instead of pointing down?

I just tried it same issue. Preset mode, turn blade clockwise I hear the font.wav files playing like normally but turning counter clockwise my button again just flashes quickly with the font.wav not playing

If you use the β€œn” and β€œp” commands (for next and previous) in the serial monitor. Do you get the same issue?

15:05:03.535 β†’ Unmounting SD Card.

15:05:03.535 β†’ Amplifier off.

15:05:03.785 β†’ Style RAM = 1472

15:05:03.785 β†’ Scanning sound font: Mando done

15:05:03.831 β†’ Scanning sound font: common done

15:05:03.876 β†’ WARNING, wav player still referenced!

15:05:03.922 β†’ Activating polyphonic font.

15:05:03.922 β†’ Activating SmoothSwing V2

15:05:03.922 β†’ Accent Swings Enabled.

15:05:03.922 β†’ Polyphonic swings: 9

15:05:03.922 β†’ Monophonic swings: 0

15:05:03.922 β†’ Accent Slashes NOT Detected:

15:05:03.965 β†’ DISPLAY: preset 3

15:05:03.965 β†’ unit = 1 vol = 0.50, Playing Mando/font/font.wav

15:05:03.965 β†’ channels: 2 rate: 48000 bits: 16

15:05:03.965 β†’ Unsupported rate.

15:05:03.998 β†’ Unmounting SD Card.

15:05:03.998 β†’ Amplifier off.

15:05:07.033 β†’ Battery voltage: 0.99

15:05:10.602 β†’ Style RAM = 1488

15:05:10.602 β†’ Scanning sound font: Asc done

15:05:10.690 β†’ Scanning sound font: common done

15:05:10.725 β†’ WARNING, wav player still referenced!

15:05:10.725 β†’ Activating polyphonic font.

15:05:10.758 β†’ Activating SmoothSwing V2

15:05:10.758 β†’ Accent Swings Enabled.

15:05:10.758 β†’ Polyphonic swings: 16

15:05:10.758 β†’ Monophonic swings: 0

15:05:10.758 β†’ Accent Slashes NOT Detected:

15:05:10.797 β†’ DISPLAY: preset 4

15:05:10.797 β†’ unit = 1 vol = 0.50, Playing Asc/font/font.wav

15:05:10.834 β†’ Unmounting SD Card.

15:05:10.834 β†’ Amplifier off.

15:05:14.583 β†’ Style RAM = 1488

15:05:14.583 β†’ Scanning sound font: Maul done

15:05:14.629 β†’ Scanning sound font: common done

15:05:14.675 β†’ WARNING, wav player still referenced!

15:05:14.719 β†’ Activating polyphonic font.

15:05:14.719 β†’ Activating SmoothSwing V2

15:05:14.719 β†’ Accent Swings Enabled.

15:05:14.719 β†’ Polyphonic swings: 16

15:05:14.719 β†’ Monophonic swings: 0

15:05:14.719 β†’ Accent Slashes NOT Detected:

15:05:14.752 β†’ DISPLAY: preset 5

15:05:14.752 β†’ unit = 1 vol = 0.50, Playing Maul/font/font.wav

15:05:14.752 β†’ channels: 1 rate: 44100 bits: 16

These are the serial messages from presets 1-5 using n

From 5-1 using p:
15:06:51.833 β†’ unit = 1 vol = 0.50, Playing Asc/font/font.wav

15:06:51.833 β†’ channels: 1 rate: 44100 bits: 16

15:06:53.256 β†’ Unmounting SD Card.

15:06:53.288 β†’ Amplifier off.

15:06:56.542 β†’ Style RAM = 1472

15:06:56.542 β†’ Scanning sound font: Mando done

15:06:56.588 β†’ Scanning sound font: common done

15:06:56.631 β†’ WARNING, wav player still referenced!

15:06:56.664 β†’ Activating polyphonic font.

15:06:56.664 β†’ Activating SmoothSwing V2

15:06:56.664 β†’ Accent Swings Enabled.

15:06:56.664 β†’ Polyphonic swings: 9

15:06:56.664 β†’ Monophonic swings: 0

15:06:56.664 β†’ Accent Slashes NOT Detected:

15:06:56.710 β†’ DISPLAY: preset 3

15:06:56.710 β†’ unit = 1 vol = 0.50, Playing Mando/font/font.wav

15:06:56.710 β†’ channels: 2 rate: 48000 bits: 16

15:06:56.710 β†’ Unsupported rate.

15:06:56.756 β†’ Unmounting SD Card.

15:06:56.756 β†’ Amplifier off.

15:07:00.866 β†’ Style RAM = 1488

15:07:00.866 β†’ Scanning sound font: ANH done

15:07:00.987 β†’ Scanning sound font: common done

15:07:01.020 β†’ WARNING, wav player still referenced!

15:07:01.066 β†’ Activating polyphonic font.

15:07:01.066 β†’ Activating SmoothSwing V2

15:07:01.066 β†’ Accent Swings Enabled.

15:07:01.066 β†’ Polyphonic swings: 16

15:07:01.066 β†’ Monophonic swings: 0

15:07:01.066 β†’ Accent Slashes NOT Detected:

15:07:01.098 β†’ DISPLAY: preset 2

15:07:01.098 β†’ unit = 1 vol = 0.50, Playing ANH/font/font.wav

15:07:01.145 β†’ Unmounting SD Card.

15:07:01.145 β†’ Amplifier off.

15:07:04.899 β†’ Style RAM = 1452

15:07:04.899 β†’ Scanning sound font: Kylo done

15:07:04.944 β†’ Scanning sound font: common done

15:07:04.990 β†’ WARNING, wav player still referenced!

15:07:04.990 β†’ Activating polyphonic font.

15:07:04.990 β†’ Activating SmoothSwing V2

15:07:04.990 β†’ Accent Swings NOT Detected:

15:07:05.037 β†’ DISPLAY: preset 1

15:07:05.037 β†’ unit = 1 vol = 0.50, Playing Kylo/font/font.wav

15:07:05.037 β†’ channels: 1 rate: 44100 bits: 16

15:07:07.026 β†’ Battery voltage: 0.99

15:07:08.377 β†’ Unmounting SD Card.

15:07:08.410 β†’ Amplifier off.

Is this the problem?

it might be and thats going from 1-5, going from 5-1 only 5 and 1’s font.wav played

I don’t see all the DISPLAY: entries though.
In the top one I see 3, 4, 5
In the second one I see 3, 2, 1

This is kind of weird though.
It looks like it’s trying to play the wav file, but it doesn’t print out the number of channels, and no error message… Wonder what would cause that?

Here’s the full sorry when i was copy and pasting i thought it was grabbing all of it but the serial monitor cuts off the rest of it heres the full:

15:25:21.673 β†’ Style RAM = 1488
15:25:21.673 β†’ Scanning sound font: ANH done
15:25:21.792 β†’ Scanning sound font: common done
15:25:21.829 β†’ WARNING, wav player still referenced!
15:25:21.871 β†’ Activating polyphonic font.
15:25:21.871 β†’ Activating SmoothSwing V2
15:25:21.871 β†’ Accent Swings Enabled.
15:25:21.871 β†’ Polyphonic swings: 16
15:25:21.871 β†’ Monophonic swings: 0
15:25:21.871 β†’ Accent Slashes NOT Detected:
15:25:21.906 β†’ DISPLAY: preset 2
15:25:21.906 β†’ unit = 1 vol = 0.50, Playing ANH/font/font.wav
15:25:21.906 β†’ channels: 1 rate: 44100 bits: 16
15:25:27.065 β†’ Battery voltage: 1.03
15:25:28.433 β†’ Unmounting SD Card.
15:25:28.433 β†’ Amplifier off.
15:25:30.370 β†’ Style RAM = 1472
15:25:30.370 β†’ Scanning sound font: Mando done
15:25:30.445 β†’ Scanning sound font: common done
15:25:30.477 β†’ WARNING, wav player still referenced!
15:25:30.521 β†’ Activating polyphonic font.
15:25:30.521 β†’ Activating SmoothSwing V2
15:25:30.521 β†’ Accent Swings Enabled.
15:25:30.521 β†’ Polyphonic swings: 9
15:25:30.521 β†’ Monophonic swings: 0
15:25:30.521 β†’ Accent Slashes NOT Detected:
15:25:30.554 β†’ DISPLAY: preset 3
15:25:30.554 β†’ unit = 1 vol = 0.50, Playing Mando/font/font.wav
15:25:30.554 β†’ channels: 2 rate: 48000 bits: 16
15:25:30.554 β†’ Unsupported rate.
15:25:30.600 β†’ Unmounting SD Card.
15:25:30.600 β†’ Amplifier off.
15:25:35.499 β†’ Style RAM = 1488
15:25:35.499 β†’ Scanning sound font: Asc done
15:25:35.546 β†’ Scanning sound font: common done
15:25:35.590 β†’ WARNING, wav player still referenced!
15:25:35.623 β†’ Activating polyphonic font.
15:25:35.623 β†’ Activating SmoothSwing V2
15:25:35.623 β†’ Accent Swings Enabled.
15:25:35.623 β†’ Polyphonic swings: 16
15:25:35.623 β†’ Monophonic swings: 0
15:25:35.623 β†’ Accent Slashes NOT Detected:
15:25:35.670 β†’ DISPLAY: preset 4
15:25:35.670 β†’ unit = 1 vol = 0.50, Playing Asc/font/font.wav
15:25:35.717 β†’ Unmounting SD Card.
15:25:35.717 β†’ Amplifier off.
15:25:38.489 β†’ Style RAM = 1488
15:25:38.489 β†’ Scanning sound font: Maul done
15:25:38.565 β†’ Scanning sound font: common done
15:25:38.602 β†’ WARNING, wav player still referenced!
15:25:38.640 β†’ Activating polyphonic font.
15:25:38.640 β†’ Activating SmoothSwing V2
15:25:38.640 β†’ Accent Swings Enabled.
15:25:38.640 β†’ Polyphonic swings: 16
15:25:38.640 β†’ Monophonic swings: 0
15:25:38.640 β†’ Accent Slashes NOT Detected:
15:25:38.673 β†’ DISPLAY: preset 5
15:25:38.673 β†’ unit = 1 vol = 0.50, Playing Maul/font/font.wav
15:25:38.673 β†’ channels: 1 rate: 44100 bits: 16

15:22:50.996 β†’ Style RAM = 1488
15:22:50.996 β†’ Scanning sound font: Asc done
15:22:51.072 β†’ Scanning sound font: common done
15:22:51.105 β†’ WARNING, wav player still referenced!
15:22:51.105 β†’ Activating polyphonic font.
15:22:51.137 β†’ Activating SmoothSwing V2
15:22:51.137 β†’ Accent Swings Enabled.
15:22:51.137 β†’ Polyphonic swings: 16
15:22:51.137 β†’ Monophonic swings: 0
15:22:51.137 β†’ Accent Slashes NOT Detected:
15:22:51.183 β†’ DISPLAY: preset 4
15:22:51.183 β†’ unit = 1 vol = 0.50, Playing Asc/font/font.wav
15:22:51.183 β†’ channels: 1 rate: 44100 bits: 16
15:22:52.643 β†’ Unmounting SD Card.
15:22:52.643 β†’ Amplifier off.
15:22:56.181 β†’ Style RAM = 1472
15:22:56.181 β†’ Scanning sound font: Mando done
15:22:56.228 β†’ Scanning sound font: common done
15:22:56.271 β†’ WARNING, wav player still referenced!
15:22:56.308 β†’ Activating polyphonic font.
15:22:56.308 β†’ Activating SmoothSwing V2
15:22:56.308 β†’ Accent Swings Enabled.
15:22:56.308 β†’ Polyphonic swings: 9
15:22:56.308 β†’ Monophonic swings: 0
15:22:56.308 β†’ Accent Slashes NOT Detected:
15:22:56.351 β†’ DISPLAY: preset 3
15:22:56.351 β†’ unit = 1 vol = 0.50, Playing Mando/font/font.wav
15:22:56.351 β†’ channels: 2 rate: 48000 bits: 16
15:22:56.351 β†’ Unsupported rate.
15:22:56.384 β†’ Unmounting SD Card.
15:22:56.384 β†’ Amplifier off.
15:22:59.674 β†’ Style RAM = 1488
15:22:59.674 β†’ Scanning sound font: ANH done
15:22:59.766 β†’ Scanning sound font: common done
15:22:59.812 β†’ WARNING, wav player still referenced!
15:22:59.859 β†’ Activating polyphonic font.
15:22:59.859 β†’ Activating SmoothSwing V2
15:22:59.859 β†’ Accent Swings Enabled.
15:22:59.859 β†’ Polyphonic swings: 16
15:22:59.859 β†’ Monophonic swings: 0
15:22:59.859 β†’ Accent Slashes NOT Detected:
15:22:59.905 β†’ DISPLAY: preset 2
15:22:59.905 β†’ unit = 1 vol = 0.50, Playing ANH/font/font.wav
15:22:59.952 β†’ Unmounting SD Card.
15:22:59.952 β†’ Amplifier off.
15:23:03.000 β†’ Style RAM = 1452
15:23:03.000 β†’ Scanning sound font: Kylo done
15:23:03.079 β†’ Scanning sound font: common done
15:23:03.120 β†’ WARNING, wav player still referenced!
15:23:03.120 β†’ Activating polyphonic font.
15:23:03.120 β†’ Activating SmoothSwing V2
15:23:03.120 β†’ Accent Swings NOT Detected:
15:23:03.157 β†’ DISPLAY: preset 1
15:23:03.157 β†’ unit = 1 vol = 0.50, Playing Kylo/font/font.wav
15:23:03.157 β†’ channels: 1 rate: 44100 bits: 16
15:23:06.531 β†’ Unmounting SD Card.
15:23:06.531 β†’ Amplifier off.
15:23:07.057 β†’ Battery voltage: 0.99

Are you using β€œsmallest code”, or some other optimization level?

Yes under optimize it’s: smallest code i left it like that cause it was default

I wonder if maybe the β€œunsupported rate” error leaves the player in a bad state which makes it fail to play the next sound? (investigating…)

1 Like

yeah im not really sure why I’m getting that error im assuming that is the same reason my tracks don’t play either and flashes once quickly. I looked through the forums a lot because of font.wav and certain track .wav files not playing but found nothing.

1 Like

That error means that the file is in the wrong format for ProffieOS.
ProffieOS wants files that are PCM, Mono and 44100Hz (or 22050Hz)
ANH/font/font.wav is PCM, Stereo and 48000Hz for some reason.

1 Like

Thats strange it is the ANH Training sound pack from Kyberphonic is there a way to convert it to so PorffieOS can accept it?

1 Like