Core audio and sample rate conversion

I would like to know how to take manual control over core audio regarding sample rate destruct... er conversion. First - I know the workarounds - simply closing the audio player of choice, resetting the external hardware and relaunching the audio player of choice.
setup:
I run external converters with an external sample rate clock source. No problems or issues here. I keep my music collection segregated by SR (96k, 88.2k, 48k, 44.1k) as I ALWAYS listen through external converters.
The annoyance is when one forgets to keep track of core audio and inadvertently ends up listen to a piece of music sample rate destructed. You know - walk up to music server computer, forget that you had DAC set to 44.1k for last music played, put on 96k source, SRC takes over and you don't notice the artifacts and distortion for a few songs. No one wants that! Don't get me wrong - it's a convenient feature and the amateur user would be sunk without it.
What I want is an indicator that will tell when SRC is turned on and further, what the input and output sample rates are (as far as core audio is able to determine from the hardware anyway). In my world this would have been a check box in a preference setting. Perhaps someone has written a script or app for this? Command line instruction?
Thanks

Start with http://developer.apple.com/documentation/MusicAudio/Conceptual/CoreAudioOverview /Introduction/Introduction.html and direct further queries to the developer forums under OS X Technologies.

Similar Messages

  • How does Core Audio set sample rate?

    When I play a particular movie in QuickTime, the audio and video are out of sync. The movie plays fine on other computers.
    This Mac Pro (OS 10.6.8) is used exclusively for Pro Tools and Final Cut Pro. The audio hardware is a Pro Tools HD Native card:
    Native card --> Pro Tools Digital I/O boxes --> Lavry D/A converters --> monitors
    The sample rate of the Digital I/O boxes is set by an external master clock, a Lavry Gold A/D converter.
    I opened the DigiDesign Core Audio Manager and it says:
    Connected @ 44.1K, 32 In/32 Out, Buffer Size 512
    Yet the movie is at 48K (I know because I created it in Final Cut Pro), and the external clock is set at 48K. So, I don't know where the 41K in the Digidesign Core Audio Manager came from. This is why I am guessing the problem is sample rate.
    Please help me understand what sets the sample rate.
    Does the application using Core Audio set it?
    If so, how is this made consistent with the sample rate set for the hardware by the external master clock?
    Do I have to be sure I always change the external clock setting to be consistent with the movie being played?
    BTW, I have not had a sync problem when I play video in Final Cut Pro..........it is always in sync. So, I have never worried about how Core Audio works. The sync problem is only with QuickTime.

    Well, here is more information:
    - I reinstalled QuickTime 7 and did many other things (trashed preferences,etc)
    - I set the audio hardware (Pro Tools/HD Native card) to 48k
    - I checked the Digi CoreAudio Manager and it said "Connected at 44.1K", even though the hardware was set to 48K
    - I played the problem videos, and all are now in sync
    - I check the Digi CoreAudio Manager and it still says 44.1K
    - I checked the hardware and it is now set to 44.1K
    I know that the videos are 48K, because I created them in Final Cut Pro X.
    Does this mean that QuickTime 7 always converts videos to 44.1K, regardless of their sample rate?

  • Apogee 16X, Gigas, Sample Rate Conversion, and Summing/Monitoring

    I'm trying to do an update on my home studio rig.
    I've decided to get the new Quad Core 3g G5.
    I've decided on the Apogee 16X/Symphony card combo.
    I need to rout the outputs of six PCs into Logic; One PC is running KYMA/Capybara, one PC will be running the Native Instruments Kore/Komplete VST host; and the remaining four are running Gigastudio 3. All the PCs are lightpipe out. At present, I run the lightpipes into a Hammerfall lightpipe-to-MADI converter, and from there onto a MADI card via coax directly into my present G5, the Dual 2g.
    I monitor though a Sony DMX-R100.
    So far, no problem.
    But, I've decided to start working at 96k, so my present scenario becomes more difficult, as my sample library (about 1.2 terrabytes) is all 48k.
    I'd sort of like to get rid of the DMX, but Im considering using it as a submixer for the PCs, running analog out of it into 12 channels one of the Apogees. That would solve the problem of sample rate conversion. But it would still leave me with a pretty big piece of gear that I'm not sure I need.
    The other thing I'm wondering is about summing and monitoring... I'd like to be able to avoid ganging everything rhough the Logic 2-bus, I like it better when I can spread things about a bit in groups, also there are a few other things (like the movie audio and a DVD player) that I need to be able to monitor through the same system.
    I also would like to be able to use my Fairchilds and Pultecs on the 2-bus of whatever I'm monitoring through, which would mean somehow returning that through Logic, or using my 2g Dual as a sort of mix&stem storage/archive/networking computer. (Which I'm not wholly opposed to.)
    Any ideas?
    Dual 2Ghz G5   Mac OS X (10.4.7)  
    Dual 2Ghz G5   Mac OS X (10.4.7)  

    96k (at least) is pretty important, because as well as doing the normal sort of workaday film and pop level audio, I'm also doing this very intimate project for an audiophile vinyl company, and it's stipulated that I must use 96 at the very least. I'll probably be doing that stuff at 192, and I will be keeping almost everything third-party off the processor. The company would prefer that I did everything to a 2" analog 8-track, but that's where I drew the line. Thing has to be aligned every three hours of operation, cause the track widths are so high, and the thing's pretty old, I'm afraid.
    For the film and pop stuff, I still like 96k, cause... I dunno why, I guess, now that you mention it. But even when stuff is downsampled, I still think it sounds better when its recorded at higher resolution.

  • Sample Rate Conversion in Sample Edit Window

    The option to sample rate convert in the sample edit window appears to have disappeared (was in Logic 7) This enabled destructive editing (sample rate conversion) of a selection of an audio file. There are a number of sound design or problem fixing reasons I have used this feature in the past.
    The only option is now to copy, convert and replace the whole file and as this is not destructive if you wanted to apply the same changes to a number of different mixes (saved as different songs) this is now also no longer possible.
    Is this feature available on another menu? (Time and Pitch machine will not do the same function)
    Julian

    Hi tslr...
    I am thinking that ever since Apple came out with Core Audio architecture they basically put it in every audio app that they had, that said- Apple's buyout of Emagic was most probably where they were able to get allot of the Core Audio architecture from, (there is a memo somewhere about this- quite public knowledge)...
    Basically after OS9 and the buyout it was really cool to see parts of logic running around the OS, (Midi preferences etc.)
    Then Garageband...
    I think what I am trying to say is that this is most probably some functionality that is occuring due to Core Audio Services- not Waveburner- so most probably there is a release note somewhere discussing Sampling Rate Agnostic's. (Actually come to think about it I think it was a new feature of Logic Pro...
    Regards
    Alex
    PS: I wouldn't think that it would matter about being in 48 or 44.1- so don't loose sleep over it.

  • Imported Audio Not Sample Rate Converted?

    I received some audio files for a project that were accidentally sent at 48k instead of the 44.1 I need.
    Isn't Logic supposed to automatically do the sample rate conversion if you have the little settings box ticked for "convert sample rates for imported audio"?
    I can't get it to work. I use the audio bin "add audio files", and import the 48k files. They get imported, but remain at 48k, unchanged, after import.
    Is this another bug or is there some part of the process I'm missing?

    Import Audio File (Shift Command I).

  • Real time sample rate conversion?

    Recently upgraded all my hardware and software.. I want to record audio at 96khz - so I set my hardware to 96 and set logic to 96 in audio - no problem... except when I want to record new audio on an old project - I set the software to 96khz, and hey presto my old files recorded at 44.1 play too fast....
    The ref manual says logic will do real time sample rate conversion, but doesn't suggest how this is done.
    If I have my hardware set to 96khz but Logic to 44.1 so the old audio plays okay will my new audio still be recorded at 96?
    I could probably convert all the files individually using the sample rate converter in Factory, but I want to avoid this lengthy process as I'm talking the last 8 years of work!
    Anyone out there know anything about this?

    Just fancied recording at the best quality possible - but you are right, the difference won't be that noticable and may even sound out of place.... in any case I can record at 24 bit with no adverse effect...
    I noticed that trying to record audio at 96 when my hardware is 96 and logic at 44.1 has the effect of serious latency issues plus disk too slow errors. So forget that one.
    Someone told me recently that the difference in bit resolution is more audibly noticable as a change in audio quality than sample rate... just out of interest I wonder if anyone knows if this is true?
    BTW just recording guitars and stuff, some vocals, band kinda stuff...

  • Having trouble with wav files and sample rates

    Hi ,I am having trouble with wav files and sample rates .I have been sent multiple projects on wav as the main instrumental ; I wish to record in 48.000kHz .Now comes the problem.When I try to change the project to 48k It seems to pitch up the track.I can't have them send the logic/project file as most have outboard synths,different plug ins etc.This particular case the producer has recorded the synth task in 41.000 kHz .My successful outcome would be to be able t create a project file in 48 kHz .And NOT pitch up whne I add the instrumenta wav file .Any help would be gratefully recieved,this is my first post so any mistakes I may have made go easy 

    You'll have to convert the actual synth audio file file that the producer gave you to 48kHz. You can do this in the audio Bin in Logic.

  • The selected combination of bit rate and sample rate is not allowed.

    I've always burned my purchased CDs into iTunes using a AAC 320 kbps and 48.000kHz. Now when I select that option in iTunes 9 I'm getting a "The selected combination of bit rate and sample rate is not allowed." pop up screen. So is it impossible to burn my albums in a 320kbps/48.000 AAC format?. I had no problems in previous versions of iTunes using this setting. I guess I might have to switch over using a MP3 import setting instead.

    Audio CDs are encoded with a sample rate of 44.1 kHz. Ripping them at 48 kHz requires resampling and does not improve the quality. Unless you have a special need for 48, use 44.1.

  • "current encoder settings for bit rate and sample rate are invalid" message

    I have some files I am working with. Details and what happened:
    Had some music files where I was doing some trimming/splitting. Files worked fine in itunes.
    Open the files in Quicktime Pro 7 to trim them. Exported to aif.
    Opened the files with itunes. They open and play just fine.
    In Itunes I click"create AAC version" to convert them.
    I receive the message "An error occurred while trying to import the file. The current encoder settings for bit rate and sample rate are not valid for this file."
    I don't know what to do from here. Suggestions?
    Thanks.

    Make sure that the AIFFs that you export are set for 16 bit PCM.
    Also, assuming that you are using 44.1 kHZ sampling in your AIFFs, make sure that you are not trying to use 48 kHz in the AAC.

  • In Finder how do I get iTunes to show bit rate and sample rate of an entry?

    In Finder how do I get iTunes to show bit rate and sample rate of an entry so I can set my DAC?

    TonyEyes wrote:
    In Finder how do I get iTunes to show bit rate and sample rate of an entry so I can set my DAC?
    Tony, Make sure you are in Songs view.  Then View > Show View Options, and check the boxes for "Bit Rate" and "Sample Rate."  See picture:

  • Am I missing something - automatic sample rate conversion?

    SETTING
    Logic Express Version: 9.1.6
    Project Sample Rate: 96kbps (shown in the Transport Bar)
    File > Project Settings > Assets tab: "Convert audio file sample rate when importing" option is selected
    LIGHTS, CAMERA, ACTION!
    When I importa a file via File > Import Audio File or dragging & dropping an audio file the sample rate is converted to 44.1kbps.
    Is this a known bug, or will I need to dig deeper to find the error in my ways?
    cheers

    ah ha - eye, brain & fingers not all in sync. that is 44.1 kHz.

  • TS1717 when trying to import cd the following message appears "the current encoder settings for bit rate and sample rate are not valid for this file"?

    Trying to import cd when this message appears "the current encoder settings for bit rate and sample rate are not valid for this file".  Any suggestions?

    Thanks so very much.  I chose MP3 and Download and it is working beautifully.  Have a wonderful day and it is so nice of you to get right back to me.  I'm trying to cut a DVD for my grandson's grad party and I got most of the photos and didn't have any music since I lost everything in a clean install.  Could hug you!

  • How to render audio with sample rate 48000hz using jmf

    hi,
    In my application i need to play the audio with jmf player with sampling rate 48000hz. but i found that jmf player plays the audio with sampling rate of 44100hz only.but my application needs to play the audio with sampling rate of 48000hz .please help me how to do this using jmf .
    thanks in advance,

    hi,
    In my application i need to play the audio with jmf player with sampling rate 48000hz. but i found that jmf player plays the audio with sampling rate of 44100hz only.but my application needs to play the audio with sampling rate of 48000hz .please help me how to do this using jmf .
    thanks in advance,

  • FCP 6 with M-audio fastrack pro and sample rates

    hello, having a weird problem in FCP 6.02 under OS X 10.4.11 on a MacPro where if i record a voiceover through my m-audio fastrack at 48khz, which matches the sequence and project settings, it comes back at the wrong sample rate (plays back higher pitch), but if i record it at 44.1 it sounds right. any ideas on this?
    thanks in advance
    david

    Perhaps the M-Audio is still recording at 44.1, and FCP is set to convert the audio to 48k, but is unable to resample as it would with an analog source. I would try to access the control panel for the M-Audio box and see if you can get it to force its sample rate to 48k outside of FCP. If so, you can probably get FCP to record correctly at 48k. If not, you might be better off just letting it record in 44.1, and maybe batch exporting later to upconvert.
    Hope this helps -
    Max Average

  • Changing audio recording depth and sample rate in QuickTime Pro?

    Last week, I set up QuickTime Pro 7.4.5 to record audio in 24-bit, 48 KHz format -- only now, I can't remember how I did that. I think that I may have used some other software to change the settings of my Mac Pro's built-in sound card. Does anyone know how to do this?
    I made several such recordings, just last week, as a test, simply using a microphone plugged directly into my Mac Pro, and using QuickTime Pro as the recording application. During playback of such QuickTime audio files, I can hit <command-i> to see that the recordings are indeed 24-bit, 48 KHz. But now, when I repeat the same process, my QuickTime audio recordings are made with 16-bit resolution, at 44.1 KHz. I remember putting the settings back to those values after my recording session of last week. But I can't remember how I adjusted those settings. Does anyone know how to do that?
    Thanks.

    Thanks for your response.
    I will use Apple MIDI Setup, as you suggest.
    I want to change the sample rate to 48 KHz, as the final destination is DVD and I don't want to convert from 44.1 to 48 and thus suffer a possible loss in quality.
    As for bit depth, I want to sample at 24-bit, since I'll be processing the sound afterwards and don't want audible rounding errors during the number "crunching". Afterwards, I'll just drop the eight least significant bits, or perhaps round them up or down (to zero or 256).

Maybe you are looking for

  • My blackberry curve 8520 has lost all my pictures in the lost.dir folder how do I recover them

    I have a blackberry curve 8520 and it has moved all of my pictures on my memory card into a folder called LOST.DIR (I`m not 100% sure they have moved there but  I found a lot of files in there that seem to be my pictures) I am not sure how I  can rec

  • Problem with getLastChild() and xsl:comment / nodes

    Hi list, the problem I'm facing at the moment is as follows (using org.w3c.dom.*): in my DOM I have fragments of the following:                 <a accesskey="2" class="namedanchor" name="content">                     <!---->                     <span

  • FB70: User exit when the save button (for posting) has been click

    Hi ABAP Gurus, With regard to FB70, can anyone provide me the name of the user exit that will be triggered when the save button (for posting) has been clicked? Thanks! <b> Best Regards. Brando</b>

  • 10.4.7 update freezes during install

    I'm trying to update a G4 iMac. It had previously crashed hard during the install, so I had to archive and reinstall the OS from the original disks. I ran the disk verify and repair. Now, it downloads the combo update, but it never gets past "Prepari

  • Iweb won't play my audio files when published

    Can someone please help? I spent hours creating a website for music i produce. It works all fine and dandy on the preview pages, but when published the audio files and video files don't play. All that comes up is the picture and a small quick time pl