# File in and ui\_audio, sound not directly stopping

**URL:** <https://discourse.nodered.org/t/file-in-and-ui-audio-sound-not-directly-stopping/42485>\
**Category:** General\
**Created:** [11 March 2021 14:33 UTC](https://discourse.nodered.org/t/file-in-and-ui-audio-sound-not-directly-stopping/42485 "2021-03-11T14:33:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerxjac](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@jerxjac](https://discourse.nodered.org/u/jerxjac)\
**Post date:** [11 March 2021 14:33 UTC](https://discourse.nodered.org/t/file-in-and-ui-audio-sound-not-directly-stopping/42485/1 "2021-03-11T14:33:08Z")

</div>

Hi  
I use 'file in' and 'audio out' node to play a mp3 file  
the file in is set to "a single buffer object."  
When I pass a msg.reset to the 'audio out' node it should stop, but continues playing.  
It looks like it keep on playing until its buffer is emtpy.  
Is there a way to stop the sound instantly?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [11 March 2021 15:32 UTC](https://discourse.nodered.org/t/file-in-and-ui-audio-sound-not-directly-stopping/42485/2 "2021-03-11T15:32:40Z")

</div>

you have to set msg.reset to boolean true.

---

<div class="post-metadata">

**Author:** ![jerxjac](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@jerxjac](https://discourse.nodered.org/u/jerxjac)\
**Post date:** [11 March 2021 16:02 UTC](https://discourse.nodered.org/t/file-in-and-ui-audio-sound-not-directly-stopping/42485/3 "2021-03-11T16:02:56Z")

</div>

Sorry forgot to mention that  
Msg.reset  
boolean true.

that is what I did.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [11 March 2021 17:39 UTC](https://discourse.nodered.org/t/file-in-and-ui-audio-sound-not-directly-stopping/42485/4 "2021-03-11T17:39:11Z")

</div>

Which version of dashboard ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [10 May 2021 17:39 UTC](https://discourse.nodered.org/t/file-in-and-ui-audio-sound-not-directly-stopping/42485/5 "2021-05-10T17:39:13Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
