Converting audio signals from mydaq into discrete values

Hi guys!
I am currently building a project that accepts audio signals from mydaq. I wanted to make the analog signals have it descrete peak values. Is this possible? I plan to use the discrete peak values and sum them up using a shift register instead of doing peak detection. I think it is more easy.
Any suggestions would help. Thank you very much!
.."in the end we all have false hopes"..
Solved!
Go to Solution.

FalseHope wrote:
Well actually, i wanted to make the acquired signal have its discrete values because i will use the number of peaks of the sound to determine which sound is louder (my assumption is that, the louder the sound or the nearer the sound to the microphone. The more sound peaks can be acquired. While lesser peaks are acquired the least louder the sound).
That is wrong (unless you are dealing with Doppler Shifts, but they implies the object is moving).  Closer peaks mean that you are dealing with a higher frequency (or pitch).  Louder sounds just have higher amplitudes (larger peaks).
FalseHope wrote:
I will acquire sound signal from the mydaq, then detect the peaks and add those peaks while it is entering the acquisition. I wanted to make it discrete so that i will be able to add the numbers and the addition will stop once the sound is no longer present. The sound im talking about is a sound burst. Or a single instant sound and is not continuous.
Just use the peak detection function.  You can then add whatever peaks it finds from the current acquisition.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Recovering audio signal from PCM stream

    Hi i want to recover an audio signal from a PCM stream which is being transmitted by a third party  system  on RS 422 wires. the only information i have about the PCM stream is
    sampling freq              16kHz
    bits                                 8
    quantization tech          u Law qunatization
    over all PCM data transmmison vlaue mentioned  is 2.408 M bits
    please suggest me if it is doable or not . further more suggest the proper NI hardware as  well as software modules required to achive this. will NI 9401 do this job

    Tirmizi,
    I think it may be possible.  You could not use a 9401 but if you had a USB to RS-422 converter you could probably read the PCM data into LabVIEW using VISA functions.
    If you can successfully import your data to LabVIEW, I found a similar forum post that explains the functions in LabVIEW to use to create a .wav file and what you can do with it:
    http://forums.ni.com/t5/LabVIEW/Raw-PCM-to-WAV/m-p​/2739674
    Hope this helps!
    Jon F.
    Applications Engineer
    National Instruments

  • I am having trouble sending an audio signal from my computer (mac pro early 2009) to my TV.  Is there some interface or adapter that allows /enables the audio input from my computer to be sent to the TV (R,L signal?) any suggestions

    I am having trouble sending an audio signal from my computer (mac pro early 2009) to my TV.  Is there some interface or adapter that allows /enables the audio input from my computer to be sent to the TV (R,L signal?) any suggestions

    just  the audio, eh?. If you were using DVI or DisplayPort that might be different, but for audio alone, it shouldn't be that hard.  Just grab a 3.5 mm stereo plug to 2 rca cables adapter. Plug the smaller end into the back of your Mac Pro (or the Front), where you see either the headphone or speaker icon). Alt-click on the speaker icon at the top of your screen to show all audio inputs and outputs. Make sure it's set to Line Out.  Plug the red and white end into the audio in jacks on the back of your tv and set it to the correct input. I don't know if your tv will allow just the audio to play. Usually one has to connect up something else, but hopefully I'm wrong.  If you were using DVI, or DisplayPort, you'd need an active DVI--HDMI adapter or a DisplayPort to HDMI adapter, but
    I don't know for sure
    J  B  

  • Convert procurement plan from I2 into purchase requisitions

    Hello Greetings,
    Trying to findout if anyone has experience in converting procurement plan from I2 into purchase requisitions, without having to build a custom interface.
    Thanks Very Much
    Moorthy Mahadevan

    Hi Ahmad,
    If you want to firm planned orders, then use MRP type P1,P2,P3,P4 and P5. The firming logic of already existing and new planned orders are differs for the MRP type P1 to P5. You can select as per your requirement.
    Then if you want the system do not generarate new Planned order if PR exist already, please select the Individual/Collective indicator in MRP 4 view to Collective requirement (02).
    Thanks and regards
    Murugesan

  • Converting Audio track from video

    My niece has been singing in a choir for the last few years and my brother will post her performances/solos on youtube.com for the rest of the family to see. It has been a great way for us all stay together. I recently saw where you can download videos from youtube into itunes as movies, which I have done on a couple of his posts. What I wanted to know, is if there is a way for me to convert those video files (I think they are mpeg-4) into regular audio or songs? I would like to do this for two reasons, first, I thought it would be a nice way to allow my brother to put some of his daughters songs on his iPod (when I try this on my iPhone the videos are placed in the music folder and they don't mix with my other music), and second I was going to make a CD for our father who doesn't have an iPod.
    Does anyone know if there is a way capture the audio from a video file?
    Thanks.

    Josh,
    Good to know. Thanks. Sometimes I get confused on what works in which version. Glad that I do not have to deal with Avid and FCP in the course of the day. I still try to do things in AE, that I do int PrPro, and still get lost with the little differences in the GUI.
    Hunt
    PS glad that 4.1 is looking good for you! Hope the joy continues.

  • No audio signal from Keyboard

    Equipment is as follows:
    Tascam us-122 with the latest installed drivers
    Motif ES 8 Keyboard
    Garage Band 2, new ibook g4
    Pair of Rockit 5 speakers
    Setup:
    From the 'audio out' on the Motif I have generic stereo cables running into the 'LIne in' Left and Right on the front of my Tascam-us122.
    From the Left and Right line out I have cables running into a pair of Rockit 5 speakers.
    I also have a mic plugged into one of the XLR inputs on the Tascam.
    Now onto the problem:
    While in Garage band, I can record, and playback audio from my mic fine. The keyboard however will not pick up any audio signal what-so-ever. When I go to create a new track in Garage band, I am choosing 'Real Instrument' - Basic Track - No Effects. I've tried changing the input, switching the monitor on and off nothing seems to be working, Any ideas where I could be going wrong??
    I do know the difference between Midi and Audio and in this case, I just want strictly the audio sounds that are being played on the keyboard to record into garage band for some simple editing.
    Thanks - James

    I tried with no luck to get a picture of the keyboard with a decent view of the back. What kind of audio out does it have? My keyboard has left and right 1/4 inch plugs. I connect to them using two mono cables into a stereo track on my mixer (two female 1/4 inch left and right plugs).
    What kind of inputs does the Tascam have? If you are trying to use the RCA type plugs designed mostly for auxiliary in and out this may not work as well.
    When I use my keyboard in church I send each output to a separate track and pan them according to what they are (left panned left, right panned right.)
    One way to check if the keyboard is sending out sound is to see if the sound come through headphones.
    On my Yamaha there is a 'keyboard out' menu. The 'keyboard out' can be turned off. By default it should be on but you may want to check it anyway.

  • Using video and audio signal from a camera connect...

    Why is it not possible and is skype intending to implement the ability to use the video signal form a digital camcorder connected to a tv?
    A lot of people these days have digital camcorders or digital cameras that produce video signal. Why can't those be supported as video input by skype?

    BC825 wrote:
    .....  Previously I had a HDMI to DVI cable and I had to awkwardly move the image off the PC monitor to the HDTV but with no sound.  Should I send the equipment (Kanex VGA to HDMI converter and associated cables) back to B&H while I can still return them and get refunded....
    Hi,
    The following ports are at the back of your computer:  
    Figure 4: Back I/O panel
    1 - USB 2.0: 4
    2 - LAN
    3 - DVI-D
    4 - D-SUB port (VGA port)
    5 - Audio: Line in
    6 - Audio: Line out
    7 - Audio: Microphone
     You already mentioned DVI-HDMI : it works but no sound. That's true because DVI does not carry audio signals. All you need is using RCA cable to connect port #6 to your TV.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Converting  audio file from one format to another format

    Hi Friends,
    Is it possible to convert the audio file from one format to another format(*.mp3 to *.wav file and vice versa)?
    If so, please guide me on the same.
    Thanks in advance,
    Kavitha Anbazhagan

    It's been covered here already, but take a look here:
    Converting CDs to iTunes Audiobooks
    Just read the parts after the section on importing from CD.
    Regards.
    Message was edited by: Dave Sawyer

  • How can I amplify audio signals from wav file?(gain control)

    I want to develop an audio equalizer using labview. How can I control the gain of the audio signal (amplify) using labview vis.

    If your audio signal is in form of a numeric array or a waveform cluster, to amplify it, just muliply it with a numeric value
    like in this VI
    Regards
    Dev
    Attachments:
    Amp.vi ‏51 KB

  • Convert audio files from 256kbps tot 1411kbps

    I would like to know if i gain any extra music quality (depth, clarity etc.) by converting my music files in Itunes from 256kbps to 1411kbps (WAV)
    Apple Lossless format seems to be good to.
    I read somewhere that converting in Itunes from 256kbps to a higher kbps format only adds extra bites. The extra quality isn't there however...
    Has anyone got an opinion about this stuff?
    Greetings Harry (Holland)

    No, you don't. The music needs to be originally imported at the higher bitrate to get the benefit of it; this isn't possible for iTunes Store music.
    (85853)

  • How can I Route audio signal from DIGI002 via SPDIF into Express or Pro

    i have tried many things and cant seem to get it to work..
    trying to route output from DIGI002 SPDIF into Logic Express 7.1
    can it be done in Express or do i need PRO?
    Using PTLE7.0
    OSX 10.4.3
    Logic Express 7.1
    Core Audio Driver 7.0
    Of anyone can offer a fix for thisi'll be upgarding lo Logic Pro and ***** off Protools for good.. logic makes much better use of the CPU than PT ever did.. its amazing what you can get out of a laptop running Logic.

    Model Name:    MacBook Pro
      Model Identifier:    MacBookPro4,1
      Processor Name:    Intel Core 2 Duo
      Processor Speed:    2.5 GHz
      Number Of Processors:    1
      Total Number Of Cores:    2
      L2 Cache:    6 MB
      Memory:    4 GB
      Bus Speed:    800 MHz
      Boot ROM Version:    MBP41.00C1.B00
      SMC Version (system):    1.27f3
      Serial Number (system):    W8*******YJY
      Hardware UUID:    ***************
      Sudden Motion Sensor:
      State:    Enabled
    <Serial Number Edited by Host>

  • No Audio when converting a movie from iphoto into iweb.

    Hi there,
    I have a Sony Camera W17 which takes stills and short movies. I often grab little bit so film of the kids.
    Today it was my daugthers birthday so I am in a hurry to get stuff up on my web page as we have moved to the opposite side of the world to our family.
    So heres the problem. When I import the stills and movie I use iphoto and I can see all in there (although the duplicate option is crap for movies).
    Now if I import them from the camera into imovie or copy across from iphoto I lose my sound. I really want to use the compressing function in imovie so I can add to my web page via iweb. The problem is that I lose the sound so I resort to copying the file in iphoto and taking it straight to iweb. These files are too large for most people to view.
    Has anyone gots any tips as to how I get around this? What is causing the sound to get lost yet I can hear it in iphoto. I read somewhere that says its to do with the file type but I am not sure.
    Thanks for your help.
    Poppetbed.

    Are you losing the sound on the movies or the stills?
    Can not hear audio in iMovie when I import an MPEG clip
    http://www.danslagle.com/mac/iMovie/tips_tricks/6030.shtml
    Sue

  • How can I convert audio files from Windows Media player to WMV?

    I am unable to add a soundtrack if it is a WMA file.  What programs are best to convert files to WMV?

    If you are wishing to add the WMA soundtrack to a PrE Project, I would convert/rip the WMA to PCM/WAV 48KHz 16-bit, and then Import that WAV file into the PrE Project. Drag it to a free Audio Track. Though there is a Soundtrack Track, some users have had issues with it. Any free Audio Track, with the necessary channel-count is likely to work better.
    For the conversion/ripping, there are many programs that can do this for you. I use Adobe Audition, but the great, free Audacity can do it nicely, as well.
    As WMA can have aspets, like 6-channel Audio, wrapped in the WMA, I like doing the conversion, unless I need, say the 6 discrete channels in Audition, for output to DTS Audio with the SurCode DTS encoder program.
    Good luck,
    Hunt

  • Convert TV signal from digital to analogue.

    As our TV signal has now changed to digital how can I convert to an analogue signal? If I attach a free view box with an aerial output into my Touchsmart IQ722 will it work?

    Those are some good questions!  And I don't know the answers, but maybe this will help:
    http://www.ramelectronics.net/audio-video/audio-co​nverters-extenders/analog-to-digital-digital-to-an​...
    You might find some information that will help you,
    Good luck,
    GeorgeFN
    GeorgeFN
    I work on behalf of HP.

  • How to convert a date from "yyMMddHHmmss" into "yyyy-MM-dd HH:mm:ss format

    hi
    please help i got the date "yyMMddHHmmss this format, how do i convert this into "yyyy-MM-dd HH:mm:ss" format using java code
    please help me anybody having idea

    YoungWinston wrote:
    jverd wrote:
    ...you don't need to know anything about dates or calendars to do that transformation, other than the rules for converting a 2-digit year to a 4-digit one.
    @OP: And for that, you have [SimpleDateFormat.set2DigitYearStart()|http://download.oracle.com/docs/cd/E17409_01/javase/6/docs/api/java/text/SimpleDateFormat.html#set2DigitYearStart%28java.util.Date%29].
    WinstonRight. But I was talking about the case where we just use string manipulation directly, and skip DateFormat altogether. In this case we just need and if check against the int value of the first two digits.

Maybe you are looking for

  • How do I find out whether HP Pavilion p7-1110 PC has USB 2.0 or 3.0?

    Have to do a clean install of Win7 and need an external hard drive to use for file backups.  Have no idea where to find the USB info on my computer, and have had zero response when doing search.  Am a bit tech-challenged, but learning.   Help.  This

  • How Do I Watch Movies From IPOD Video On My TV?

    I have some movies on my ipod & i wanna hook it up to my projector to watch on the screen. The Projector has the Audio/Video Plugs, so whats some ways i can do this and what will i need to buy? thx!

  • Won't sleep when scheduled to.

    My Imac is working fine. Except that it won't go to sleep when scheduled to anymore. Any suggestions on how to fix this problem?

  • Empties Management Functionality in ECC 6.0

    Hi all, Can any one please tell me empties management functionality in ECC 6.0?? Best Regards, AI.

  • Cannot execute action within region..

    Hi all, I have a region called "placements.jspx" embedded inside a page called "index.jspx". I have the following code inside the region: <af:iterator id="PlacementTable" var="placement"                  value="#{PlacementCollectionModel}"