On a mac, will core audio always be item 1, and what is the PC equivalent?
Hello all, just putting the finishing touches to an app I’ve been making for OSX. I want to preset the audio driver/in/out to [core audio] [Built-in input] and [Built-in output] and was wondering if, in the following example, will these settings be menu item number one on all mac systems?
----------begin_max5_patcher---------- 1018.3oc6X00abhCE84Y9Uf3oVI5HrAC38sjsurJ6tUZaeqpJhA7jws.FYLM Y2p9eu1lAhMgIKYzLoiTyKFr801m68buG93aKW3tlcGow042b9nyhEea4hE5 gTCrXW+Etko2kUj1nMyshbKa8mc85lRPtSnGtfklWRZZb76mppsjVUPD5kA1 M3FVknJsjnWyEbZZgg4rVwX6qSEYaoU2bMmjI5fIDFfV464Dg0WhgpVn+Jem OsaQzb81Kg4a.QQ8GP2tK92ZR2935Nr.EpZn+mdBfb+Ti98kKUMdGovB3YKr D4OmvB54IrjwJKIUh9CSh4t3xCBTukS+Jg+DCRNWxJxmNR4+HQp.LdEDICUH cDKHV0BhMBUa32rVuKqF1GNoQ5HoBJqxDTlAUTfoakwJX7tSDnO.ylIiwRTE GAPSbhFnOTxrn.eH.JIYbvXG33k5ll2HO71FGVsBB6ICF9DyfgOBuH88NdIN R4PXchLHYOovnGIE1ywUmoMYlr+pv.TTDd2bF7j+pXOiFvAFPako7s6Mkuly DLEXsCW3CTfHkyY2VPq9hYV+FtzVKGC4CvQ.u8bG.hCAvgvkMkELGJqqTB4u BGfQH3n5osEBKzj.iCQ5S9g2YVcrupNsSqcRSu1J6XP2WBaAujkSrEPUKVP3 WKog0EVaynhWeoClj.C8l7NSz9f7PE060kN5NiJdsWYcxQRZAj3M4clmrdkq uwZsJyhi71ycwgXenYbdC8tq6iR8EoV63HQrI1hojqjEZCxUIvD8xCv5rjPz nrDpfTt6cQburkVHdCsx4csh5VcXzS0bIiU9VxWoYjggdOqsJeSA6VB24Uvr sud5YhBMm5pKt5p2QoNuWlCPXNuBr+ofu18Tpq5ex0UCS7eJ5pwunq9SWWcf xN6zUSdQW8rSWE3+z0U+KZFmUukUcuP5vb+Q0wTx8jHdlu+uW3XJcFDZ8Jow 3GW5D+Kszo0mi8yU+bf2N2zOi7eQ+7bS+LFCms94eaJX96LNw4h1bJaXH47+ CIs3Czx6MKM+5ZFWj1a3DKSZBmbKke+h9So9lszoFOtxRpw+vNcAfZbaAfFV KOqmxG9YXN26W4jFAsZHI9iFe5jgUao44jJyDwbZiJ2TmUO8OEZ9HBMGDoJZ NuPj50fNyPzyIq4OKDg+ePjkrftzsuwTC4Hh6QH5Py1lGtKo40LoRaS+ijPg qhUORBq+ccxGQA6dD039HPW+d6QmpnQxrXw3yNVL9nTgdXrXXB1hECiisXwg 96XwA6OYr37zzQmcr3wQU6vXwHncsXDvtVbn+NVbv9YwhcOnNstV9EJM6bHc fP9N4etCsQd5tzpttZuwkK+Hqd6SVp1suu7G.QoITHB -----------end_max5_patcher-----------
I have only ever used a mac, but I want to make the app for PC as well, so just another quick question – what would be the PC equivalent of [core audio] [Built-in input] and [Built-in output]? I need to avoid using any built in microphones as standard to avoid feedback loops.
Perhaps I’m being dense, but parsing your request . . . I can’t for the life of me figure out what it is you actually want to do?
Sorry, I probably wasn’t too clear. I’ve built an app, when the user turns it on I want it to default to core audio as the driver, built-in input as the input device, built-in output as the output device. I want to make sure that regardless of what mac you open the app on, and regardless of what other audio drivers you may have installed, that the application defaults to that driver, that input and that output. Thats why I need to know if those settings are always going to be item 1 within the umenu that is generated by
[adstatus] in the example code I gave.
I also want to find out what the windows equivalent of core audio is.
I got that far – it’s the seeming contradiction between autoselecting the built-in inputs while somehow managing to avoid using the built-in input (mic) that’s throwing me.
There isn’t really an equivalent to Core Audio on Windows anyway, so you’re SOL there. If I’m not mistaken, the first entry in any menu on Win will be "Primary Sound Driver" – and this could be anything from from the crappy Microsoft DirectX stuff to the marginally less crappy WASAPI stuff.
It’ll end in tears! ^_^
Best bet? Allow . . . in fact positively encourage the user to select vendor-supplied ASIO drivers (or obtain ASIO4ALL if they’re using the onboard codec).
Why not just set them based upon the symbol? It has the drawbacks of not working in other languages, but should be reliable with differing setups in a given language.
----------begin_max5_patcher---------- 1111.3oc6Y0zaaiCD8r8uBAcV0fjRTezaMauTf1cA1cwdosHP1hwgsRhBTTI oaQ+uu7CIYJY4DGGaiDjEAfVbzHxgu2LORo7y4ybWxtiT657VmO6La1OmOal 1jxvr19ybKRuaUdZs1M2Rxsrkey0ybKA4Ng1rvYo5uN6zLsUomuA0Y6JVonL sfnuy+P3Yokoc2qJUr5ZZ45K4jUBS3.i8W.7bfvX0OXfpEAW.b9p03US+W83 AQxaaLW1TPKyIBc3B2Xj0H5r52Z0XR7iJhYJcWlVt10azuNeU48ulOW038zf obVZlYv2BmfOMbJFqZCCOhvD7dgoCBVJH00oqIagK0+nXIK24KtWzPyEugV5 7GMhpFwWbmBoNzTp.HbABKwm.cNEDa9I4QhVnGGZcpQpOTtSf5PyoPQgFfBg zHTPxKXf52Xbhy6ZxnroAIvgV3EzlMALBU93mufzJVQAoTzsZjqDCHsEp8dN 8FBeJXB6OIN8NNMM24BVdl8Xshky3svjFUra5gmo.0DrFT8QZAe+H8yDY+Pb RsbojJnrRajxFqSVHyfg36Sp6J95kp9.aVwh..SLc1RIQnEXe.Bh7bhR7GGq GucLRypkSdSsCqREBNvI4F7t4lt6XQIfEQdVMO.kzoZ5GnIvDMwn1Ud5zbvh .ebXXx9mqi1YttbKXcl5gfmMxD9lclvWwYBlZpFBVIShtgcVS4b1sKWO.JSj 3STn2NtJJHAfF.TSyNiJZ.RDONFE3M4U6KgYpgjGcJwOAiQ6YgTUJWFhBB+R I3rLmLnZHUH3ErLxSnxiJHEsG4b718JB2S0bAiU7dxMzUjdSejs9SjOT9Wrl xrVUJ6kxUz6trKvP1zUNs761KgoOJn10q3sbCv15.ZITQswdSd0fScoFpAOI F.SBgd63JHRNHnI4FKlUVW0q5DiLmdwOQSuA3Qz6fzzQhviyKuNeXxWLJJ.q iqsuxdUtUEqpLyyT35dJUAASVmFcBUA6NRzqWUv3WVpf8D1KHUvOQWwYUWyJ 2H6M7X9+u.4iPfDBdEJPls6CvmbBkG6dYnV4wnjWaxigfSm73885UOIMxdV6 4uF4uaKJt4U56MIu+eRRy+aZwF2RytrhwEocNNwiIcgStkxsjQk0OutENiRP ufDN0OhqjKF+cr046J6Cq+qYM7UciZ6Gn1YyDmQpEzx9T8Ou4SNZ4z0zrLRo MelQqUU.ZAAvjBQOlvA9PgC7rFNnGJb.msvAtGj04iqFsv2A5DdFgm8AezGk +bEP6U0k5KrbtBH02J6HDQCT0zBecM1xXEzrJlT5pUZJPtOajZ+1PsBa.H1r 86ntP8+EmdmUc2DuGQjHbuPB7QAINlwczQII+fXPTL1lAQQ91LXeWCC167Ii Ai2KjH5YGClbTzMOHFDhGTCB8GTC120vf8NepXvv8ZGjQ30wlAMGgJspR9li 0sSsNjkurz2LianmtKszzUOutbxMzN+ilqFseM++.byzYkB -----------end_max5_patcher-----------
Hi, and thank you both for the input. The problem with using the built in microphone on my macbook pro is the feedback. Mac, in their eternal wisdom, have placed the microphone right under the left hand speaker which results in howling feedback the second the app is opened. This is why I have to auto select the jack in and out ports on the computer as standard.
So if you wanted to select the standard audio jack input/output on a PC what would you select? The trouble here is that I am building this app for anyone to use with the presumption that they will be useless with technology. With the demographic we’re talking about the very mention of an audio driver would make them sweat! The app needs to be turned on – and work with the minimum of fuss. I have that pretty much sorted on the mac now (thanks Chris) it’s just the PC version I need help with…
Thanks again for your input and help guys! :)
No worries – not that I’ve been much help!
This is an odd one for anyone doing pro audio on Windows precisely because one wouldn’t dream of using anything except ASIO, since Microsoft’s efforts on this front have (over the years), ranged from the laughable to the barely adequate.
Is latency likely to be an issue at all?
To add to what I already said re: Primary Sound Driver – this can also be ASIO . . . because it’s just whatever one assigns to be the default audio driver for the system in Control Panel > Sounds.
Forums > MaxMSP