Live data from Hacker News

Python, Pitch Shifting, and the Pianoputer

zulko.github.io

11–20 of 32 posts

Re: Python, Pitch Shifting, and the Pianoputer

#11
FL Studio (a so-called digital audio workstation) has an option for using the typing keyboard as a piano keyboard. The layout looks like this: http://www.image-line.com/support/FLHelp/html/img_glob/qwert... I'll definitely try the layout as mentioned in the article, the playing looks very natural.

Not very hacky, but you can download the free demo of FL and have a go at playing with many synthesizers and audio samples. It's too bad my keyboard (and, I suspect, a lot of keyboards) doesn't support every possible key combination; a lot of even 3-note chords are impossible to play.

Re: Python, Pitch Shifting, and the Pianoputer

#12

FL Studio (a so-called digital audio workstation) has an option for using the typing keyboard as a piano keyboard. The layout looks like this: http://www.image-line.com/support/FLHelp/html/img_glob/qwert... I'll definitely try the layout as mentioned in the article, the playing looks very natural. Not very hacky, but you can download the free demo of FL and have a go at playing with many synthesizers and audio sample…

On a side note, Linux Multimedia Studio (LMMS) is an open source clone of FL Studio. Although its not on par with FL Studio's experience and features, its pretty neat and has all the essentials in place!

Re: Python, Pitch Shifting, and the Pianoputer

#13
post #8
post #2

Writing sound/music-generating applications is one of the most fun things you can do with your computer! Here's a simple synth I wrote some years ago. https://github.com/rikusalminen/jamtoysynth/blob/master/src/... It was originally intended for a 4k intro (ie. demoscene) which I never finished. The synth was written in x86 assembler using 16.16 fixed point algebra because the instruction encoding for grabbing the lo…

To teach mysefl a bit more about x86 assembly I once wrote a speaker-clicking loop. It was very educational: when I first played A440, a person in the room spoke up and said "I have perfect pitch. That's 438Hz". he was right. I had a delay bug.

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

Re: Python, Pitch Shifting, and the Pianoputer

#15
post #8

Earlier quoted context omitted.

To teach mysefl a bit more about x86 assembly I once wrote a speaker-clicking loop. It was very educational: when I first played A440, a person in the room spoke up and said "I have perfect pitch. That's 438Hz". he was right. I had a delay bug.

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

Actually, it might not be as difficult as you think. Someone with a good knowledge of music theory and some ability with perfect pitch may well be able to recognize the difference with current A440 tuning and A435. Given that ability being able to recognize that it is between either and then guessing 438hz (and being lucky) doesn't seem too hard to believe to me. That said, I'm sure I couldn't manage to even guess within 100hz.

Re: Python, Pitch Shifting, and the Pianoputer

#18
post #8

Earlier quoted context omitted.

To teach mysefl a bit more about x86 assembly I once wrote a speaker-clicking loop. It was very educational: when I first played A440, a person in the room spoke up and said "I have perfect pitch. That's 438Hz". he was right. I had a delay bug.

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

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

Re: Python, Pitch Shifting, and the Pianoputer

#20
post #10

For anybody intrigued by this, the next step may be a Microbrute, bassStation, or maybe a MS20 mini, all for http://thesynthesizersympathizer.blogspot.com/2014/03/buying...

Or go completely other way and get the most basic MIDI controller and play around with Pure Data, SuperCollider and other fun stuff. Not saying that would better, but might be more approachable by the HN crowd and probably cheaper too.
Post reply on HN