Live data from Hacker News

Python, Pitch Shifting, and the Pianoputer

zulko.github.io

31–32 of 32 posts

Re: Python, Pitch Shifting, and the Pianoputer

#31
post #18

Earlier quoted context omitted.

That's crazy, can someone with perfect pitch really be that accurate?

Yes. I later tested and he had 1hz resolution in that range(!!!)

That's about four cents, or a twenty-fifth of a semitone. I don't think I can even distinguish relative pitch at that level (although 15 cents I can do easily -- roughly the difference between a just major third and an equal-tempered one).

Re: Python, Pitch Shifting, and the Pianoputer

#32
post #22
post #6

Earlier quoted context omitted.

It would be more helpful if you could describe the results more accurately. The most common reasons in audio problems I've found are mismatching sample rates and a failure to meet the deadline of the audio interrupt, causing choppy or distorted audio. A mismatched audio format (ie. number of channels or bits per sample) might also cause problems. Also, knowing what OS/Audio api backend is being used is vital informat…

You are right, feedback should contain constructive comments, but I couldn't be bothered to go into further details when I wrote my response. Here is a short video that I made showing what it really sounds like on my machine: https://vimeo.com/97857232 I can't affort to "nerd into" the actual problem right now. Hence the whitty and non constructive comment. Apologies.

I get exactly the same effect

EDIT: Looking into it further, I get that effect just loading up the provided .wav (which sounds fine in any media play) and not doing any processing on it, just trying to play it straight up.

EDIT AGAIN: Got it, the very low buffer size of 100 is casuing the problem. Using the default size and everything is working like a charm

Post reply on HN