getByteFrequencyData not fill at first starts

User Help for Seamonkey and Mozilla Suite
Post Reply
Diamanti
Posts: 779
Joined: June 12th, 2008, 9:02 am

getByteFrequencyData not fill at first starts

Post by Diamanti »

I have this script to view bars.
It works fine in Firefox every.
Instead in Seamonkey it does not work, immediately after the first start of the browser.
getByteFrequencyData return 0 filled Uint8Array.
To work I have to refresh page many times.
Also with addons disabled.
Do it is a bug?
Last edited by Diamanti on October 12th, 2022, 10:43 am, edited 1 time in total.
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: getByteFrequencyData not fill at first starts

Post by therube »

Music to my ears, every time I restart.
So, working on my end.
And nothing noted (that I saw) in Error Console.

What version of SeaMonkey are you running?


Oh.
If you're meaning the bars themselves, no they do not work.
(Had to look in FF to see the difference.)
And on that end, I'd have no clue?



(But the important part, the music, does ;-).)
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Diamanti
Posts: 779
Joined: June 12th, 2008, 9:02 am

Re: getByteFrequencyData not fill at first starts

Post by Diamanti »

getByteFrequencyData is relate to bars.
Music important but visualization complete.
So you confirm that there is this problem.
Diamanti
Posts: 779
Joined: June 12th, 2008, 9:02 am

Re: getByteFrequencyData not fill at first starts

Post by Diamanti »

At the same time getByteTimeDomainData work fine.
Not problem with PaleMoon.
User avatar
Frank Lion
Posts: 21178
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: getByteFrequencyData not fill at first starts

Post by Frank Lion »

Diamanti wrote:I have this script to view bars.
Write better basic HTML code?

https://validator.w3.org/nu/?showsource ... Fvisu.html
Error Console wrote: Error: The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.
Source File: https://interno.altervista.org/temp/visu.html
Line: 0
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
Diamanti
Posts: 779
Joined: June 12th, 2008, 9:02 am

Re: getByteFrequencyData not fill at first starts

Post by Diamanti »

Frank Lion wrote:Write better basic HTML code?
I do not write the code for beauty but to represent a problem.
The errors on the page are completely indifferent to the problem.
However, as I have corrected beauty errors on the page, can you explain and correct this bug in SeaMonkey?
User avatar
Frank Lion
Posts: 21178
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: getByteFrequencyData not fill at first starts

Post by Frank Lion »

Diamanti wrote: I do not write the code for beauty ...
However, as I have corrected beauty errors on the page
Basic functional HTML coding is not 'beautifying' anything and SM not knowing which character encoding to use could easily have been your problem there.

Site works OK for me, but feel free to file a proper bug on BugZilla for this edge case, if you feel the need.

Good luck.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
Diamanti
Posts: 779
Joined: June 12th, 2008, 9:02 am

Re: getByteFrequencyData not fill at first starts

Post by Diamanti »

Frank Lion wrote: Basic functional HTML coding is not 'beautifying' anything and SM not knowing which character encoding to use could easily have been your problem there.
Site works OK for me
Do you mean that bars works after browser restart or verification pass?
Validate or not, the problem is the same in Seamonkey and not have in Firefox and Polemoon for me and therube.
Diamanti
Posts: 779
Joined: June 12th, 2008, 9:02 am

Re: getByteFrequencyData not fill at first starts

Post by Diamanti »

Bug opened.
frg
Posts: 1361
Joined: December 15th, 2015, 1:20 pm

Re: getByteFrequencyData not fill at first starts

Post by frg »

2.57 does the same. I didn't find an open or closed bug for this in the mozilla code. 2.49 is not affected so it is likely something deep in the media code. If Firefox works it should go away eventually. Don't have time to debug this currently. Sorry.
Diamanti
Posts: 779
Joined: June 12th, 2008, 9:02 am

Re: getByteFrequencyData not fill at first starts

Post by Diamanti »

if it can help:
2.53.9, 2.53.14 and 2.40 have bug.
2.53.8.1, 2.53.8, 2.53.6, 2.53.3, 2.53.1 instead work fine.

It seems that the problem was born in 2.53.9 (With a parenthesis in 2.40).
Post Reply