Session problem: Sample rate on external clock didn't match sonar session

Author
swingfingers
Max Output Level: -89 dBFS
  • Total Posts : 73
  • Joined: 2006/01/25 11:18:07
  • Location: Ft. Collins, Colorado
  • Status: offline
2012/03/09 21:06:45 (permalink)

Session problem: Sample rate on external clock didn't match sonar session

I recorded a session with my converters set to 88.2 (which is the sample rate I want the session to be) and not noticing Sonar's project rate was set to 44.1 (the default project sample rate had been accidentally changed). Project plays back fine in Sonar with external clock set to 88.2. Plays back incorrectly when external clock is set to 44.1 When I export the session to 44.1 16 bit the exported file (displays as 44.1 16 bit in CD architect) plays back incorrectly (very very slow)and of course the song length is twice as long as it should be, incorrect sample rate. I'm a little confused as to what is going on. I'm pretty sure the wav files are in 44.1 What I'd like to happen is for the project to be in 88.2 24 bit and play back and export (to 44.1 16 bit) and burn to a cd properly. Thanks for your time.

Sonar 8 Producer, Apogee AD16x & DA16x, Lynx AES16, UAD2 duo, Intel Core 2 Duo E6750 2.66 GHz, 2G DDR2 Ram
#1

6 Replies Related Threads

    Cactus Music
    Max Output Level: 0 dBFS
    • Total Posts : 8424
    • Joined: 2004/02/09 21:34:04
    • Status: offline
    Re:Session problem: Sample rate on external clock didn't match sonar session 2012/03/09 23:01:30 (permalink)
    This is why I work in 44.1 /24 bit, Never have issues and why go higher?? If the music is excellent 1000000000 Htz is not going to make it sound better,

    Johnny V  
    Cakelab  
    Focusrite 6i61st - Tascam us1641. 
    3 Desktops and 3 Laptops W7 and W10
     http://www.cactusmusic.ca/
     
     
    #2
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    Re:Session problem: Sample rate on external clock didn't match sonar session 2012/03/09 23:27:13 (permalink)

    The problem is that now the wave files themselves are identified internally as 44.1, which is what SONAR thought they were when it created them. Any playback software that subsequently reads the internal sample rate from the file header and sets the hardware accordingly will therefore play it back at the wrong speed. The only fix is to convince the wave file itself that it's an 88.2 file (which it is) so that it reports itself as such. Then you can re-import it into an 88.2 project and have it work correctly. 

    The way you do that is to change the data in the wave file headers. I understand that several audio editors have this capability, including Audacity, Adobe Audition and Sony Sound Forge. However, I only have experience doing this with a generic hex editor, so I can only tell you how to do it that way.

    Be sure to back up your project before editing any files. The 3-byte sample rate can be found at byte offset 24 (decimal). If you look in there you'll see 44 AC 00, which is 44100 in hexadecimal (lsb first). Change that to 88 58 01 (88200 in hex), and now the file will report itself to hosts as being an 88.2KHz file. Create a new 88.2 project and import the files and all should be well again.

    (Personally, I'm with Cactus on this: working exclusively at 44.1 KHz does avoid a lot of potential complications.)


    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #3
    stickman393
    Max Output Level: -60 dBFS
    • Total Posts : 1528
    • Joined: 2003/11/07 18:35:26
    • Status: offline
    Re:Session problem: Sample rate on external clock didn't match sonar session 2012/03/10 12:12:56 (permalink)
    Bit, I just want to express my appreciation of your knowledge, and willingness to post clear, informative, and friendly posts on this forum. Thanks.

    - works exclusively at 44.1
    #4
    Cactus Music
    Max Output Level: 0 dBFS
    • Total Posts : 8424
    • Joined: 2004/02/09 21:34:04
    • Status: offline
    Re:Session problem: Sample rate on external clock didn't match sonar session 2012/03/10 22:00:13 (permalink)
    Thanks Dave, I new I was not being silly by sticking with 44.1. In the past I tried 48 and my problem was having 2 DAW's and 2 interfaces. One defaults to 44/1 and will not let me change to 48. ( M Audio fast track pro) Even though it say's it can do 48 Sonar rejects it and you get the " the rate has been changed to 44.1 as recommended by the driver". I'm one to worry a lot more about my musical performance than sample rates.It was not that long ago I was using a cassette machine. To me 44.1 is a ride on a rocket ship.

    Johnny V  
    Cakelab  
    Focusrite 6i61st - Tascam us1641. 
    3 Desktops and 3 Laptops W7 and W10
     http://www.cactusmusic.ca/
     
     
    #5
    swingfingers
    Max Output Level: -89 dBFS
    • Total Posts : 73
    • Joined: 2006/01/25 11:18:07
    • Location: Ft. Collins, Colorado
    • Status: offline
    Re:Session problem: Sample rate on external clock didn't match sonar session 2012/03/11 13:27:05 (permalink)
    Bitflipper, I'd like to echo stickman's sentiments. Every post I've read of yours you always address the OP's issue directly & thoughtfully while providing very clear suggestions on how to solve the issue at hand. IMHO to often in troubleshooting threads opinions (44.1 vs 88.2) are provided as a form of tech support. I was able to square away my files' sample rate identity crisis with batch converting in Sound Forge though it would only work if the file was open in SF and set to 88.2. If left at 44.1 (which is how they would open in SF) batch conversion to 88.2 wouldn't work. Lesson learned, always double check to make sure converters are set to same sample rate as Sonar project. Seems obvious until you start working with projects from other studios recorded at different rates. Thanks for your help.

    Sonar 8 Producer, Apogee AD16x & DA16x, Lynx AES16, UAD2 duo, Intel Core 2 Duo E6750 2.66 GHz, 2G DDR2 Ram
    #6
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    Re:Session problem: Sample rate on external clock didn't match sonar session 2012/03/12 08:06:07 (permalink)
    swingfingers, because this is such a surprisingly common problem and because many forum users have Sound Forge,  it might be useful to future problem researchers if you could document the steps required in Sound Forge.


    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #7
    Jump to:
    © 2025 APG vNext Commercial Version 5.1