fiduciary

Author Topic: Hum not working ... Sometimes  (Read 1422 times)

0 Members and 1 Guest are viewing this topic.

Offline jaylakejr

  • No Force
  • *
  • Posts: 28
  • Um...Hello?
Hum not working ... Sometimes
« on: September 21, 2019, 02:41:21 PM »
I have a super bizarre issue. I have two fonts that dont work... sometimes. So what happens is if I boot the saber into the fonts in question I get all sounds except for the hum. If I go to a different working font, power on the saber, power off the saber then go into the font in question I get the hum. Then power off the saber and power on the saber again no hum. It is driving me crazy! Anyone know how to resolve this?

Offline erv

  • Plecter Labs Inc. "Keeper of the Buttered Toast"
  • Manufacturer
  • Master Force User
  • *
  • Posts: 4920
  • Formerly known as Irvin PLECTER
    • Plecter Labs - Props Electronics
Re: Hum not working ... Sometimes
« Reply #1 on: September 22, 2019, 03:52:18 AM »
Without knowing which board it concerns and which fonts it is about, it's hard to answer.
Also, poly or mono font?

Offline jaylakejr

  • No Force
  • *
  • Posts: 28
  • Um...Hello?
Re: Hum not working ... Sometimes
« Reply #2 on: September 22, 2019, 05:03:15 AM »
Sorry, this is with the CFX and the supplied Obi wan font.

Offline erv

  • Plecter Labs Inc. "Keeper of the Buttered Toast"
  • Manufacturer
  • Master Force User
  • *
  • Posts: 4920
  • Formerly known as Irvin PLECTER
    • Plecter Labs - Props Electronics
Re: Hum not working ... Sometimes
« Reply #3 on: September 22, 2019, 09:35:33 PM »
Would you have a video of this? No hum but power on and other fx work?

Offline jaylakejr

  • No Force
  • *
  • Posts: 28
  • Um...Hello?
Re: Hum not working ... Sometimes
« Reply #4 on: October 04, 2019, 08:41:02 AM »
Weird issue, but its fixed just reformatted the card copied the files back in and its working fine now.

Offline erv

  • Plecter Labs Inc. "Keeper of the Buttered Toast"
  • Manufacturer
  • Master Force User
  • *
  • Posts: 4920
  • Formerly known as Irvin PLECTER
    • Plecter Labs - Props Electronics
Re: Hum not working ... Sometimes
« Reply #5 on: October 28, 2019, 08:55:56 AM »
I was able to reproduce this : I had one hum.wav and one humM1.wav in the same folder (WIP font). The font lookup routines counted both as hum files and the heuristics decided polyphonic font based on the presence of humM1 but at the end it considered 2 available hum
As a result, it tried to pick sometimes humM1.wav and sometimes (randomly) humM2.wav since the board supports multi hums in polyphonic mode, but obviously, humM2 didn't exist => silence.
Logging this over the serial port would tell you so. I just removed the hum.wav from the font and it works normally. The 2 files shouldn't be in the same directory anyways since it could confuse poly vs mono mode, the naming is used to differentiate.
(obviously, I can always strengthen this in the code) 

 

retrousse