News for hackers. Stuff that matters.
Re:Show HN: I made a free app to calibrate your turntable by... by criddell on Tuesday May 28, 2024 @12:41PM (#40502659)
So many recordings (especially before 2000) seem to be sped up a little. I can’t tell by listening to the song but when you try to play along with a guitar, it sounds terrible. Sometimes it helps to find a live version on YouTube.
Re:Show HN: I made a free app to calibrate your turntable by... by taylodl on Tuesday May 28, 2024 @01:09PM (#40502926)
Correct. That was often done when mastering with tape. Record at one speed, playback at another to make it sound more "lively." There are songs that were sped up that way anywhere from 25 to 40 cents. It's another reason why live music so often doesn't sound like the recording.

When using digital mastering, you can also adjust the playback speed, but you can correct the shift. You get more "liveliness" without the shift change. That's why you're not hearing the pitch shift so much in more recent music.

Re:Show HN: I made a free app to calibrate your turntable by... by criddell on Tuesday May 28, 2024 @04:06PM (#40504982)
Do you happen to know of any tools for fixing pitch issues in music files?
Re:Show HN: I made a free app to calibrate your turntable by... by tharmas on Tuesday May 28, 2024 @04:29PM (#40505266)
Anatares Auto-tune.
Re:Show HN: I made a free app to calibrate your turntable by... by 4gotunameagain on Tuesday May 28, 2024 @04:58PM (#40505546)
Audacity.

Free and open-source.

Re:Show HN: I made a free app to calibrate your turntable by... by kazinator on Tuesday May 28, 2024 @09:10PM (#40507225)
I used Audacity recently to fix some youtuber's backing track for guitar improv, by tuning down 7 cents. I reuploaded it:

https://www.youtube.com/watch?v=TE3pgOkfYu0

In that case, it's a pure stretch: i.e. the tempo is slowed down by a factor of 0.996 to achieve the pitch change.

I also have an unpublished version of that track transposed from the key of Em to Dm; that was a pitch change preserving tempo.

Re:Show HN: I made a free app to calibrate your turntable by... by criddell on Tuesday May 28, 2024 @09:41PM (#40507425)
How did you determine 7 cents was the correct amount?
Re:Show HN: I made a free app to calibrate your turntable by... by kazinator on Tuesday May 28, 2024 @10:01PM (#40507587)
Trial and error. Guitar meticulously tuned to concert pitch, with attention to the 12-15 fret area, then compare against versions of the track slowed down by all available factors in audacity from around 0.993 to 0.998. (The stretch tool doesn't take more digits, stupidly.)
Re:Show HN: I made a free app to calibrate your turntable by... by lightedman on Wednesday May 29, 2024 @08:04AM (#40511020)
"Guitar meticulously tuned to concert pitch, with attention to the 12-15 fret area"

When you need to pay attention to anything outside of open string, fretted 12th, open harmonic 12th fret (and fretted 24th if you have a 24+ fret guitar) for intonation, it's time to get the guitar to a luthier for setup maintenance. Something else is drastically wrong in the setup.

Re:Show HN: I made a free app to calibrate your turntable by... by kazinator on Wednesday May 29, 2024 @11:33AM (#40513058)
When you're deciding between a 6, 7 and 8 cent pitch shift, using your instrument as a reference, you should pay attention to the notes you are using, no matter how confident you are in the intonation.
Re:Show HN: I made a free app to calibrate your turntable by... by taylodl on Wednesday May 29, 2024 @09:19AM (#40511681)
Depends on what you're trying to do. For guitar practice, I use AnyTune Pro+. I use for learning the lead, because with my musical experience I can nail the rhythm guitar part by ear in a couple minutes. Not so with lead guitar parts, I'm afraid! But yeah, you can adjust frequency, you can adjust playback speed, you can pick a point A and a point B and loop between those points (great for breaking down each section of the solo). If you slow the playback speed slower than 70% or so, you're going to start getting a lot of digital noise. Once you've learned how to hear the notes through the noise then you can learn even super fast solos.

As I'm writing this I'm thinking to myself I know there are AI tools now that can take any track and produce all the stems for all the different parts in the track. You'd think for something like the lead guitar they could analyze that stem and produce either the tablature or standard music notation for the solo. That would be kinda awesome! I wonder if such a tool now exists?

Re:Show HN: I made a free app to calibrate your turntable by... by criddell on Wednesday May 29, 2024 @10:02AM (#40512123)
I wrote elsewhere that I recently asked Claude AI to help me learn a Pixies song on guitar and it wouldn't give me anything but generic advice because of copyright.
Re:Show HN: I made a free app to calibrate your turntable by... by cnasc on Tuesday May 28, 2024 @06:19PM (#40506225)
I could swear the music video version of Evil by Interpol is faster than the album version, but it’s just inconvenient enough to verify that I haven’t bothered
Re:Show HN: I made a free app to calibrate your turntable by... by uuddlrlrbaba on Wednesday May 29, 2024 @12:26AM (#40508468)
comparing runtimes should do
Re:Show HN: I made a free app to calibrate your turntable by... by jimbobthrowawy on Wednesday May 29, 2024 @01:29AM (#40508782)
What are cents in the context of playback speed? Hundredths of an RPM?
Re:Show HN: I made a free app to calibrate your turntable by... by kazinator on Wednesday May 29, 2024 @01:38AM (#40508821)
A cent is a factor of 2^(1/1200). There are 1200 cents in an octave, which is a doubling in frequency: if we have 1200 of them, 2^(1200/1200) = 2^1 = 2.

Lisp-wise:

  2> (exp2 (/ 1200))   ;; exp2 is courtesy of ISO C 99
  1.00057778950655
So, it is a .0578 percent change in pitch, or determiner of pitch like record rotations speed.
Re:Show HN: I made a free app to calibrate your turntable by... by chrisshroba on Wednesday May 29, 2024 @09:17AM (#40511657)
A little more intuitively, 1 semitone is one "note", aka the interval between two successive notes on a piano (including white and black keys) such as C to C#, and to talk about intervals less than that, we use cents as 1/100 of a semitone.

Musically, two notes an octave apart vary by a factor of 2 (e.g. Middle A (A4) is 440Hz and the next A (A5) is 880Hz), and our ears hear frequencies logarithmically rather than linearly, so each of the 12 semitones in an octave is a factor of 2^(1/12) higher than the previous one (so that 12 of them in a row result in doubling the frequency), and therefore the 100 cents between each semitone are each (2^(1/12))^100 = 2^(1/1200) greater than the previous one.

Re:Show HN: I made a free app to calibrate your turntable by... by taylodl on Wednesday May 29, 2024 @09:08AM (#40511592)
There are 100 cents to a semitone - by definition. The frequency shift of a 25 to 40 cent adjustment isn't likely going to be noticed by the average listener. A lot of times you don't notice it until you try to play guitar along with the song and you notice something is a little "off."

In can drive you nuts when you're playing by ear because when trying to find the root note, i.e. the key, you'll find it between two semitones. Always go for the lower tone. For example, if it sounds like it's a little sharper than A, but it's definitely not Bb, then you know it was A and the mastering was sped up. That's another thing, in my experience it's always sped up and never slowed down.

I have a theory that one of the reasons Eb standard guitar tuning started becoming so popular in the late 60s and into the 70s was because the speed up was getting to be so common that guitar players started adjusting their tuning for it, not to mention you generally get a "heavier" sound.

Re:Show HN: I made a free app to calibrate your turntable by... by cjk on Wednesday May 29, 2024 @01:50AM (#40508886)
A bunch of the High Voltage-era AC/DC stuff was this way, IIRC. It's really awkward to play guitar along with the songs in question unless you painstakingly match the goofy tuning of the song, or adjust the pitch of the song first.
Re:Show HN: I made a free app to calibrate your turntable by... by khill on Wednesday May 29, 2024 @02:30PM (#40515165)
Same with This Charming Man by The Smiths and Mary Jane's Last Dance by Tom Petty
Re:Show HN: I made a free app to calibrate your turntable by... by cjk on Thursday May 30, 2024 @05:41PM (#40529020)
Oh man. Love Tom Petty. RIP.