Analyzing and recognizing a sound file with a squeak

I am running a brake test on a piece of equipment. I would like to be able to use Labview and a microphone, record every stop cycle and analyze the wav file for a squeak. I would just like to be able to keep track of how many squeaks occured during testing. I am using the professional development system of Labview 7.0. Any suggestions would be greatly appreciated. I have included two wav files with this posting, one squeak, one no squeak. Thanks!
Attachments:
no_squeak.wav ‏97 KB
squeak4.wav ‏62 KB

Hi,
A response to your posting can be found at:
Analyzing a wav file recorded with a microphone for a high pitch squeak
I hope this helps
Sincerely,
Feroz

Similar Messages

  • My computer is 2 months old and the windows sound files seem to be corrupted

    I have a computer 3 months old and the window sound files are corrupted.  When I move the slider in the volumn control I get a pinging, twanging sound.  It started about 3/4 weeks ago.
    I've made not changes, just one morning I turned on PC and that is what was happening.
    Pavilion dv7-6b55dx
    Windows 7

    Hi
    You have a couple of options as I see it.
    Please First check if the speaker icon on the unit is not muted.
    Go to Device manager and uninstall the driver and restart and unit will install the driver automatically.
    Try doing System restore to the date when the unit was working fine.
    Try to update the driver from hp.com website.
    Let us know how it goes!
    *Although I am an HP employee, I am speaking for myself and not for HP.
    *Did my response help with your issue? If so, please give me Kudos by clicking the "Kudos" button. Thanks!
    Regards
    Manjunath
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • How to get string (specified by line and column) from txt file with labview

    Hi everyone
    How to get string (specified by line and column) from txt file with labview
    thx 
    Solved!
    Go to Solution.

    As far as I know, a text file has no columns.  Please be more specific.  Do you mean something like the 5th word on line 4, where words are separated by a space, and lines are separated by a newline character?  You could the Read from Spreadsheet String function and set the delimiter to a space.  This will produce a 2D array of strings.  Then use index array and give the line number and column number.
    - tbob
    Inventor of the WORM Global

  • Need to play and stop sound file with 1 ms resolution

    Hi,
    I'm trying to open a .wav file then later play it at a time when another parallel loop activates a boolean local variable which controls playback in my "sound" loop. I need high time resolution in stopping the playing of the .wav file, ~1ms. From what I've gathered, I can't use the "sound output write.vi" because it locks the loop until it finishes outputting a set number of samples. Because of this, "sound output stop.vi" has to wait until the next iteration, which is more than ~1 ms.
    In the help menu of the Sound Ouput VIs it says you can set the task ID for the "sound output start.vi" using the "sound output configure.vi." Unfortunately I've only been able to use the "sound output start.vi" following "play sound file.vi", and I don't really know why this is the case.
    I can't start my sound with the "play sound file.vi" because it locks the loop its in until it finishes playing the sound. Oddly this only happens when there is a parallel loop running, if I run it by itself, with no other loops, it doesn't lock the loop. I thought it might have something to do with the local variable, but the loop doesn't lock when the loop restarts the sound using the "sound output start.vi." 
    After opening a .wav file, can i use the "sound output configure.vi" to create a task ID for the "sound output start.vi" to work? Or do I have to use the "sound output write.vi" after calling the "sound output configure.vi." The help menu makes it seem like the prior suggestion is possible.
    Thanks a lot!

    Since it sounds like the problem you're running into is getting the data loaded from the file before you're ready to play it, look at the Files sub-palette, specifically the Sound File Read Simple VI.  You can use this VI to load the data into a waveform and have it ready for use later in the program.
    So in your overall program, read the file with Sound File Read Simple and configure the output with Sound Output Configure and call Sound Output Write when you're ready to play the waveform.
    Alex Person
    NI-RIO Product Support Engineer
    National Instruments

  • Hi why are my photos after downloading twice ,once in photo library and once in a file with the date why cant i delete a file its an iphone 4s please help

    why are my photos after downloadon twice one as photo library the other as a file with date how can i delete one file same pics

    Generally I would not use Facebook for sharing any photos, it compresses the photos substantially, and when you have shadows and dark colours you get visible "bands" where there should be subtle gradients, ie at sunsets and sunrises.
    It sounds like you are using two methods to upload to Facebook:
    1. Sharing from within Aperture, which basically syncs Facebook with your Aperture album, so any changes made at either end gets synced, hence the deletions from Albums, although the original file should still be in your library, just removed rom the album. It is like a playlist in iTunes.
    2. Exporting pics and uploading to Facebook from the browser.
    I am not sure how method 1 gets compressed, but I know that uploading hi-res jpegs to Facebook using method 2 results in poor quality images.
    I wouldn't even bother comparing option 1 or 2, and they will both be poor images once you view them on Facebook, as opposed to viewing uploaded images on proper image sharing / hosting sites.
    Your problem is not with Aperture, it is using Facebook for showing your work.
    If you export pics form Aperture at high res jpegs or TIFFs your images will be fine.
    If you insist to use Facebook as your way to share your work, then your workflow should be this:
    1. Right click images you want to share.
    2. Select Export version.
    3. Export as 100% size and ensure the export settings are set at 100% quality.
    4. Upload this pic into Facebook.
    This will get you the best image size and resolution on Facebook.
    See how you go.

  • ADPCM and GSM to wav file with RAWCONVERTER

    Hi, is it possible to codify ADPCM and GSM in a .wav file with the RawAudioDataConverter(jsresources) or do they need a targetEncoding?. I have recorded GSM data in a wav file but I can't decode them.
    Example of my GSM coder and decoder
    AudioInputStream ais = null;
              AudioFormat.Encoding targetEncoding = null;
              AudioInputStream audioInputStream;
              File encodedFile = null;
    encodedFile = new File("gsm" + audioFile.getName());
                   try
                        ais = AudioSystem.getAudioInputStream(audioFile);
                   } catch (Exception e)
                        e.printStackTrace();
                   if (ais == null)
                        System.out.println("No se puede abrir el archivo");
                   AudioFormat sourceFormat = ais.getFormat();
                   if (!sourceFormat.getEncoding().equals(
                             AudioFormat.Encoding.PCM_SIGNED)
                             || sourceFormat.getSampleRate() != 8000.0F
                             || sourceFormat.getSampleSizeInBits() != 16
                             || sourceFormat.getChannels() != 1)
                        System.out
                                  .println("The format of the input data has to be PCM 8 kHz 16 bit mono");
                        System.exit(1);
                   AudioFormat.Encoding targetEncod = new AudioFormat.Encoding(
                             "GSM0610");
                   AudioInputStream gsmAIS = AudioSystem.getAudioInputStream(
                             targetEncod, ais);
                   AudioFileFormat.Type fileType = new AudioFileFormat.Type("GSM",
                             ".gsm");
                   int nWrittenFrames = 0;
                   try
                        nWrittenFrames = AudioSystem.write(gsmAIS, fileType,
                                  encodedFile);
                   } catch (IOException e)
                        e.printStackTrace();
                   }Example of my GSM decoder:
    private File decodificar(File FileIn)
              AudioInputStream ais = null;
              File in = new File(archivoCodificado.getName());
              File FileOut = new File("decod" + in.getName());
              try
                   ais = AudioSystem.getAudioInputStream(in);
              } catch (Exception e)
                   e.printStackTrace();
              if (ais == null)
                   System.out.println("cannot open input file");
              AudioFormat.Encoding targetEncoding = AudioFormat.Encoding.PCM_SIGNED;
              AudioInputStream pcmAIS = AudioSystem.getAudioInputStream(
                        targetEncoding, ais);
              AudioFileFormat.Type fileType = AudioFileFormat.Type.WAVE;
              int nWrittenBytes = 0;
              try
                   nWrittenBytes = AudioSystem.write(pcmAIS, fileType, FileOut);
                   System.out.println("AudioDecoder: written (bytes): "
                             + nWrittenBytes);
              } catch (IOException e)
                   e.printStackTrace();
              return FileOut;
         }I think that it might be well recorded but it doesn't works, giving and exception. I think that its all right because the number of byts in my GSM recorded file is about the tenth part of a PCM lineal file, and when I try to reproduce it with winamp for example it detects a sound track but it can't calculate the length of the GSM file(wav extension I mean)

    QuickTime Player X does not export WAV. You could use QuickTime Player 7, which if it's not in your Utilities folder already can be installed from the Optional Installs on the Snow Leopard install disk, but you'll need to purchase a QuickTime Pro key.
    Regards.

  • Shared library: function is not found and recognized in header file

    Hello,
    I am trying to use Java methods into LV. I am doing so by creating Java Invocation Interface, usind which I can call Java methods into C++ and then create a shared library that can be called into LV.
    When I am importing my shared library into Labview, I am getting the following error messages:
    The shared library contains 3 function(s). But no function is found and recognized in the header file. The following function(s) cannot be wrapped. If you want to import these functions, please review the warning messages next to the functions below. You will need to fix the problems before you can continue with the wizard.
    jclass invokeJavaClass(JNIEnv* jenv, string className);
    The following symbols are not defined:
    jclass;
    Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add preprocessor definitions. Click the Back button to return to the previous page of the wizard to add a preprocessor definitionsl (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
    The following header file was not found in the specified header file or one of the referenced header files:
    -  string
    -  iostream
    -  cstring
    -  jni.h
    To fix, click the Back button to go to the previous page and add the header file path to the Include Paths list.
     Please advise.
    Regards,
    H
    Attachments:
    SharedLibError.png ‏51 KB

    Hello Vivek,
    The LabVIEW dll that I am trying to import does not include any third-party device..all my code is fully based on LabVIEW. Maybe this helps you to guess what is happening: once I've parsed the dll' header appears an error
    like this one:
    void
    __cdecl Zdmt(LVBoolean *stop, double P, char channelName[],
        TD1
    *errorIn, TD14 *FFTOptions, TD12 *Calibration, char FileName[],
    int32_t minRecordLength, TD26 *InstrumentHandler, LVRefNum
    sessionRefArray[],
        LVRefNum *queueIN, TD1 *errorOut, LVBoolean
    *averagingDone,
        HWAVES LastRecordFetched, TD24 *Impedance, TD17
    *ColeColeCluster,
        TD18 *FFTcluster, TD5
    *InstrumentHandleOutputCluster, LVRefNum *queueOut,
        int32_t
    *Acquired, TD6 *FreqTimeInfoCluster, double *averagesCompleted,
    int32_t len);
    The following symbols are not defined:
    LVBoolean;
    int32_t; LVRefNum;
    Undefined symbols can prevent the wizard
    from recognizing functions and parameters. To correct this problem,
    check the header file to determine if you must add predefined symbols.
    Click the Back button to return to the previous page of the wizard to
    add a preprocessor definitionsl (for example, "NIAPI_stdcall =
    __stdcall" or "NIAPIDefined = 1").
    The following header file was
    not found in the specified header file or one of the referenced header
    files:
    -  extcode.h
    To fix, click the Back button to go to the
    previous page and add the header file path to the Include Paths list.
    I have replaced the first line #include "extcode.h" of
    the dll header file for #include "C:\Program Files\National
    Instruments\LabVIEW 8.6\cintools\extcode.h" that is the full path where
    the header file is located. However, new libraries seems to be missed:
    -  stdint.h
    -  MacTypes.h
    As far as I know,  Mactypes.h contains basic mac os data types and it doesn't have any relation with stdint.h...
    I have created both of them and stored into the same folder as extcode.h, but then other libraries are missed!!!
    Do you know if it would be possible to create the .dll generating all the header files associated for its data structures???
    And if this is not factible, then what do you suggest me? because I hope to not having to create all the header files until it stops giving me an error!
    thanks for four time,
    ben

  • Attachment dropped error on all sound files with mms

    I have yet to be able to get a sound file of any type to work in mms. All I get is sn error like this:
    Filename.filetype
    Attachment Dropped: <filename.filetype> of type: <audio/mpeg; name=filename.mp3>
    I haven't been able to find anyone else with this problem and AT&T doesn't seem to have a clue how to fix it...
    I'm using a 3g iphone with 3.1 and the most current carrier file. Pictures seem to work fine.

    Have you restarted your iPhone? Have you done a hard reset? In order to do a hard reset (a hard reset does not delete any data), hold down the home and sleep button (disregarding the power off slider) until the iPhone shuts off and turns back on. Once the iPhone turns back on, let go of the buttons and wait. It will take a little longer for the iPhone to boot up.
    If that doesn't work, then I would say you might have to reinstall the firmware.

  • I have a problem during the collect data and save it in file with the HP8753C

    Hello,
    I'm using the "HP8753 collect and display data.vi" with the functionnality "save" in file (.txt or xls).
    When I'm using it to collect and save data one time to time, I have no problem. But when I would like to use it to collect and save several data with a structure "For", the HP8753 status will become blocked and the collect and save data in file is disable.
    The only function "collect data" with a structure "for" is Ok but will become not OK with the option "save" in file. Why, please ?

    Hello,
    Thank you for contacting National Instruments.
    It sounds like your instrument is "hanging" or "freezing" when you try to read and save data from it in LabVIEW.
    I took a look at the context help for that particular VI. It appears that if you attempt to read data from the HP8753 while it is also taking measurements, it can cause the instrument to hang. This may be the problem you are experiencing.
    Look over your program and ensure that the instrument is not trying to take new measurements as you read data from it in LabVIEW. Sequence structures may be useful in this regard. If you are still experiencing problems, however, let me know.
    Matthew C
    Applications Engineer
    National Instruments

  • How to open VLC wit JAVA and later play a file with it..?

    Hi,
    I do it if I want to Play a file with VLC:
    Runtime rt = Runtime.getRuntime();
              try {
                   rt.exec("C:\\Program Files\\VideoLAN\\VLC\\vlc " + "C:\\songs\\llarala.mp3");
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    but I want to Open VLC and later work with this VLC opend, for example to Play a file with it. Anyone knows how to do it? Thanks.. I' m new about that..

    Keep working as you are is the simplest way. The VLC client (and server) has a pretty rich command-line interface, you can do pretty much anything through the command-line that you can with any other interface. Or there's the telnet interface, if all those processes are too much

  • Import and export of word files with references (iPAD)

    Hi,
    Does Pages for iPAD supports importing and exporting of files with references generated by the prog "ENDNOTE" (http://www.endnote.com/). it s a must for grants and papers writing.
    is their any way to ask the apple guys directly (new to the apple world...)
    Thanks,

    obsidan wrote:
    Hi,
    Does Pages for iPAD supports importing and exporting of files with references generated by the prog "ENDNOTE" (http://www.endnote.com/). it s a must for grants and papers writing.
    Pages for iPad does not support export/import of Endnote references in the form of formatted bibliography.
    is their any way to ask the apple guys directly (new to the apple world...)
    Yes, indeed, feedback directly to Apple is possible
    http://www.apple.com/feedback/ipad.html
    While Pages does not currently import/export and preserve the Endnote formatted bibliography, another app known as Documents to go does; there is not citation software for adding references though, but preservation is good.

  • [b]Upload[/b] and [b]download[/b] files with uiXML

    I have implemented upload and download files with uiXML
    like in msg Re: How can I upload and download files with uiXML? but
    it's don't work... I don't have the Errors, i don't find the file that was uploaded...
    my web.xml :
    <servlet>
    <servlet-name>uix</servlet-name>
    <servlet-class>oracle.cabo.servlet.UIXServlet</servlet-class>
    <init-param>
    <param-name>oracle.cabo.servlet.AbstractPageBroker</param-name>
    <!-- <param-value>oracle.cabo.servlet.xml.UIXPageBroker</param-value> -->
    <!-- And we'll use a custom page broker -->
    <param-value>insiel.cpsg.M00.bean.UploadingPageBroker</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    testUpload.uix
    <?xml version="1.0" encoding="UTF-8"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller">
    <content>
    <pageLayout xmlns="http://xmlns.oracle.com/uix/ui">
    <contents>
    <form name="uploadForm" usesUpload="true">
    <contents>
    <fileUpload name="uploadedFile"/>
    <submitButton name="upload" text="Upload"/>
    </contents>
    </form>
    </contents>
    </pageLayout>
    </content>
    </page>
    PageBroker
    package insiel.cpsg.M00.bean;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletContext;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.share.util.MultipartFormItem;
    import oracle.cabo.servlet.xml.UIXPageBroker;
    * An extension of UIXPageBroker which stores all uploaded
    * files in the temporary directory.
    public class UploadingPageBroker extends UIXPageBroker {
    * Override of AbstractPageBroker.doUploadFile() which saves
    * all files to the temporary directory.
    protected String doUploadFile(BajaContext context, Page page, MultipartFormItem item) throws IOException {
    // Get the location of the file to create in the temp directory.
    // Of course a real application probably wouldn't upload files to
    // the temp directory - just using this contrived example to
    // demonstrate basic uploading support.
    File file = _getFile(context, item);
    // Create a FileOutputStream. Of course, a real application would
    // probably want to buffer the output
    if (file != null) {
    FileOutputStream out = new FileOutputStream(file);
    item.writeFile(out); // Write out the file
    out.close(); // Close up the output stream
    // We can return a value here to add to the PageEvent
    // if so desired.
    return null;
    // Gets the File for the item that we are uploading
    private File _getFile(BajaContext context, MultipartFormItem item )  throws IOException {
    String name = item.getFilename(); // Get the file name
    if (name == null) return null; // If we don't have a file, bail...
    // Get the path to the temporary directory
    File dir = _getTempDir();
    // Return the File object
    return new File(dir, name);
    // Returns the path to the temprary directory
    private File _getTempDir() throws IOException {
    // Get the temporary directory from the ServletContext
    ServletConfig sConfig = getServlet().getServletConfig();
    ServletContext sContext = sConfig.getServletContext();
    File ff= (File) sContext.getAttribute("javax.servlet.context.tempdir");
    System.out.println(ff.getAbsoluteFile());
    if( ff == null ) {
    throw new IOException( "Error in FileUploadFilter : No upload "+
    "directory found: set an uploadDir init "+
    "parameter or ensure the " +
    "javax.servlet.context.tempdir directory "+
    "is valid" );
    return (File)sContext.getAttribute("javax.servlet.context.tempdir");
    lease HELP me !!!

    Please stick to 1 post per question.
    Refer to:
    Upload and Download with uiXML (very urgent)
    Jeanne

  • I was a BBuser and I could store files with information on my BB. Can I do the same on my Iphone. i have tried with no success.

    i want to know if I am able to store files with word documents or any other format on my Iphone.

    The iPhone is not a file system.  It does not have anything like Internet Explorer.
    If you purchase Pages for iPhone, you can keep, access and edit documents from iCloud on your iPhone.

  • Just upgraded an iMac with 4GB Memory and Intel Processor from 10.6.8 to Mavericks and Quicktime plays m4v files with stuttering audio

    I just upgraded an iMac with 4GB Memory and 3.33 Ghz  Intel Core Duo Processor from 10.6.8 to Mavericks.  I now have Quicktime 10.3 which plays m4v files with stuttering audio.  This is a nightmare as I use Quicktime a lot in my research.  I have seen similar threads but so far only reporting the problem.  For now I have installed Quicktime Player 10.7 (which appears in utilities, leaving Quicktime 10.3 in the main applications list) which plays the same videos with no problem, but it would be good to know if anyone has managed to find a workaround at all, or know if Apple have plans to do anything about it?

    Slow performance after installing Yosemite on an older Mac is often caused by inadequate memory. Although you can install the upgrade on a Mac with 2 GB of memory, experience has shown that at least 4 GB is needed for full performance.
    Select About This Mac from the Apple menu. If you have less than 4 GB of memory, and your model has upgradable memory, install as much as it can take, or at least that much. Any reputable RAM vendor will have a web form in which you can select the Mac model and be directed to compatible parts.

  • New problem with QT Pro, stopped recognizing .mpg sound files (Muxed)

    Have been playing .mpg & .mpeg files just fine with QT Pro. Today I can only get video, no sound output, and the video 'freeze frames' while the progress bar cursor continues to track. This is with ALL .mpg and .mpeg files. Sound is apparently there because the graphic sound visual is active. The freeze frame will start again by clicking the mouse button, or double strike of the spacebar (pause/unpause) but stops again later. All the files play normally in MPlayer. MOV files play fine for both sound and video with QT Pro. No improvement with re-installing QT Pro (new download). FirstAid - no problems. Currently running new version of Disk Warrior over entire disk but don't expect much improvement.

    That may be a problem with the timecode. Try to fix that with the timecode correction menu item. May not work but this is a freeware:Mpeg StreamClip

Maybe you are looking for

  • Problem while submitting job from Forms

    Hi, i'm submitting a job in when button pressed trigger. This job will call a Backend Package(one procedure). But the job id is created in the backend but the job is not running. but if i run the job with DBMS_job.Run(jobid) from form itself after su

  • Dynamic Creation of .txt file

    hi Friends , I want to create .txt file from oracle database information on apache tomcat server side. or create .txt file when user give some input according to that data should be retrival from oracle table.

  • Media buttons

    I have a hp pavilion dv7 3183, my media buttons are not working. it shows red for the wireless and mute button regardless of their status, and the sound buttons will not increase or decrese when pressed. Is there a way to get them to work again?

  • Rebate- About Accruals

    Dear Friends,         When we enter the condition record in BO02 in Accruals field it take automatically the Same figure of Amount Field or we can change it manually. that figure may be Greater, lesser than or Equal to Amount field figure. Would any

  • Trouble with app store

    Hey, i'm having a problem with the mac app store. Whenever i try to download anything or sign in i get connection failed, yet my itunes store login still works. Why is this?