Getting the frequency of a wav file...

Hello..
i am working on a project that needs to identify the frequencies of the sounds in a wav file..
I will sing and record my voice and then identify the frequencies so i can compare it to another wav file and compare these frequencies. I need to detect if the 2nd wav file is still in tune with the 1st wav file...
Is this possible? thank you very much...

Hi,
I don't know much about this subject, but I believe you'll
need some digital signal processing, propably fast fourier
transform to achieve this.
The details are not clear to me, but I think that in this way
you can get the frequency of the signal and then you can
compare it to the frequency of the original signal.
Hope this helps.
kari-matti

Similar Messages

  • How do I get the block duration for wave file playback?

    I'm using a LV example "Getting Started with sound and vibration express vi's (simulated).  When I play back the examples the audio does not match the graphing updates as the file is played. That is, the sound continues to play after the graphs have finished reading the file.  I can change the input box "block duration (s)" to achieve playback coordination between graph updates and audio. Is it possible to calculate this value from data included in the file?  If not then if I have a vi that records sound to a wav file could the "block duration" be calculated there and passed to the playback vi?  Just not sure what makes up the block duration.  Thanks

    Hi Mike,
    The Block Duration that is configured from the Front Panel is a control that is used to determine how much of the sound file has the analysis performed.  From the Block Diagram the Block Duration control is used to calculate the subset of the Get Waveform Subset.vi.  Also notice the sound file is opened prior to entering the case structure, thus will begin first to execute due to dataflow.  This may be easier to see using highlight execution.  The sound VIs are not affected by the Block Duration at all as the entire sound file will be played.  Take the data from your sound file and display it onto a chart or begin processing as in the Read Sound File to Chart.vi example for immediate updates  Hopefully this helps!
    Regards,
    h_baker
    National Instruments
    Applications Engineer
    Digital Multimeter Resources

  • How can we get the artset from a .ai file without opening it?

    Hello All,
    I have one .ai file, lets say sample.ai file. located in C drive. so the complete file path is "C:\Sample.ai".
    and lets assume the sample.ai file has one traingle shape(3 path type arts) in it.
    Now I want to get the 3 path arts (artset)  from sample.ai file without opening it in AI.
    The function protoype is like below
    AIArtSet& artSet GetArtSetFromAFile( ai::FilePath& filePath );
    Is there any API like above function in AI? or is it possible to get the art(s) from a file without opening it in AI?

    Not to my knowlege. The API only operates on active documents as far as I know.

  • How to get the content in embed swf file in Swf Loader on run time

    How to get the content in embed swf file in Swf Loader on run time
    [Bindable]
    [Embed(source="assets/index.swf")]
       private var SWFSRC:Class;
    <mx:SWFLoader id="_swfloader" source="{SWFSRC}" />

    Hi Flex harUI,
    Throw the error.
    Access of undefined property content

  • How to get the Real Path of a file which is accessed  by URL?

    iam using tomcat6.0.
    I have a file xyz.xml at the top of the webapplication HFUSE which i can able to access by URL
    http://localhost:8080/HFUSE/xyz.xml
    My problem is how to get the realpath of the file "xyz.xml" for reading and writing purposes.
    I tried various things but i could not able to successfully solved the problem?
    1) File f = new File("/xyz.xml");
    print(f.getAbsolutePath()) ============== it is not fetching the file @ http://localhost:8080/HFUSE/xyz.xml rather it is creating a file
    at the root of the drive where eclipse is running.
    2) File f = new File("xyz.xml");============> this is also not working , it is creating the file xyz.xml in the eclipse directory ..................
    Can anyone please guide on this problem?

    RevertInIslam wrote:
    If you want your context root(i.e HFUSE)
    use this:
    request.getContextPath() //where request is HttpServletRequest object to get the needful path.
    e.g:
    File f = new File(request.getContextPath()+"/xyz.xml");//it will create the file inside HFUSE.
    Hope this helps.
    Regards
    BWrong. The File constructor expects an absolute filesystem path. The HttpServletRequest#getContextPath() doesn't return the absolute filesystem path, it only returns the relative path from the current context root. Use ServletContext#getRealPath() instead, it returns the absolute filesystem path for the given relative path from the current context root.
    File file = new File(servletContext.getRealPath("/"), "xyz.xml");

  • To upload the ZIP file and get the filenames available in ZIP file in ABAP

    Hi Experts,
    For my requirement, file from legacy comes as ZIP file with number of files in that.
    Please provide one code sample to upload the ZIP file from local workstation and get the filenames available in ZIP file to check few filename validation checks for the available files in report program.
    Thanks in Advance,
    Regards,
    Basani

    1. Copy the ZIP file into App server
    2. Call function
      call function 'RFC_REMOTE_PIPE'
        destination 'SERVER_EXEC'
        exporting
          command = command  " Unzip command gunzip /path & file
          read = 'X'
        tables
          pipedata = std_lines
    then you can read the files and can validate the file names

  • Getting the page size in PDF file

    i want know how do get the page size in PDF file befor placing every page in document
    for example height=297 mm And width=210mm

    This script:
    http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both -pdf-and-indd-files.php
    answers all your questions.
    Peter

  • I keep getting the error message "Missing PDFMaker files. Do you want to run the installer in repair mode"

    I keep getting the error message "Missing PDFMaker files  Do you want to run the installer in repair mode"when I try to convert a file into a pdf.  I have tried uninstalling then reinstalling but I continue to get the message.  I am able directly print file, but there are some errors in the pages, but some of them have font errors. Please advise.

    Hey Suzanne,
    Could you please let me know what Acrobat version are you using and what kind of file are you trying to convert to PDF.
    If you are using an MS Office application, then PDF Maker has to be an active plug-in for the PDF conversion.
    Have you tried using Print to PDF option from the File menu for the same?
    Please check and then let me know.
    Regards,
    Anubha

  • How to get the absolute path of a file from the local disk given the file n

    how to get the absolute path of a file from the local disk given the file name

    // will look for the file at the current working directory
    // this is wherever you start the Java application (cound be C: and your
    // application is located in C:/myapp, but the working dir is C:/
    File file = new File("README.txt"); 
    if (file != null && file.exists())
        String absolutePath = file.getAbsolutePath();

  • Getting the page content as pdf file

    Hi All,
    I have a use case like i need to get the page content as pdf file.
    For this i found xsl file and it's config under the following locations
    /libs/cq/config/rewriter/pdf/transformer-xslt --config of source
    /libs/wcm/core/content/pdf/page2fo.xsl -- xsl file location
    For custamising this functionality i copied both confing node and xsl file under "/apps" .In the Config file i changed source to refer xsl file under /apps.But it's not taking config changes.
    I have looked into http://cqblueprints.com/xwiki/bin/view/CQ+FAQ/How+can+I+configure+the+ PDF+rewriter
    there it's saying like we need to modify the com.day.cq.rewriter.xml.XSLTTransformer class. i am not getting how to modify it.
    I need this urgently
    Thanks,
    Chinna Yadlapalli.

    This script:
    http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both -pdf-and-indd-files.php
    answers all your questions.
    Peter

  • I get the error message "Missing PDFMaker files" when trying to convert a microsoft word document(.docx)

    When I right click the word file and select Convert to Adobe PDF, I get the error message "Missing PDFMaker files".
    Im using Windows Vista Home Premium, Service Pack 2, 32 bit operating system.
    Im using Microsoft Office Home and Student 2010
    I have Adobe Reader X installed
    Thanks

    Hi RhodaMcP,
    You might want to check the KB: http://helpx.adobe.com/acrobat/kb/troubleshoot-acrobat-pdfmaker-problems-office.html
    Regards,
    Rave

  • How to get the encoding of a XML file ...

    Hi,
    How do you get the encoding of a XML file?
    For example,
    <?xml version="1.0" encoding="SJIS"?>
    I am trying to retrieve the above encoding="SJIS", but I can't seem to locate the API for doing so.
    Thanks in advance for any help,
    Eric

    Hi ddossot,
    Thanks for your suggestion.
    However, the xerces.jar file that comes with my old tomcat server is an old version and thus, the getEncoding method is not even present in the DocumentImpl class. The option to update to a newer version of tomcat and xerces is not available. What a pity... :-(
    Well, I just have to try to find a way around. Worst case scenario, parse the first line in the xml file myself.
    Regards,
    Eric

  • How to get the length of a audio file without play it ?

    Now I know a method to get the length of a audio file by play it:
    1 Create a Player, and add a ControllerListener
    2.Start the Player
    3.In the ControllerListener's controllerUpdate method, use getMediaTime() by receiving a EndOfMediaEvent
    However I think this method is not convenience, if I don't want to play it how I can get the length of the audio file?
    Is anyone can help me?Really thanks a lot !

    I got the answer here:
    http://forum.java.sun.com/thread.jspa?threadID=5149132&tstart=15
    I tried getDuration() before, but it always return a same time, I think maybe I didn't realize the player.

  • Terminal how can i get the picture dimension of a file?

    Is it possible to get the dimension of an picture (120 x 120 px) via terminal command? The information is visible under the finder "getinfo" command for picture files. Can anyone help?

    You can get image pixel size info using the ImageMagick utilities, which is a GNU package available for installation via the fink pacakage manager, then you can use the terminal command:
    identify image.gif
    ImageMagick also has several other useful conversion and image processing utilities.
    http://www.finkproject.org/
    http://www.imagemagick.org/script/index.php
    Good luck.
    P.S. - There may be ways to interact with AppleScript from Terminal to get the Finder info from a file, but I don't know how to do that.

  • In Mac how to get the Full name of a file Programmatically?

    Hi Friends,
             I am doing one Mac application for displaying the contents of a file. I can able to get some information about the file by using this code below...
      NSDictionary *dict=[fileManager attributesOfItemAtPath:myPath error:nil];
    Now I want to get the some other informations also like Full Name, copyRight, version... So Please suggest me how to get the full name of a file Programmaticallly?

    Your question doesn't make sense.
    First off, if you are going to get the attributes of a file, you need its full name before you can do anything. So that's part one taken care of.
    This function returns a dictionary full of typical file information (type, size, mod dates, etc.) as well as some HFS data (creator code, type code) which, I strongly suspect, are not "pulled out of the file" but rather generated on the spot. (See NSFileManager for the full list of attribute keys.)
    The other items you hoped of retrieving are not part of the regular file system. Sure, a Truetype font has a copyright string and a version, but what about an HTML file? A PNG? A text file you just created?
    There simply are no standard functions to retrieve copyright and version.

Maybe you are looking for

  • Help with Managing sub accounts and The page isn't redirecting properly

    Anytime I try to make a new sub account, and I click on "Sub Accounts" I get this error: The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete.     *   T

  • USB Mic no longer works with Skype after 7.1 updat...

    Using a USB headset with skype, worked with previous versions, works with other programs. I can hear people talk but they can't hear me! Skype detects the mic just fine but when I talk nobody can hear me.  I have tried updating drivers, re-installing

  • Unix command in ARD to remove DNS Servers from Network prefs?

    I need to know how to send a unix command to remove DNS Servers in Network preferences. I need the DNS Servers field to be blank. Can this be done?

  • Delay from when typed to when text appears on screen?

    I'll type but there is a long lag time before the text appears on screen. This seems to have started after upgrading to Mavericks and is most noticeable in Apple Mail. Any tips as to how to diagnose and fix? FWIW..... I'm on a MacBook Pro (closed lid

  • Output as Billing Doc

    Hi, We want to create 100 Billing documents within 1 hrs. Criteria as Payer and Bill to party are same. Can anybody help in getting this? Regards Ashish