Pitch detection - how would you solve this problem?

Author
thedukewestern
Max Output Level: -83 dBFS
  • Total Posts : 387
  • Joined: 2008/04/14 12:06:59
  • Location: NY
  • Status: offline
2015/10/17 12:10:04 (permalink)

Pitch detection - how would you solve this problem?

I recently got a few tracks to put some vocal ideas on - however - I've found that the original track has guitar in drop d - however the overall tuning of the track is somewhere between d and e flat - I first heard this - but then opened up a small portion of just the guitar in melodyne to make certain I wasnt crazy.  So - how would you adjust melodyne so that it detects the real tonal center of something that may be not necessarily at 440....   and then snaps to the grid of that new tonal center.

Be the first one who thinks that you can
 
Sonar Platinum, Windows 7 64 bit - clean install January 2016, Focusrite Pro 40, Outboard Pres, Native Instruments Komplete, Izotope, PSP, Melodyne, Vegetarian
#1

15 Replies Related Threads

    Anderton
    Max Output Level: 0 dBFS
    • Total Posts : 14070
    • Joined: 2003/11/06 14:02:03
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/17 13:04:48 (permalink)
    Is fixing the guitar pitch an option? Sounds like that might be the best bet in the long run. Depends upon how off it is as to whether this can be done easily and without artifacts.

    The first 3 books in "The Musician's Guide to Home Recording" series are available from Hal Leonard and http://www.reverb.com. Listen to my music on http://www.YouTube.com/thecraiganderton, and visit http://www.craiganderton.com. Thanks!
    #2
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/17 13:35:42 (permalink)
    I've hardly used Melodyne but have you looked for some kind of "Cents" adjustment option? Since 440 is obviously only one commonly used tonal center it would make sense that they would account for other tunings. So let's say the guitar track was laid down at A 335 you'd change Melodyne to set it's pitch grid to 335 (obviously).
     
    However... if it is ONLY the guitar (and not a pile of tracks all tuned around the guit) I agree with Craig. Pitch correct the guit then work around that from that point forward.
     
    Since you are tuning the ENTIRE guitar track you should be able to do this even in the basic version of Melodyne (it does not require the more advanced Polyphony feature). Basically you'd select ALL the blobs and tune the entire guitar track to reflect A 440. Of course not all the notes will match up to the pitch grid but it does not matter. The guit is in tune to itself and you just want to nudge the overall pitch toward 440.
     
    May require a good ear or some nice clean open notes to set the base pitch so look for a single sustained note that is clearly an A or an E or a D or something and use that as you tuning point. Turn off the Melodyne snap and move the entire track so those clear open notes land where they need to.
     
    To check out whether it work maybe toss a synth into the project (set to A 440 of course) and noodle around to see it sounds in tune with the guit. If not adjust a little more.
     
    Just some ideas.
     
    Cheers.
    #3
    Sanderxpander
    Max Output Level: -36.5 dBFS
    • Total Posts : 3873
    • Joined: 2013/09/30 10:08:24
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/17 14:02:36 (permalink)
    Beep has it right, you can adjust the pitch in the settings menu.
    Although honestly, I personally never use the snap to pitch, I go by ear. Assuming you sang with the guitar part, you should be close and you can hear where you are off. Whether or not the note visually aligns with the line means exactly nothing.
    #4
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/17 15:05:01 (permalink)
    Sanderxpander
    Beep has it right,

    A scary though. ;-)
     

    Although honestly, I personally never use the snap to pitch, I go by ear.



    Yeah... snapping pitch rubs me all sorts of wrong in these scenarios. Totally unnatural. The few times I've used the auto features in Melodyne it's the whole "adjust by percentage" slider thingie then anything that still sounds weird gets done by hand/ear.
     
    But I'm more of an audio track guy and prefer "organic" pitches (and timing) that work well together over that hard correct/"perfect pitch" sound.
     
    I should get over that aversion though if I intend to create for the current industry. Just won't happen on my own material is all.
    #5
    Sanderxpander
    Max Output Level: -36.5 dBFS
    • Total Posts : 3873
    • Joined: 2013/09/30 10:08:24
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/17 15:41:24 (permalink)
    I only correct notes that sound off to me, I don't think I've ever done a blanket "correct pitch" thing on an entire track. If I can't hear it's off, I have to trust that others will hear it even less. Also, I mostly work with professionals which helps in that the source material (or an alternate take) is usually very close to the mark so I can stick to small corrections. If I had to do an automatic correction over a lot of material I'd tell whoever it was to sing or play again.
    #6
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/17 16:02:32 (permalink)
    Sanderxpander
    I only correct notes that sound off to me, I don't think I've ever done a blanket "correct pitch" thing on an entire track. If I can't hear it's off, I have to trust that others will hear it even less. Also, I mostly work with professionals which helps in that the source material (or an alternate take) is usually very close to the mark so I can stick to small corrections. If I had to do an automatic correction over a lot of material I'd tell whoever it was to sing or play again.



    One thing it's good for is dealing with the intonation problems on a standard bass (which is what I've used it for). It's impossible to get a perfect pitch all the way up a fretboard even on a stringed instrument that's had its intonation properly setup (it's all in degrees of "off" and there will always be some slight pitch wobble due to the player). You know this of course 'cause you've been doing this a while.
     
    But yeah... tossing Melodyne on a bass track really tightens things up in that regard so doing it as a bulk process makes sense.
     
    It also makes any bass reinforcement (doing an audio to MIDI conversion of the bass out to a softsynth) sound more in tune.
     
    Anything else though... I'd probably go section by section. As a guit player I would even touch my own tracks (I'd just rerecord) but I do have some things in mind for some live parts of other players where they missed their "CAGE" by a semitone... so I'd snip around that and Melodyne it up a bit.
     
    Meh... it's just really cool we can do this stuff... AND that Cake tossed this functionality in as a "free" add on.
    #7
    slartabartfast
    Max Output Level: -22.5 dBFS
    • Total Posts : 5289
    • Joined: 2005/10/30 01:38:34
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/17 16:32:45 (permalink)
    Beepster
    Since you are tuning the ENTIRE guitar track you should be able to do this even in the basic version of Melodyne (it does not require the more advanced Polyphony feature). 



    I have not used Melodyne, but I do wonder what polyphonic means in this context. I expect that the algorithms that work well to re-tune a true monophonic source (like a single voice) would not work so well it there is a chord playing, even on the same instrument. If you are using single string bass lines, that looks like it may be monophonic, but what about a six string chord? Of course if you are trying to re-tune an orchestra...
    #8
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/17 17:09:20 (permalink)
    slartabartfast
     
    I have not used Melodyne, but I do wonder what polyphonic means in this context. I expect that the algorithms that work well to re-tune a true monophonic source (like a single voice) would not work so well it there is a chord playing, even on the same instrument. If you are using single string bass lines, that looks like it may be monophonic, but what about a six string chord? Of course if you are trying to re-tune an orchestra...




    Yeah, I wonder about the polyphony effectiveness as well. I am on Essentials (the version that comes with Sonar and does not have the polyphony capabilities) so have not had a chance to check it out.
     
    Others here though do and say it works pretty well on things like guitar BUT with some caveats. The main one being you need a clear/clean signal source. So it works well on detecting and tuning individually notes in a chord but the individual notes need to be well defined and clear for the detection to work.
     
    To me that seems like a nice laid back chord progression played without any heavy distortion or other effects could be manipulated in a reasonably useful way. Spazz out distorted nonsense like I do? I don't have high hopes for it... even if I recorded a dry signal.
     
    I honestly don't think at the speed I like to play things even using a hex pick up would provide the needed separation though.
     
    It's the same reason I'm not so sure Drum Replacer will work for me at the level I would like (but I am about to test). As awesome as these tools are I just don't think they are capabable of that finite transient detection. I think it would just get blurred and the detection tool would get confused. Same reason Audiosnap has turned into a mess on me in the past in many scenarios.
     
    Meh... I still gotta test this stuff out though but I do know in general whenever I've tried any kind of "auto detect/correct" stuff I generally have to go through everything and do a LOT of manual corrections. It almost makes it more worthwhile to start from a manual mindset and avoid auto fanciness.
     
    For picked bass though... even at high speeds melodyne seems to do well and I could of course see it working well on vox or more chillaxed material.
     
    Mayhaps I should stop being such a hyper speed spazzwad.
     
    ...
     
    Naaaaaaawwwwww....
     
     
    ;-)
    #9
    Sanderxpander
    Max Output Level: -36.5 dBFS
    • Total Posts : 3873
    • Joined: 2013/09/30 10:08:24
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/17 17:40:51 (permalink)
    If there is a detectable pitch in your note Melodyne can work with it, but perhaps not automatically. Drum Replacer exceeded my expectations the times that I used it. The filters are quite helpful.
    #10
    bitman
    Max Output Level: -34 dBFS
    • Total Posts : 4105
    • Joined: 2003/11/06 14:11:54
    • Location: Keystone Colorado
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/17 21:28:22 (permalink)
    Just use a quality? pitch shifter on the offending track or Sonar's real nice radius offline transposer.
    #11
    Anderton
    Max Output Level: 0 dBFS
    • Total Posts : 14070
    • Joined: 2003/11/06 14:02:03
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/18 12:17:37 (permalink)
    slartabartfast
    Beepster
    Since you are tuning the ENTIRE guitar track you should be able to do this even in the basic version of Melodyne (it does not require the more advanced Polyphony feature). 



    I have not used Melodyne, but I do wonder what polyphonic means in this context. I expect that the algorithms that work well to re-tune a true monophonic source (like a single voice) would not work so well it there is a chord playing, even on the same instrument.

     
    Melodyne Essential can pitch-shift polyphonic material, just like the Transpose DSP function but without being restricted to semitone intervals. The difference compared to Editor is that Essential can't pitch correct individual notes within polyphonic material.
     
    To do basic pitch-shifting, you choose the Percussive algorithm in Essential and all the "blobs" (which can represent chords, program material, etc.) appear on one line, without any particular pitch attributes. You can then turn off Snap, select all blobs, and transpose up or down as desired.
     
    Even with Essential, you can even do things like create new chord progressions from a rhythm guitar part - I wrote an article about how to do this for Guitar Player magazine.
     

    The first 3 books in "The Musician's Guide to Home Recording" series are available from Hal Leonard and http://www.reverb.com. Listen to my music on http://www.YouTube.com/thecraiganderton, and visit http://www.craiganderton.com. Thanks!
    #12
    Anderton
    Max Output Level: 0 dBFS
    • Total Posts : 14070
    • Joined: 2003/11/06 14:02:03
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/18 12:22:40 (permalink)
    An aside about Melodyne Editor: The most mind-boggling example I've had of its near-magical qualities was when I did a slide guitar part and the slide ended up at an angle, so the notes on the top strings were a little sharp, the notes in the middle were on pitch, and the notes on the bottom strings were a little flat. Melodyne Editor was able to correct this, which pretty much blew my mind.

    The first 3 books in "The Musician's Guide to Home Recording" series are available from Hal Leonard and http://www.reverb.com. Listen to my music on http://www.YouTube.com/thecraiganderton, and visit http://www.craiganderton.com. Thanks!
    #13
    teego
    Max Output Level: -80 dBFS
    • Total Posts : 518
    • Joined: 2011/02/04 19:40:55
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/18 12:45:51 (permalink)
    thedukewestern
    I recently got a few tracks to put some vocal ideas on - however - I've found that the original track has guitar in drop d - however the overall tuning of the track is somewhere between d and e flat - I first heard this - but then opened up a small portion of just the guitar in melodyne to make certain I wasnt crazy.  So - how would you adjust melodyne so that it detects the real tonal center of something that may be not necessarily at 440....   and then snaps to the grid of that new tonal center.


    I don't use Melodyne much but I think it does it for you. If you look at the bar(column) farthest left in Melodyne in melodic mode it will tell you the pitch center such as A440 then it will tell you the detected center. I believe if you click the detected center it will then do its tuning based on that. Again,I don't use it very much so I am not saying this is fact, just how I believe it works.

    Computer: Intel core2 quad q8400 @2.66ghz, 4 gb memory,64 bit Windows 7 Focusrite Saffire Pro 24, Sonar Platinum Ipswich and Update 1
     
    #14
    pdlstl2
    Max Output Level: -90 dBFS
    • Total Posts : 41
    • Joined: 2014/09/26 11:23:12
    • Location: United States
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/18 17:19:25 (permalink)
    Anderton
    An aside about Melodyne Editor: The most mind-boggling example I've had of its near-magical qualities was when I did a slide guitar part and the slide ended up at an angle, so the notes on the top strings were a little sharp, the notes in the middle were on pitch, and the notes on the bottom strings were a little flat. Melodyne Editor was able to correct this, which pretty much blew my mind.


    I use Editor to successfully fix fiddle double stops and pedal steel tracks.

    I've been using Celemony since Cre8. I use it daily and couldn't do business without it.
    #15
    mettelus
    Max Output Level: -22 dBFS
    • Total Posts : 5321
    • Joined: 2005/08/05 03:19:25
    • Location: Maryland, USA
    • Status: offline
    Re: Pitch detection - how would you solve this problem? 2015/10/19 07:21:02 (permalink)
    A few weeks ago this happened to me when I was messing with AC/DC's "Highway to Hell." That song is roughly 40 cents flat. As mentioned above two options would be to adjust the original or adjust my tuning. A neat site I found in the process of mucking around was this, and using HWTH as an example, if you put "-40" cents in the upper left box it will give you the frequency ratio of 0.97716.
    1. To adjust the track I would probably use Audacity (provided all parts are tuned the same), but I did not choose this route. Audacity allows simply inserting a new sample rate (pitch shift) on the track, so if at 44.1KHz, could use 44.1KHz/0.97716 or 45.13KHz to bring it up to 440 tuning. Edit: I just downloaded Audacity since I have not used it in forever. Audacity has an easy adjustment to change pitch without tempo (Effect->Change Pitch... and put cent adjustment in (top) or percentage adjustment in (bottom) of that pop-up window). For the HWTH case, 0.40 in the top adjusted the song to 440 tuning.
    2. Adjust the tuning (what I chose). With a chromatic tuner I can simply tune -40 cents across the board, but when using Melodyne it would equate to 440*0.97716 or 429.95 (430Hz) which for me matched the original recording well enough to work with the original recording as a guide track. I actually used 430 for tuning on my Korg CA-40 tuner, since tuning to -40 cents is rather difficult on that (or any that I have used).
    post edited by mettelus - 2015/10/19 11:00:34

    ASUS ROG Maximus X Hero (Wi-Fi AC), i7-8700k, 16GB RAM, GTX-1070Ti, Win 10 Pro, Saffire PRO 24 DSP, A-300 PRO, plus numerous gadgets and gizmos that make or manipulate sound in some way.
    #16
    Jump to:
    © 2025 APG vNext Commercial Version 5.1