LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out our General Code Repository Files. Also, before posting here, check to see if your post doesn't fit into another subforum by category.


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Audio signals
Sarah83
post Aug 26 2004, 09:41 AM
Post #1


Very Active
***

Member
Posts: 216
Joined: 6-August 04
From: Sachsenheim D-74343 Germany
Member No.: 582
LV:7.1.1
Germany Nothing Selected Nothing Selected


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.

--------------------
Regards, Sarah.
BMW E30, My Home


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Aug 26 2004, 09:41 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Mikrobi
post Aug 26 2004, 10:17 AM
Post #2


Very Active
***

Member
Posts: 61
Joined: 11-February 03
From: Krakow, POLAND
Member No.: 62
Using LabVIEW Since:1999
LV:5.0 ,8.0.1 ,8.20
Poland Nothing Selected Nothing Selected


QUOTE (Sarah83 @ Aug 26 2004, 04:41 AM)
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.
*


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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Mikrobi
post Aug 26 2004, 11:22 AM
Post #3


Very Active
***

Member
Posts: 61
Joined: 11-February 03
From: Krakow, POLAND
Member No.: 62
Using LabVIEW Since:1999
LV:5.0 ,8.0.1 ,8.20
Poland Nothing Selected Nothing Selected


QUOTE
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
*


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

regards
Mikrobi


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 8th January 2009 - 01:37 AM