Code Monkey home page Code Monkey logo

Comments (45)

analogist avatar analogist commented on May 17, 2024 14

Confirm working as of 12.4 Monterey on M1.

For reference the full process for granting AU lab access to microphone should be:

  1. Security & Privacy -> Privacy -> Full Disk Access -> check Terminal (from 1)
  2. quit and restart Terminal
  3. in Terminal: sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT INTO access VALUES('kTCCServiceMicrophone','com.apple.audio.aulab',0,2,2,1,NULL,NULL,NULL,'UNUSED',NULL,0, CAST(strftime('%s','now') AS INTEGER)) ;" (from 2 and 3)
  4. Full Disk Access -> uncheck Terminal

from blackhole.

genevera avatar genevera commented on May 17, 2024 9

@roggenrohl-inge I'm on Big Sur and have it working. As the error indicates: there is an extra column. You could select a row and you may notice an extra integer column. The following insert statement worked for me:

INSERT INTO access VALUES('kTCCServiceMicrophone','com.apple.audio.aulab',0,2,2,1,NULL,NULL,NULL,'UNUSED',NULL,0, CAST(strftime('%s','now') AS INTEGER)) ;

from blackhole.

theo-bittencourt avatar theo-bittencourt commented on May 17, 2024 6

I could enable AU Lab to Security & Privacy whitelist following it:

https://discussions.apple.com/thread/8552731

It did request permission when I downloaded new version from iTunes - Mastered for iTunes - Apple (CA), unzipped it right in my Downloads folder and launched it from there, without moving to /Applications folder

AU Lab Download Link:
https://images.apple.com/ca/itunes/mastered-for-itunes/docs/au_lab.zip

from blackhole.

ProfFan avatar ProfFan commented on May 17, 2024 6

The only working way of doing this is to manually edit the TCC database:

sudo sqlite3 /Users/<your user>/Library/Application\ Support/com.apple.TCC/TCC.db "insert into access VALUES('kTCCServiceMicrophone','com.apple.audio.aulab',0,1,1,NULL,NULL,NULL,'UNUSED',NULL,0,1541440109) ;"

from blackhole.

devinroth avatar devinroth commented on May 17, 2024 4

Okay so after more research this seems to be an issue with AU Lab. The problem is macOS requires permission before an app uses the microphone. Check to see if AU Lab is in System Preferences -> Security & Privacy -> Privacy -> Microphone. If it doesn't have permission there the OS will not allow it to access any audio inputs.
Screen Shot 2019-10-17 at 11 55 38 AM

Now the question becomes how do you add AU Lab to the list. I haven't found an answer to this yet.

from blackhole.

kcarnold avatar kcarnold commented on May 17, 2024 3

@ProfFan's approach worked great! I'd only make a few small tweaks:

  • sudo wasn't necessary for me
  • I used the actual current time as last_modified

I did it from within the sqlite3 interface, but here's my attempt at reconstructing the one-liner:

sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "insert into access VALUES('kTCCServiceMicrophone','com.apple.audio.aulab',0,1,1,NULL,NULL,NULL,'UNUSED',NULL,0,CAST(strftime('%s','now') AS INTEGER));"

from blackhole.

Atalantia avatar Atalantia commented on May 17, 2024 3

Element is a very good alternativ to AU Lab. Works perfect on 10.13

Bildschirmfoto 2020-07-26 um 17 15 14

from blackhole.

geekbeast avatar geekbeast commented on May 17, 2024 3

In case it is helpful to future folks-- you don't have to disable SIP to make the change you just need to grant your terminal Full Disk Access (Under Security & Privacy -> Privacy -> Full Disk Access) temporarily to make the change. Restarting your terminal is way less painful than booting into recovery mode to disable SIP.

from blackhole.

devinroth avatar devinroth commented on May 17, 2024 1

Try following these instructions. Let me know if it helps.

https://discussions.apple.com/thread/4095261

from blackhole.

emenelton avatar emenelton commented on May 17, 2024 1

My new comp's issue was that 'netreceive' bonjour did not work. I thought I needed SoundFlower or EQUAL because I did not understand why it would not work but it was because bonjour (in Catalina) doesn't work with linking from the 'netsend' computer.

'IP + port address' to define host must be used

Just trying to be helpful

from blackhole.

hemanthpai avatar hemanthpai commented on May 17, 2024 1

I’m running MacOS Monterey on Intel silicon (Mac Pro). I also had trouble getting AU Lab to work with Blackhole 2ch. Like others mentioned, the root of the problem is AU Lab needs « Microphone » permissions. I tried placing the app in different folders but it didn’t work. I even tried resetting my Mac (erase all contents and settings), downloading AU Lab after deleting the one on my machine, using tccutil to purge the permissions for Microphone but still no luck. Sadly the only way to get this working is to disable SIP so you can edit the database and then enable SIP: https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection

I used the updated sql query posted by @genevera in conjunction with @kcarnold ‘s command.

from blackhole.

dmurph avatar dmurph commented on May 17, 2024 1

After querying my access data for the extra data in Sonoma, it looks like some new columns were added. By adding null, null, "UNUSED", 0, it matches the others....

I make no promises, but this seems to have worked for me:

sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT INTO access VALUES('kTCCServiceMicrophone','com.apple.audio.aulab',0,2,2,1,NULL,NULL,NULL,'UNUSED',NULL,0, CAST(strftime('%s','now') AS INTEGER), NULL, NULL, 'UNUSED', 0) ;"

Um.... run at your own risk.

from blackhole.

devinroth avatar devinroth commented on May 17, 2024

I just tried it on Mojave and the same issue. It's strange since it passes audio to other applications just fine and simultaneously not work in AU Lab. AU Lab seems to output normally to BlackHole but the input doesn't seem to be working. I'll play around with it and see if I can get it working. What setup do you have?

from blackhole.

devinroth avatar devinroth commented on May 17, 2024

Seems like I can't get any input devices to work on AU Lab. Are you able to?

from blackhole.

devinroth avatar devinroth commented on May 17, 2024

Ha awesome. That totally worked!

from blackhole.

theo-bittencourt avatar theo-bittencourt commented on May 17, 2024

Worked for Mac built-in speakers, but not with my Yamaha AG06 (DAC/Mixer).

from blackhole.

devinroth avatar devinroth commented on May 17, 2024

My Apogee Quartet also doesn't seem to be working. There is clearly something wrong with AU Lab.

from blackhole.

devinroth avatar devinroth commented on May 17, 2024

Oops.

from blackhole.

theo-bittencourt avatar theo-bittencourt commented on May 17, 2024

AU Lab is crashing (segmentation fault) when I try to follow the instruction from that article. More precisely when I select the output to my audio device.

from blackhole.

devinroth avatar devinroth commented on May 17, 2024

I don't know what to say. AU Lab seems to be a mess. Maybe there is an alternative to AU Lab that actually works.

from blackhole.

theo-bittencourt avatar theo-bittencourt commented on May 17, 2024

Yeah... I think AU Lab needs some fixes.

from blackhole.

emenelton avatar emenelton commented on May 17, 2024

I have AU Lab working in Catalina

from blackhole.

devinroth avatar devinroth commented on May 17, 2024

from blackhole.

emenelton avatar emenelton commented on May 17, 2024

no sorry, Just working with input from 'generator netreceive' or with youtube playing into LOOPBACK

from blackhole.

devinroth avatar devinroth commented on May 17, 2024

from blackhole.

wizardeur avatar wizardeur commented on May 17, 2024

I've had limited success with AU Lab, but HostingAU works just fine. It's not as flexible, but works nonetheless, supporting AU plugins. Check out: http://ju-x.com/hostingau.html

from blackhole.

devinroth avatar devinroth commented on May 17, 2024

@theo-bittencourt I think I figured it out. Seems to be working for me now. Made some changes in the dev branch.

from blackhole.

albertaleksieiev avatar albertaleksieiev commented on May 17, 2024

How to AU Lab in macOS 10.13 High Sierra

  • Place .app file under download/documents folder, but not not Application folder
  • Launch AULab and add an input device microphone, to trigger micro permission. Without permission, it not works.
    • If you don't have micro like me(mac mini), connect iPhone by cable and use it as a microphone.
  • After granting permission you can use it!

from blackhole.

devinroth avatar devinroth commented on May 17, 2024

from blackhole.

devinroth avatar devinroth commented on May 17, 2024

from blackhole.

GDSteelers avatar GDSteelers commented on May 17, 2024

Am I the only one whose GUI is too small to select inputs/outputs? It won't let me resize the window and it makes me click the icon and drag it rather than have a drop down menu, or the ability to use the arrow keys...
Screen Shot 2020-06-07 at 1 38 22 PM

Has anyone found a workaround? This is so frustrating...

from blackhole.

Lightwel avatar Lightwel commented on May 17, 2024

@ProfFan and @kcarnold - great work! Can now use AULab as system-wide EQ for my VOX player and Thunderbolt display (it needs one!).

But despite reducing mic volume for both the Display and my internal MBP mic to zero on Sound, I'm getting some interference and chopping - can the solution allow internal speakers and display to play output from AULab alone and not the mic(s)?

And/or could the chopping be because I am playing a 24/96 file from VOX into a ?/48 display?

I'm also getting much more R than L channel. Both Aggregate Device and Multi-Output Devices have sliders set equally between channels, but Audio1 channel balance on AULab has to be all the way left to balance. VOX player output has always been correct ..

AULab has played from the internal File player without any issues - and without applying the permissions fix. So it is possible that the Blackhole issue is to do with the AUL input rather than AUL permissions per se ... just a thought.

Tks

from blackhole.

Bushwickz avatar Bushwickz commented on May 17, 2024

With BlackHole?

On Jan 7, 2020, at 11:16 AM, emenelton @.***> wrote: I have AU Lab working in Catalina — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#4?email_source=notifications&email_token=ADDIQEJFO6Y2LNZSYT266DLQ4TIIDA5CNFSM4JBUA5WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIJ6PZQ#issuecomment-571729894>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDIQEM7GVAOTZJSB25MH3DQ4TIIDANCNFSM4JBUA5WA.

On Catalina 10.15.7..?? I do.

from blackhole.

emenelton avatar emenelton commented on May 17, 2024

With BlackHole?

On Jan 7, 2020, at 11:16 AM, emenelton @.***> wrote: I have AU Lab working in Catalina — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#4?email_source=notifications&email_token=ADDIQEJFO6Y2LNZSYT266DLQ4TIIDA5CNFSM4JBUA5WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIJ6PZQ#issuecomment-571729894>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDIQEM7GVAOTZJSB25MH3DQ4TIIDANCNFSM4JBUA5WA.

On Catalina 10.15.7..?? I do.

just AUlab

from blackhole.

roggenrohl-inge avatar roggenrohl-inge commented on May 17, 2024

Does anyone run AU Lab successfully on Big Sur? I tried @kcarnold's and @ProfFan's approach but I get: "Error: table access has 13 columns but 12 values were supplied"

from blackhole.

51M0N3-3XC avatar 51M0N3-3XC commented on May 17, 2024

@genevera I'm on Big Sur 11.5.2 and get this: "Error: UNIQUE constraint failed: access.service, access.client, access.client_type, access.indirect_object_identifier“

from blackhole.

AxelAxelAlex avatar AxelAxelAlex commented on May 17, 2024

sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "insert into access VALUES('kTCCServiceMicrophone','com.apple.audio.aulab',0,1,1,NULL,NULL,NULL,'UNUSED',NULL,0,CAST(strftime('%s','now') AS INTEGER));"

When trying this method on the latest macos patch I get the error message
Error: unable to open database "/Users/alex/Library/Application Support/com.apple.TCC/TCC.db": authorization denied

from blackhole.

AxelAxelAlex avatar AxelAxelAlex commented on May 17, 2024

@roggenrohl-inge I'm on Big Sur and have it working. As the error indicates: there is an extra column. You could select a row and you may notice an extra integer column. The following insert statement worked for me:

INSERT INTO access VALUES('kTCCServiceMicrophone','com.apple.audio.aulab',0,2,2,1,NULL,NULL,NULL,'UNUSED',NULL,0, CAST(strftime('%s','now') AS INTEGER)) ;

When trying this method I get the error message
no matches found: VALUES(kTCCServiceMicrophone,com.apple.audio.aulab,0,2,2,1,NULL,NULL,NULL,UNUSED,NULL,0, CAST(strftime(%s,now) AS INTEGER))

from blackhole.

expdsp avatar expdsp commented on May 17, 2024

🤖 Running via terminal works for me... hope this helps someone!

from blackhole.

liuwl-j avatar liuwl-j commented on May 17, 2024

M1 for macOS Monterey

sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT or REPLACE INTO access VALUES('kTCCServiceMicrophone','com.apple.audio.aulab',0,2,2,1,NULL,NULL,NULL,'UNUSED',NULL,0,1577993260);"

from blackhole.

Bushwickz avatar Bushwickz commented on May 17, 2024

Confirm working as of 12.4 Monterey on M1.

For reference the full process for granting AU lab access to microphone should be:

  1. Security & Privacy -> Privacy -> Full Disk Access -> check Terminal (from 1)
  2. quit and restart Terminal
  3. in Terminal: sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT INTO access VALUES('kTCCServiceMicrophone','com.apple.audio.aulab',0,2,2,1,NULL,NULL,NULL,'UNUSED',NULL,0, CAST(strftime('%s','now') AS INTEGER)) ;" (from 2 and 3)
  4. Full Disk Access -> uncheck Terminal

Still in 2023/2024 fighting with Aulab. Intel Pro on macOs Sonoma 14.4.1 with the following error

"Error: in prepare, table access has 17 columns but 12 values were supplied"

csrutil disable. Even SU.

smh

from blackhole.

level3tjg avatar level3tjg commented on May 17, 2024

This issue stems from AU Lab not being signed with the required entitlements to access audio inputs.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.security.device.audio-input</key>
	<true/>
</dict>
</plist>

Write the contents above into a plist file (e.g. entitlements.plist) and codesign the AU Labs executable with them

codesign --entitlements entitlements.plist -f -s - /Applications/AU\ Lab.app/Contents/MacOS/AU\ Lab

from blackhole.

TheRandomFactor avatar TheRandomFactor commented on May 17, 2024

I know very little about computers and softare, but I did find a simple workaround. Just in case it can be of any use to anyone, here's a video I made on this subject: https://youtu.be/2RigWfQ4lGU?si=BXqu-bM_zt09cGzA

from blackhole.

gchilds avatar gchilds commented on May 17, 2024

from blackhole.

TheRandomFactor avatar TheRandomFactor commented on May 17, 2024

from blackhole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.