# USB audio on a Raspberry PI

**URL:** https://discourse.nodered.org/t/usb-audio-on-a-raspberry-pi/36133
**Category:** Dashboard
**Created:** [18 November 2020 12:40 UTC](https://discourse.nodered.org/t/usb-audio-on-a-raspberry-pi/36133 "2020-11-18T12:40:46Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)
#### Post date: [18 November 2020 19:23 UTC](https://discourse.nodered.org/t/usb-audio-on-a-raspberry-pi/36133/11 "2020-11-18T19:23:06Z")

</div>

> [@blackwellj](#):
>
> I'm using a node to add the wav headers. Is there a way of buffering the audio so its not choppy?

As I said I think the problem is that you are streaming audio chunks and the dashboard node is playing each and every chunk individually and not treating it as a stream. So the problem is on the dashboard side.

Edit:  
Here is a link to thread where exactly this issue is discussed but I think never got resolved. Read from the post I linked onwards and you will see it’s exactly the issue I expected (fun fact the node you use to add wav headers was developed because of this):

> [@Play Sound from USB Microphone](https://discourse.nodered.org/t/play-sound-from-usb-microphone/2551/39):
>
> Hi @GChapo, @dceejay, I have been doing a lot of experiments, and finally I have now a solution that seems to be working. Since these were my first steps into the world of audio signals, don't hesitate to let me know if something is not correct ! [image] [{"id":"2852077b.af8aa8","type":"microphone","z":"279b8956.27dfe6","name":"microphone","endian":"little","bitwidth":"16","encoding":"signed-integer","channels":"1","rate":"22050","silence":"60","debug":false,"active":true,"x":950,"y":1220,"w…

So unless somebody picks up the proposed changes by Bart and does a working pull request on the dashboard audio out node it looks like it just doesn’t support streams.

---

_[View the full topic](https://discourse.nodered.org/t/usb-audio-on-a-raspberry-pi/36133)._
