# TypeError: arraySequence\[0\] is undefined

**URL:** <https://discourse.processing.org/t/typeerror-arraysequence-0-is-undefined/22005>\
**Category:** Libraries\
**Created:** [June 19, 2020, 6:55pm UTC](https://discourse.processing.org/t/typeerror-arraysequence-0-is-undefined/22005 "2020-06-19T18:55:06Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![antocreo](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@antocreo](https://discourse.processing.org/u/antocreo)\
**Post date:** [June 21, 2020, 11:44pm UTC](https://discourse.processing.org/t/typeerror-arraysequence-0-is-undefined/22005/3 "2020-06-21T23:44:37Z")

</div>

Hi @slow_izzm, thanks for replying.  
I didn’t post the code because it’s too long and I wouldn’t know which part is relevant to be honest. I’ve extracted the code relative to the audio part ([here](https://discourse.processing.org/t/p5js-sound-and-safari/20880/3)) and it works fine, no errors in the console. However, the only `arraySequence[0]` available in my scripts is in the ps5-sound library, I think it relates to the buffer ([here](https://github.com/processing/p5.js-sound/pull/376/files/d423aecf614618de21ef6c172cb95e6ba5c99eef)). So it should be that, crashing with some other thing in the code, no idea what.  
The app works just fine a part from this error in the console which exists only in Firefox.  
I was just wondering if anyone encountered a similar problem or had a hint to what I could look at to start debugging. It’s more about curiosity at this point.

cheers

---

_[View the full topic](https://discourse.processing.org/t/typeerror-arraysequence-0-is-undefined/22005)._
