Musical Note Harmonizer question

I'm currently working on a project that takes a signal(singing voice) from a microphone into a soundcard which is simultaneously (well, nearly simultaneously) output to my speakers.  I have gotten this to work.  So far so good.
The next step is to harmonize the signal (for example a major 3rd, octave, two octaves, etc, above or below the orignal frequency).  This is done by multiplying the orignal frequency by 2^(n/12), where n is the number of half steps above(+n's) or below (-n's) the original note giving the desired harmony.  For example a 220Hz "A" an octave higher is 440Hz (220Hz*2^(12/12)=440Hz), or a major 3rd (4 half steps above "A" would be 220Hz*2^(4/12)=277.20Hz a "C#").
OK... so the problem I'm having is taking the original aquired signal from the SoundInputRead.vi which has a data type of a 1D array with Waveform(DBL) elements.  I've simply tried multiplying the SoundInputRead.vi signal output with the 2^(n/12) equation using a multiplication block (from the numeric pallete), but I only seem to get audible static(noise) around the input note that is sung.  Is there some way to convert the waveform(DBL) data type so that I can make the multiplication to the input frequency then convert it back to the waveform data type with the updated (harmonized) values for sound output?  Am I going about this the correct way?
Any help would be most appreciated. 

I've just started playing with some sound apps myself.  I'm no expert on it but I think you're missing something here.  The output arrays of the sound VIs are the Y (amplitude) components.  Changing them will affect volume rather than pitch.  If you want to change the frequency of the sound you'll have to change the sample rate at which it plays back.  Two problems here.  First, you are limited to only a few standard rates (11025, 22050, 44100, 8000) with the sound output VIs.  Second, if you shift more than a few tones you'll experience "munchkinization".  The timbre of the sound will change along with the pitch making the harmonized voices sound more like the Chipmunks (or Darth Vader).  You can apply formant corrections to make the timbre stable but that would be a rather advanced project. 
I'll be sure to post anything else on this thread that might assist your endeavours.  If anyone else on the boards has more info on this subject please don't hesitate to 'Sing Out'.
Using LabVIEW: 7.1.1, 8.5.1 & 2013

Similar Messages

  • HT1848 How to transfer Ipad music NOT purchased from Apple to Macbook Air. Answers found in the Community does not seem to deal with the questions some members already ask.

    how to transfer Ipad music NOT purchased from Apple to MacBook Air.  Answers found in the Community does not seem to deal with similar questions posted to the Community.

    You can only transfer purchases from iTunes on the iPad into iTunes on your computer. If you bought the music from another source, you need to use the source app to transfer the music, or you need a third party app to transfer the music.
    http://www.wideanglesoftware.com/touchcopy/

  • This is not a question just an observation. happy birthday ipod. thank you for the fantastic 10 years, thank you for changing the way we think about music.

    this is not a question just an observation. happy birthday ipod. thank you for the fantastic 10 years, thank you for changing the way we think about music.

    frank,
     every negative experience is an opportinity to learn.   deleting or moderating these experiences would be turning away the chance to learn.   as long as users follow the participation rules, we allow even the most negative posts to remain. 
    as you said, forums are inherently negative by nature as users typically come here to solve a problem.   those of us who try to solve the problems are in the minority.   we certainly appreciate users such as yourself who voluntarily return to the forum to help out, especially those who initially came here to solve a problem themselves.
    thank you as well.
    -erik
    ThinkStation C20
    ThinkPad X1C · X220 · X60T · s30 · 600

  • I REALLY need help W/ my New Ip 4. Music Note Link, takes me right to the store, and keeps telling me, all my music has been downloaded, but I can't find it anywhere.... HELP!!!

    I upgraded my Original Iphone to an Iphone 4, and am having issues syncing my Music,
    It asked me, if I wanted to set up my phone as a NEW Iphone, or use the last sync. I figured, using the last sync would simply move everything over. NOT, so much. I am using Windows, Not Mac.
        I uploaded the LATEST version of Itunes. And on occasion if I click the Music link button, and tap a bunch of things,.. It will take me to a page that says,.. Iphone or Shared Library. The only way I can get my music to show up, is via, tapping Shared Owner's Library. But it takes a zillion taps to get there, and 50% of the time doesn't show up at all. It says- repeatedly, Either, "You have no songs," etc. or when I tap, "Not on this device" it says, "all of your music has been downloaded to this device..." But HOW do I get to it?
        On my OLD phone, all I had to do was tap the Music Note,... and my library showed up... That's all I want...
    I put my music in the cloud, etc,.. I just thought that was a COPY. Am I needing some kind of CLOUD app on my phone? Or Can someone walk me thru this... I'd be eternally grateful. I'm ready to throw this thing out the window! HELLLPPP! PLEASE!!!
    Thank You In Advance,
    Shea....

    The reason, I included the annotation that I'd upgraded my Itunes, (On my Computer) is B/C in many forums - the very first question, *HELPERS* ask, is. "Do you have the latest version of Itunes downloaded on your computer." I wanted to knock out any obvious replies.
    Now-  "DO YOU have any idea,"... how your UNHELPFUL remarks, do absolutely nothing but hurt others that might not have the EXPERIENCE you have? How do you expect people to know things without asking questions? Whew! RUDE!!
    Message was edited by: Apple I0S Help Team

  • Music Not Played Recently

    In an effort to make the iPhone truly randomly shuffle music (I hear the same tracks multiple times per day even though I have shuffle turned on) I created a "Smart" Playlist called "Music Not Played Recently".
    This supposedly Smart Playlist contains only one rule as follows:
    "Last Played is not in the last 14 days"
    There are about 1200 tracks on my iPhone but I still hear the same tracks multiple times per day so this playlist does not work. (I thought perhaps I had a few duplicate tracks but no there is only one version of each track on the iPhone and in my collection)
    In iTunes the playlist seems to work fine and I can see tracks drop out of the list as they are played.
    Question is:
    Do Smart Playlists such as the above work on the iPhone?
    If not, why not?
    If so, what am I doing wrong that it works in iTunes but not on the iPhone?

    anyone?

  • "Using the harmonic analyser to determine the musical note of sound input from a mic and soundcard"

    "Hi there, I am currently trying to extract what musical note is being sung via a mic plugged into my soundcard and using the harmonic analyser VI, I am experiencing problems however, as the fundamental frequency output does not always match the note being sung. Does anyone have any ideas why this may be? I initally thought it may be due to aliasing occurring but this is compensated for in harmonic analyser VI! If anyone has any suggestions I would be extremley grateful. Thanks
    Em"

    [posted and mailed]
    em wrote in news:5065000000050000009F680000-1012609683000
    @exchange.ni.com:
    > I'm pretty sure it would work fine with pure tones (although I do
    > intend to test this), my problem really is how to fix it so that it
    > can work with voices! One idea I thought about was to apply the
    > A-weighting to the waveform to more accurately model the way a human
    > would hear the sound, but I'm not sure how much difference this will
    > make, any other suggestions would be very useful.
    > Thanks
    > Em
    Rob Cole is right, your question is one that has a lot of potential
    answers.
    Here are a couple of notes / thoughts:
    A-weighting probabably won't help much for your particular app, as it
    sounds like your are more interested in tone detection, rather than
    modeling how a human would hear or compliance with a standard.
    Probably the most likely reason you are seeing the fundamental frequency
    vary is that you are measuring a real-world signal that is a human voice.
    Even though your singer may be singing a constant note, the frequency
    content will vary somewhat--your singer is an imperfect boilogical
    system. (Nothing against your singer in particular--no signer is
    perfect!) Also, as Rob Cole pointed out, your singer's note isn't a pure
    tone at all, but a collection of harmonics that you perceive as a note.
    Regarding aliasing, it's important not to confuse any algorithmic
    compensation (applied after a signal has been sampled) with true alias
    protection. If you are using a sound card, it likely doesn't have
    hardware-based alias protection. The only way to ensure that aliases
    don't intrude on the frequency span of interest is to apply a hardware
    filter prior to sampling your signal. Such filters can be added to the
    front end of a DAQ board or come built-in with DSA hardware such as the
    NI 4472. The software alias-related functionality of the Harmonic
    Analyzer VI's simply excludes signal content that exceeds the Nyquist
    rate in the distortion calculation.
    I'm not sure specifically which VI you are referring to, but the SINAD
    and Harmonic Distortion Analyzer VIs from the waveform analysis palette
    use a tone detection algorithm to find the fundamental which is the same
    as the one found in the Extract Single Tone Information VI. All of these
    VIs include an advanced search input where you can specify a guess for
    the frequency of interest and a range (as a percent of the sampling
    frequency). You might try to narrow the search from the "try everything"
    mode (-1 in the approx freq.) to something with less span around the
    expected freq range.
    Take a look at the power spectrum of your signal and verify that you see
    a distinct, time-invarient peak where you expect your fundamental. My
    guess is that you don't. I've whistled into a mic enough to know.
    A final suggestion is to increase the duration (# of samples) acquired in
    your acquisition. When you do so, you increase the duration of the signal
    window that you analyze. If your signal shows slight frequency variation
    over a given period of time, they can tend to average out with increased
    duration of the signal that you analyze.
    Hope this helps!
    --Sam

  • TS3297 Every time I open iTunes to listen to music, not access the iTunes Store, I get the password sign in box, over and over again. When I try to access the iTunes Store it does not except my password. This has happened since the last update.

    Everytime I open iTunes to play music, NOT to access the iTunes Store, I get the password sign in box for the iTunes Store. If I click cansel the box pops up a second time.
    When I try to sign in to the iTunes Store it does not except the password and pops up the sign in box afain,and again endlessly.
    This started happening about two weeks ago.

    if itunes will not run, you probably have mangled windows badly
    one feature of windows 8 is the refresh that saves libraries,
    because you are using windows 7, you will need to backup all files to another storage device

  • Not a question.  A comment actually.  Regarding the persistent blue Autofill popup in Safari.  My wife first shut down the Mac then unplugged it for a few minutes.  On restart, the box was gone.

    Not a question.  A comment actually.  Regarding the persistent blue autofill box that may appear in Safari, my wife shut down the iMac then unplugged it for a few minutes.  On restarting, the box was gone.

    Do you have a question?

  • When I purchase music through iTunes from my MacBook Pro, my iPhone 4 iTunes app cannot detect those purchase to allow them to download to my phone. If I open up the iTunes app and select "purchased music not on this iphone" it tells me "All of your a

    When I purchase music through iTunes from my MacBook Pro, my iPhone 4 iTunes app cannot detect those purchase to allow them to download to my phone. If I open up the iTunes app and select "purchased > music > not on this iphone" it tells me "All of your available music has been downloaded to this device." However, my purchases are not yet downloaded to the iphone and not available to download. If I go to "purchased > music > all > recent purchases" it will show me the purchases that were most recent the last time I synced my phone, but not the purchases since then.
    Any thoughts on how I can remedy this and make all of my purchased music available on my phone without requiring syncing?
    iPhone 4

    So I have been searching the iStore for Airplay and I find lots of information about what it is, but nothing about how much it costs, how/where to buy it, etc.?
    Fortunately, AirPlay does not cost anything as it is a streaming protocol used by Apple. Currently, the AirPort Express and Apple TV are AirPlay-ready. A number of other companies, like JBL, iHome, Denon and Klipsch are also rumored to be working on AirPlay versions of their products.
    Your other option would be to get an AirPort Express and connect it to your Onkyo analog or optical digital audio input and stream from iTunes that way. I currently do this with my 10+ year old Harmon Kardon HT receiver.

  • HT1689 My iphone is frozen after trying to upload ios5.0  my i phone does not change back to normal format it shows a Cd disc  with a music note and the it is plugged into the port .. how do i get my phone back

    I tried to sync and upload the iOS 5.0 version to my iphone 4   all was well it was processing then it just stopped and Now my actual I phone is frozen. I have turned it off. I have rebooted it several times   the I phone itself shows a CD with a music not over it and under it in small letters  iTunes   with an arrow pointing up wards  and a picture of  the small end cable  on the screen . it will not move change unlock   it is frozen into that position.. how do i get the useage of my phone back   this is rather daunting wehn all i was trying to do was up load the most recent version upgrade of iOS..   Please help any suggestions  thanks

    THe phone is NOT jail broken..   all i want to do is have it return back to how it was before i started the updae version process obviously it did not take  and now it is locked into plave the screen will not change.. after reboots and shut down when i turn it back on the same screeen appears  the cd disc with the music note over it and the arrow pointing upwards  and  a picture of the small end of the charge cord that fits into the actual compute..   The phoen is not jail broken  all i want is to get my phone back  so i can use it   i logged into i tunes and there is no where on the page that gives direction to return it back to its original format prior to trying to up grade .. whe at do i need to do to unlock the frozen compent and reutrn it back to its normal point prior to trying the upgrade

  • HT1473 How can I transfer my music (not purchased from Itunes) from my Ipad/Iphone to my new Itunes library on a Macbook Pro?

    I've recently bought a new Macbook Pro and in my Itunes Library everything I have purchased from Itunes is in my new Itunes Library.
    However I want to transfer all my music (not purchased from itunes) from my Ipad/Iphone to my new Itunes Library.... and I have absoutely no idea how to do this? Also I'm scared to press sync when my ipad is plugged into my Mac incase will loose all this music!
    Help Please!

    The iphone/ipad/ipod is not a backup/storage device.  The sync is one way - computer to iphone/ipad/ipod.
    Copy everything from your old computer or your backup copy of your old computer.

  • When I sync my iphone 4S using iTunes it only syncs 8.5GB of music, not the entore library as specified.  Is there a capcity default limit of the amount of storage that can be used for music and if so how do I change it?

    When I sync my iphone 4S using iTunes it only syncs 8.5GB of music, not the entore library as specified.  Is there a capcity default limit of the amount of storage that can be used for music and if so how do I change it?

    The only limit is that of the device. No restrictions on how much of it you can use for music. Is part of your music library unchecked?
    tt2

  • My ipod touch is stuck on a screen that shows a picture of the USB cable with an arrow to "itunes" and pic. of a CD with a music note over it....what do I do?

    My ipod touch is stuck on a screen that show  a picture of the USB cable with an arrow to a picture of a CD with a music note over it.  I have reset and turned on and off.....what do I do??

    Connect it to iTunes and restore it.
    B-rock

  • Itunes no longer has my music in my music library. How do I transfer ALL my music (not just the purchased from Itunes) from my Ipod Touch back to my Itunes library on my computer.

    ITunes no longer has any of my music in my music library. How do I transfer all of my music ( not just the purchased music from ITunes) from my IPod Touch to Itunes library on my computer for syncing to other devices.

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • HT1296 My I-Phone has music on it that was synced from an I-Tunes library from a previous computer (which is no longer in use) AND purchases from the I-Tunes store.  I would now like to transfer ALL of that music (not just the purchases from the I-Tunes s

    My I-Phone has music on it that was synced from an I-Tunes library from a previous computer (which is no longer in use) AND purchases from the I-Tunes store.  I would now like to transfer ALL of that music (not just the purchases from the I-Tunes store) into the I-Tunes library that I've established on a new computer.
    Can that be done, and how (I've attempted without any success)?
    Any assistance would be GREATLY appreciated!!

    Contact iTunes support and explain your situation to them.  They may let you redownload it at no cost.
    http://www.apple.com/support/itunes/contact.html
    If they don't, I'm afraid you'll have to purchase it again.  Sorry.
    B-rock

Maybe you are looking for

  • Oracle Maximum Date Query

    i need assistance in creating a query select a.job_number, a.title, a.request_date, a.completion_date, b.modification_number,b.actual_cost, b.shop_facility_percentage, d.status_date from survey_jobs a left outer join survey_job_bundles b on (a.survey

  • Is my Time Capsule about to "die"?

    So I bought a new Mac mini to be my new multimedia server, using Plex, hooked up to the HD TV and my Time Capsule 500 GB Dual-Band as a content server. The playback stuttered and I eventually realized it didn't do so if I played content from another

  • Elements 10 for PC Download Link ? Adobe Hangs up on me

    Hello does any one know how i can get element 10 for pc? i lost my disc and only have my Mac disc and i need it for my PC but cant find the PC disc, i all ready did a chat with adobe and they said i could use my Mac serial # with  the PC version he s

  • Corrupted itunes file???????????

    someone please help in the next two days i am leaving the country for 18 days and i MUSt figure this out soon. Whenever i start iTUnes a little bubble/message pops up on the taskbar on the bottom . It says one of my itunes files if corrupt. I uninsta

  • Keyboard/Mouse Pairing Issues-New HD

    Hi, I am unable to install Snow Leopard on my newly installed hard drive because my wireless keyboard and mouse will not pair with the desktop and allow me to hold down "c" to run the install disc. Can someone please help? Thank you!