ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sound Write Buffer

I am trying to receive UDP packets, which are at a slow rate, around 1.5k.  Each packet includes 2 consecutive sound samples, so an audio sample rate of 3k.  I'd like to set up the sound writing VI to continuously play them as they are received.  I can't seem to get it to work. 

 

What I did get to work was to buffer the samples first, then play the buffer, but then the buffer resets to refill, and my sound becomes choppy. 

 

Any thoughts? 

 

Thanks

 

 

0 Kudos
Message 1 of 2
(2,615 Views)

hi AdamOL23,

   Please send only sample in sinlge UDP packet at a sampling rate of 1.5k..I think the reason for chopping sound is the sampling rate problem.

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 2
(2,600 Views)