Yesterday I finished composing a solo piano piece. When I was working on it, I noted that it was playing at a tempo that was a bit slower than I’d marked it: quarter = 102. The thing that puzzled me was that that 102 seemed slower than I thought it should be. I don’t have “perfect tempo,” but like most musicians I can make pretty accurate guesses. So I played it while tapping on the metronome app on my phone to check the tempo. Sure enough, it was slow. I bumped the marking at the beginning up to 112, and that tempo was perfect musically, i.e. about 102 as far as I know.
Ignoring that what I wrote and what I heard were different, I finished the piece and then exported the file to a WAV.
The piece is in A dorian. When I played the WAV file, I noticed that the tempo was brighter (faster) than the 112 that I had marked.
Furthermore … and this is really a mystery to me … the faster WAV version plays in the right pitch, but to my astonishment, I discovered that the Dorian version was playing back at a WHOLE STEP LOWER than I’d written. I don’t have perfect pitch and never realized it.
What I have now is the Dorian version that plays in the wrong key but the right tempo, and the WAV version that plays in the right key but the wrong tempo.
I’m all Mac, too, have been for decades. (Linux and Unix before that. No hablo Windows.) In fact I’ve got five Macs, for of which work fine. The fifth would if I could figure out why I can’t get it to connect to my internal network. But that’s another problem
I don’t have any app on my system called Audio MIDI Setup.app.
In Dorico Preferences > Play > Audio Device Setup it says my sample rate is 48000. That’s the default, isn’t it?
I would never change a parameter like that without a good reason (because I don’t know about about those things).
Besides, why would only one score play live (from Dorico) at a wrong pitch and slower the metronome marking I set at the beginning and at the right pitch and too fast?
A whole step is very close to the sampling rate difference between 48,000 and 41,000. This is a kind of FAQ. It’s almost always a sampling rate mismatch in your audio chain.
The reason I mistyped Dorian when I meant Dorico is because it’s on my brain. I set myself a challenge in this piece, to write an entire piece (it’s 4 minutes long) in A dorian without wandering out of the key. I’m happy to say it was a successful experiment, very lively and forward-moving, not at all “slow and grotesque” as @arco suggested!
Hi. Thanks very much for the responses. You’re speaking in a technical area that I’m not familiar with. I have utterly no idea why sampling rate has anything to do with pitch (or tempo for that matter) or if that’s not the default, how it got changed. I should check other scores I’ve finished.
I’m going to try to post another comment to the list with a test file I’ve created, or else I’ll close it out and start a new thread. This should demonstrate what I’m experiencing very clearly.
This problem is solved, although I could still use a little help.
I created a simple test file, just the round “Are You Sleeping” (Frere Jacques) in the key of C.
When I pressed Play, it sounded almost a whole step lower, in B-flat. I checked the pitch against a tuning app and against my Steinway piano in the living room.
So I checked Preferences > Play > Audio Device Setup and see Sample Rate is 48,000.
Various people have commented there might be a sampling rate problem. I changed it to 44,100.
Upon doing that, the pitch was correct. And since that was in Preferences, I gather it applies to any score I play, so I compared my recent project. It’s fixed.
This matter of sampling rate is an area of the technology I don’t know about. Can someone explain to me in simple terms how that can change something? I wouldn’t have a clue how it got changed to 48,000 if 44,100 is the default. I wouldn’t have done that deliberately.
I just want to be assured that when I press middle C on my keyboard to enter a pitch, middle C is what I will hear when I play it back. I’m not trying to do anything fancy.
Yes that helps. In fact, that’s the very analogy I thought of. I guess I just don’t understand why there would be a difference.
I should check the WAV files I’ve made of other scores I’ve done since I started using Dorico regularly. (About a year and a half now.)
The reason the sampling rate affects pitch is that the sampling determines how fast the audio waveform is played. as said before, it’s just a coincidence that is frequent here on the forum that 41,000 compared to 48,000 is very close to a whole tone (not by design).
There are quite a few producers who feel that 48,000 hardly makes any difference and that using 41,000 is better. Also consider that CDs are sampled at 41,000.
As to why yours got changed only you can determine that. But you have to rigourously check your WHOLE chain including any USB audio interface are all using the same rate, whatever you choose.
Sometimes swapping to another audio, notation, DAW program can change the sample rate in your computer if its project being opened is based in another sample rate. Perhaps this is what happened?
48 is common in video production.
Glad your experiment was lively and successful (unlike my reimagining of it!)
I also do a lot of work in Apple Logic Pro. And I use two different computers and bounce projects back and forth. (Well … for Dorico projects I have a directory tree mounted from my NAS, so I can use the same files in either one.) In my studio is where I have live recording stuff, including an audio interface. I’ll check it all out.
I don’t do video production, though if I’d just learn how I would probably stream some of my stuff on YouTube.