LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Audio input using TCP

Hi , I am doing a project to video chat in labview using TCP between 2 PC .

Currently I have only 1 webcam and 1 mic so I am try write a program to send sound / image from the server to the client.

There are 3 parts to it : - image (done)

                                  - audio

                                  - image+audio

 

I have done the image part where the client display what the server is webcam is capturing.

I have problem with the transferring audio input from server to client. Is there any example where I can take a look at as I can't  seem to find any related to what I need.

 

TYVM

0 Kudos
Message 1 of 13
(3,908 Views)

I remember there's a sound card example in Example Finder that you could you for recieve data from microphone as array of number or waveform.

Then, you can send this array over TCP/IP, and use a sound card to play it back.

I think there's an example for this also.

0 Kudos
Message 2 of 13
(3,880 Views)

I remember there's a sound card example in Example Finder that you could you for recieve data from microphone as array of number or waveform.

Then, you can send this array over TCP/IP, and use a sound card to play it back.

I think there's an example for this also.

0 Kudos
Message 3 of 13
(3,880 Views)

Hi , I can't find this example that you stated. I try typing the keyword sound , TCP and audio input.

0 Kudos
Message 4 of 13
(3,870 Views)

Hi,

I am trying to transmit image via TCP..

 

may i know how you work with it?

 

regards,

thanks in advance!

0 Kudos
Message 5 of 13
(3,867 Views)

Help>>Find Examples>>Hardware Input and Output>>Sound

0 Kudos
Message 6 of 13
(3,854 Views)

@ ElsaYue

 

 I use the grab and save image example vi in labview and flatten image to string to send to client vi and use unflatten string to image to read the image in client.

 

 

Back on topic , I manage to find an example to send sound but keep getting the error " memory not enough to complete operation"

Message 7 of 13
(3,829 Views)

Hi,

 

Thanks!

 

Elsa

0 Kudos
Message 8 of 13
(3,807 Views)

Can anybody tell me am I doing it right? I keep getting the error " memory not enough " , " memory is full ".

Btw I am transferring them on the same PC.

 

I attached my VIs.

 

THX

Download All
0 Kudos
Message 9 of 13
(3,776 Views)

You keep flooding data in TCP server while client just run once and stop.
That could cause a problem.

0 Kudos
Message 10 of 13
(3,760 Views)