How can I separate Left and right audio channels in labview 8.5 tia sal22

How can I separate Left and right audio channels in labview
8.5 tia sal22
Greetings All
I have a working Labview vi that converts a math formula to an
audio signal.  I would like to have the
right and left audio channels playing different math audio signals is this
possible?
Example
Right channel -> plays the audio signal created by a math
formula
Left channel -> plays the audio signal created by another
math formula with adjustable phase control
I’ve included a VI with a working audio and math formula but
I’m not sure how to separate the left and right channels.
I’m using labview 8.5
I looked up a similar question on the
support board and it said” use an instance of the the Sound Output Write that
has a 1D waveform data type input (i.e.  Sound Output Write (DBL)). Each
element in the array would correspond to a channel.”
But I’m not exactly sure what he meant.  I’m using a formula to generate the wave file
Tia sal22
Attachments:
fixed mathscript formula to sound test.vi ‏680 KB

Sorry it took so long to get back.  Here's the new VI with it splitting out the left and right channels. 
I'm using a Gigaport HD 8 output usb audio device but I'm experience clicks and pops.  I increase the buffers
but I still get the clicks and pops.  I know gigaport HD can use ASIO drivers which most likely would solve the problem but one needs to code in C for this which I'm not proficient in.  Can someone recommend a work around to prevent this clicks and pops, can I somehow change my VI to fix this? Does anyone have a VI that will allow access to the ASIO latency properties?
I'm using labview 8.5
And a gigaport HD which is a USB audio device which outputs 8 analog signals (it is ASIO compatible)
tia sal22
Attachments:
lvt_audio_realtime-out left right device ID test.vi ‏68 KB

Similar Messages

  • How to separate left and right audio channels?

    I've imported some AVCHD footage that had audio recorded separately to each channel, left and right.  When I put a clip in my timeline, I can separate the audio tracks, but I can't edit them individually.  When I bring down the level to 0db on one track and play the clip, the audio meter still shows equal levels on both left and right channels.  Any advice?
    Second question - I transcoded some AVCHD footage to MP4 and can't figure out if the audio tracks remain separte after the transcoding.  I used Free MTS M2TS Converter to do the transcoding.  While I can choose 'dual mono" for an AVCHD clip, I do not have that same option for the MP4 clip.  It offers me "6 mono" but not dual mono. Any advice?
    My concern is that when I provide my clients with raw MP4 footage with right and left audio recorded separately, that they'll be able to edit each track individually. 
    Thanks!

    Thanks Tom.  I recorded 2-channel audio, not 5.1 surround.  Six mono was only an option on the MP4 clip.  I did change the channel configuration from stereo to dual mono on the AVCHD clip, but I still wasn't able to edit the audio independently.  Even when I mute one track, the audio meter still shows equal left and right levels.

  • How can I combine Left and Right audio?

    Hi,
    When I record video, one lapel mic records to the left channel and the other records to the right channel in one audio track. I can't seem to figure out how to combine them within Premiere Pro (I've already attempted searching the forums for more info). I know in Sony Vegas you can right click the single audio track and select "Combine" and it will combine the 2 channels so that when people watch the end product you have both voices coming out of both speakers.
    Any help would be appreciated.
    Thanks
    Kelly G.

    Hello,
    Yes i have the same issue.
    I use the duplicate Audio track and fill left and right all the time.
    when i am doing Interview videos i usually have one person on channel 1 and the other on channel 2 and it comes out as L and R in Premiere.
    Today i was shooting with myself on Channel 2 and a shotgun for some ambient sound on channel 1.
    In Vegas or FCP 7 there is a simple effect to drag and drop called " Combine" that nicely combines the L and R channels each into stereo.
    I used to use it quite a bit and think it would be a great addition to Premiere Pro.
    So i am wondering several years since this was first post if Premiere does in fact now have this option...and where it might be that i over looked it?
    If not.....is there an easier way to do this than the fill left and right method?
    Thanks so Much!
    Mark

  • My ipod's music quality is inferior. It doesnt have the surround sound/ left and right audio channel unlike my brothers ipod? is there a problem with the chip?

    I have an ipod touch 4g (8GB), I got this about 2.5 months ago, the same time my brother get his. My problem is that I noticed that audio quality is better on his device than mine. I have been listening to music and had different music devices before (non-Apple product and mobile phone) and the quality of music is better when I used to listen to those devices as well as my brother's ipod touch. Im referring to the left and right audio channels. Im not so good about the technical stuff but the best explanation I can give you is in a music or a movie, there's an effect wherein you can here a sound only at the left ear phone/speaker that you cant hear at the right earphone/speaker. I mean for example in a song, a guitar intro can be heared only at the left
    ear while the background music plays on the other ear. Or when theres and echo effect on the song that alternates sound on the left and right ear. I hope youre getting what Im trying to say. Im bothered that my ipod is fake or has an internal problem on the chips or something because I didnt bought this at an Apple Center/Mac Center. I bought it on a retailer. I am not able to visit any store or Genius Bar  or contact an apple specialist through phone because of my work schedule and work load.  I have contacted the retailer before when I tried to return it for replacement or repair but he told me that it is under Apple's warranty, not theirs. I do hope that I can get a help from you because I want to really enjoy my device. Thank you and Im looking forward for the responce/assistance form you.

    I suggest you don't apply pressure to the screen - it's a Touch - you touch the screen not push it.
    Phil

  • How can I write left and right in the same line of a richtextbox?

    I want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
    thanks

    I want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
    thanks
    As
    Viorel_ says "Perhaps there are other much easier solutions. For example, create two
    RichTextBoxes with no borders (if you only need two columns of text)" but the real issue would be saving the info in the RichTextBox's (RTB's) RTF or Text to two different RTF or TextFiles. Although I suppose if it was just going to
    a TextFile then you could somehow use a delimited text file so each same line number of each RTB is appended to the same line and delimited. That way you could probably load a split array with each line from the text file splitting on the delimeter per line
    and providing RTB1 with index 0 of the split array and RTB2 with index 1 of the split array. I'm not going to try that.
    This is some leftover code from a long time ago. It has three RTB's. RTB1 is there I suppose because the thread asking for this code wanted it. RTB2 is borderless as well as RTB3. The Aqua control in the top image below is the Panel used to cover RTB2's
    scrollbar. So RTB3's scrollbar is used to scroll both controls.
    I forgot to test if I typed past the scroll position in RTB2 if both would scroll as maybe RTB3 would not since it would not have anything to scroll to I suppose.
    Maybe this code can help or maybe not. The bottom two images are the app running and displaying nothing scrolled in RTB2 and RTB3 then the scroll used in the bottom image.
    Disregard the commented out code in the code below. It was there so I left it there. I suppose you should delete it. Also I didn't set the RTB's so one was left aligned and the other right aligned. I believe the Panel becomes a control in RTB2's controls
    when it is moved to cover RTB2's vertical scrollbar but don't remember although that seems the case since both RTB2 and RTB3 are brought to front so if the Panel was not one of RTB2's controls I would think it would be behind RTB2 and RTB2's vertical scrollbar
    would display but don't remember now. In fact I don't really remember how that part works. :)
    Option Strict On
    Public Class Form1
    Declare Function SendMessage Lib "user32.dll" Alias "SendMessageW" (ByVal hWnd As IntPtr, ByVal msg As Integer, ByVal wParam As Integer, ByRef lParam As Point) As Integer
    Const WM_USER As Integer = &H400
    Const EM_GETSCROLLPOS As Integer = WM_USER + 221
    Const EM_SETSCROLLPOS As Integer = WM_USER + 222
    Dim FixTheProblem As New List(Of String)
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Me.CenterToScreen()
    Panel1.BackColor = Color.White
    Panel1.BorderStyle = BorderStyle.Fixed3D
    RichTextBox2.BorderStyle = BorderStyle.None
    RichTextBox2.ScrollBars = RichTextBoxScrollBars.Vertical
    RichTextBox3.BorderStyle = BorderStyle.None
    RichTextBox3.ScrollBars = RichTextBoxScrollBars.Vertical
    RichTextBox3.Size = RichTextBox2.Size
    RichTextBox3.Top = RichTextBox2.Top
    RichTextBox3.Left = RichTextBox2.Right - 20
    Panel1.Size = New Size(RichTextBox2.Width * 2 - 16, RichTextBox2.Height + 4)
    Panel1.Left = RichTextBox2.Left - 2
    Panel1.Top = RichTextBox2.Top - 2
    RichTextBox2.BringToFront()
    RichTextBox3.BringToFront()
    FixTheProblem.Add("Curry: £6.50")
    FixTheProblem.Add("Mineral Water: £4.50")
    FixTheProblem.Add("Crisp Packet: £3.60")
    FixTheProblem.Add("Sweat Tea: £2.23")
    FixTheProblem.Add("Motor Oil: £12.50")
    FixTheProblem.Add("Coca Cola: £.75")
    FixTheProblem.Add("Petrol Liter: £3.75")
    FixTheProblem.Add("Shaved Ice: £.50")
    FixTheProblem.Add("Marlboro: £2.20")
    FixTheProblem.Add("Newspaper: £.25")
    FixTheProblem.Add("Spice Pack: £.75")
    FixTheProblem.Add("Salt: £.50")
    FixTheProblem.Add("Pepper: £.30")
    For Each Item In FixTheProblem
    RichTextBox1.AppendText(Item & vbCrLf)
    Next
    RichTextBox1.SelectionStart = 0
    RichTextBox1.ScrollToCaret()
    Dim Fix As String = ""
    For Each Item In FixTheProblem
    Fix += Item.Replace(":", "^:") & vbCrLf
    Next
    Fix = Fix.Replace(vbCrLf, "^>")
    Dim FixSplit() As String = Fix.Split("^"c)
    For i = 0 To FixSplit.Count - 1
    If CBool(i Mod 2 = 0) = True Then
    RichTextBox2.AppendText(FixSplit(i).Replace(">"c, "") & vbCrLf)
    ElseIf CBool(i Mod 2 = 0) = False Then
    RichTextBox3.AppendText(FixSplit(i) & vbCrLf)
    End If
    Next
    End Sub
    Dim RTB2ScrollPoint As Point
    Private Sub RichTextBox2_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox2.VScroll
    Dim RTB2ScrollPoint As Point
    SendMessage(RichTextBox2.Handle, EM_GETSCROLLPOS, 0, RTB2ScrollPoint)
    SendMessage(RichTextBox3.Handle, EM_SETSCROLLPOS, 0, New Point(RTB2ScrollPoint.X, RTB2ScrollPoint.Y))
    'Me.Text = RTB2ScrollPoint.X.ToString & " .. " & RTB2ScrollPoint.Y.ToString
    End Sub
    Private Sub RichTextBox3_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox3.VScroll
    Dim RTB3ScrollPoint As Point
    SendMessage(RichTextBox3.Handle, EM_GETSCROLLPOS, 0, RTB3ScrollPoint)
    SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(RTB3ScrollPoint.X, RTB3ScrollPoint.Y))
    'SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(0, 10))
    End Sub
    End Class
    La vida loca

  • Left and Right audio channel

    I have a video clip that has two different sound track on each channel, one on right channel and one on left channel.  So when I play normal both sound track come up on the same time.  In Window platform, I can change the speaker output into either left/right to isolate one channel, but how can I do this in Mac OS?  I tried the one in system preference, it didn't work, when I switch it to right channel, it just played both sound track from the right speaker, but not isolating the right sound track.  Please help.

    In your Applications/utilities folder is a program called AudioMIDI setup.
    Just move the slider of the channel you want to mute.

  • Left and right audio channels in clips not balanced.

    One is louder than the other. How do I make them the same or is it a problem with how it came in? They are in stereo mode but the waveform shows one lower than the other.

    Select the clip in the timeline and open the audio tab in the inspector. Under the audio configuration label click the drop down arrow at the right and change stereo to dual mono. Go back to the timeline and right click the clip and select expand audio components. You can them change the volume of the two audios independently. After adjustment right click the clip again and choose collapse audio components.

  • How can I connect left and right RCA audio jacks to my iMac to record?

    I would like to connect my Tascam 8-track digital recorder to the iMac. The Tascam stereo output is L/R RCA jacks. Is there a chord that is Stereo L/R RCA male jacks on one end and a USB or Thunderbolt jack on the other side?
    Thanks much,
    John

    NYCteacherR wrote:
    I'm new to this this forum and new to Apple Computers. I hope you don't work for Apple as a moderator, because your attitude is sarcastic and unhelpful.
    So, I'll tell you what, don't bother responding to any of my posts in the future.
    None of us are moderators -- they seldom post anything but when they do you will know it because they have special avatars nobody else can use. As for the "unhelpful" remark, please read the "How to write a good question" info that appears on the page where you type the summary of your question. That explains the importance of including details in your summary -- without them we have no way of knowing what might be helpful & what would just waste our time & yours, or even cause you needless expense or problems with your Mac.
    Also, please be aware that even though you asked the question, in the future other users looking for similar answers may read this discussion, so by providing enough info for anyone to tell if what is discussed here is relevant to them, you can help other users too.

  • How can I keep left- and right-aligned paragraphs together on the same line?

    I am currently trying to typeset a menu. Basically, I want the Dish Title to be left-aligned and the Price right-aligned — but on the same line. I can achieve the effect by typing in a shift+tab after the Dish Title text and then inserting the price, but I would rather have two distinct paragraphs styles, so that I can adjust them globally to see what looks good. I can achieve the effect by adjusting the Price character baseline of the price and moving it up, but then if I need to make any price changes, I find it a pain trying to get the cursor in the right place in situations where a baseline is substantially altered.
    Back in the old days (in Ventura!!), I could just remove the line break after the "Dish Title" style and the "Price" would move up to the same line, but I can't seem to be able to do this in CS6.
    Any ideas?

    Please show some examples. It's easier to help you.
    If I understand right, use a paragraph style with a right aligned tab and nested styles and grep styles. That's extremly flexible.
    Have fun

  • Left and right audio in VCD

    The VCD dramas that i bought consist of left and right audio that are of different language. Is there any program that i can use to convert the whole movie into mp4 movie with just one language ?
    thanks

    Select the clip in the timeline and open the audio tab in the inspector. Under the audio configuration label click the drop down arrow at the right and change stereo to dual mono. Go back to the timeline and right click the clip and select expand audio components. You can them change the volume of the two audios independently. After adjustment right click the clip again and choose collapse audio components.

  • HT4108 What is required to use the video composite out on the iPhone 4.  Left and right audio works ok

    What is required to use the video composite out on the iPhone 4   The left and right audio works ok

    Please not that the iPhone uses mono channel for internal speakers, the other path that you see is not the speaker per say. It is the phone microphone. Try using headphones, you will hear both channels. If the problem still persists when using headphones, check your sound balancing in the settings. Go to setting-general-accessibility scroll down and check the slide under mono audio. It should be put at the centre for you to hear both channels ON YOUR HEADPHONES

  • Left and right audio is cancelling out when I stream from macbook to apple TV2

    When I stream from iTunes on my Macbook to my Apple TV the left and right audio sounds like it is cancelling each other out, meaning the lead vocal on songs is very low in the mix.  Anyone know why this is happening?

    Well there is something definitely wrong. If track is panned to left channel and the output virtual LEDs show left channel only then it has to be a problem somewhere else. Are you using a digital interface or the 1/8" audio out to mixer, headphone.

  • How to separate left and right channel in audiotracks

    I would like to adjust audio tracks left and right channels separetly from each other. Now the volume levels are linked together. Is there a way to separate them?
    Other question is ; for some reason the pan slider in viewer does not seem to have left/right affect but kind of mono/stereo affect. It is supposed to be so, or do I have some audio preference button in wrong position?
    Message was edited by: TRST

    To answer to myself: Go to the User Manual and read the Chapter Audio Editing Basics from page 425.
    Or click the clip in timeline which you want to change, and go to Modify---> uncheck the stereo pair option in there.

  • How to group Left and Right audio tracks from a .OMF file?

    Hi, i'm editing the sound of my short film, i've sent a .OMF to audition from premiere, but the left and right tracks are seperate tracks in the multitrack session, how would i group them so whatever i do to one channel, will be done to the other

    This is because the OMF specification requires mono audio files
    It really depends on what you are trying to do with the two tracks as to the best answer as far as 'grouping'
    You could select all the clips on both tracks and right mouse click and select 'group'
    You could send both tracks to a bus
    You could export the two tracks to a stereo file and bring that back into the session
    Lots more things I'm sure but a little more detail as to what you are trying to do would help

  • In Final Cut Pro X 10.1.1 I'm trying to separate left and right stereo tracks to delete left and pan right to centre. I cannot find a way to do this.

    I record in stereo with a 10KHz tone down the left channel to defeat AGC on my camera and mic feed into the right channel. When I edit, I want to mute/delete the left channel and pan the right into the centre, to leave me with mono audio across both left and right. I could do this easily in FCP 6 but can find no way to do it in FCP X. I'm using the same source files. When I choose Dual Mono mode in the Audio Inspector, it mixes left and right and pushes the combined signal into both channels, giving me a mix of 10KHZ tone and audio in both left and right. Stereo mode shows me the two channels correctly with one driven hard (the tone) and the other at good voice levels. I just want to kill the left channel and pan the right to centre.
    I'm converting original TOD files using MPEG Streamclip before import and definitely keeping audio as stereo.
    This is driving me nuts! It should be simple and is in FCP 6. Any help greatly appreciated.
    Stereo Setting
    Mono Setting

    Mb - If you're using FCPX 10.1.1 and Mavericks, make certain you've downloaded the most current Sony XDCAM FCPX plugin from sonycreativesortware.com unless you're using an older version of FCPX and then you'd need the previous XDCAM plugin.
    You shouldn't see 8 mono tracks.  There are import settings in /fCPX that you can check and I don't ask FCPX to analyze my media or seperate mono or combine stereo, etc.  I like to have everything come in as it is, especially because I know what I've done with every channel, etc.
    What I wrote to Ian is what I'd tell you - so please take a look at how you can make a "stereo" track that is actually two mono tracks, mono.  Once you do that you can address each mono channel by itself since it needs different volume, compression, and EQ than other channels.
    There are ethernet, USB, and firewire controllers that work in FCPX, but that's not the typical workflow because generally if you're getting into any amount of post audio sweetening beyond basic "staples" audio treatment, you would instead use "Roles" to export your audio to Logic or Pro Tools and do you work in those applications and then cut the final product back into your FCPX project.  In Logic or Pro Tools is where you might use a controller.
    In terms of automating levels, I'm not positive I know what you mean.  Compressor is a nice internal Logic plugin that kind of automates levels in a way but its about compressing peaks at a threshold that you set and at a ratio of compression.  So I may not understand what other automation is available unless you've exported you tracks to Logic or Pro Tools.

Maybe you are looking for