Jump to content

Audio signals


Sarah83

Recommended Posts

Hi,

is it possible to send some audio signals e.g. .wav from one port to an other port over LV?

Now I send only stings (numbers and text).

I like to test a signal, I will sent it from one port to an other port and after this I will compare both signals with a graph, but I don't know if I can sent .wav, too.

Link to comment
Hi,

is it possible to send some audio signals e.g. .wav from one port to an other port over LV?

Now I send only stings (numbers and text).

I like to test a signal, I will sent it from one port to an other port and after this I will compare both signals with a graph, but I don't know if I can sent .wav, too.

1543[/snapback]

If you use SI Read.vi (Sound Input) you will get sound arrays:

1D [i8] for mono 8-bit sound

1D [i16] for mono 16-bit sound

2D [i8] for mono 8-bit sound

2D [i16] for mono 16-bit sound

depend what configuration (SI Cinfig.vi) you use.

There is few method to send it as string:

1. from String subpalete: Array to Spreadsheet String

or

2. from Advanced>>Data Manipulation subpalett : function TypeCast :

- to input connect sound array from SI Read.vi

- to type connect empty string

output will be string

When you recieve string from serialport you sholul use just this method like when you send audio to serial.so

regards

Mikrobi

Link to comment
There is few method to send it as string:

1. from String subpalete: Array to Spreadsheet String

or

2. from Advanced>>Data Manipulation subpalett : function TypeCast :

  - to input connect sound array from SI Read.vi

  - to type connect empty string

  output will be string

When you recieve string from serialport you sholul use just this method like when you send audio to serial.so use Type Cast and connect to input string from serial port and to type input connect I8 or I16 array

regards

Mikrobi

1544[/snapback]

I think, the Type Cast method will be the best method.

regards

Mikrobi

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.