Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying it out with AU Lab without success #4

Closed
theo-bittencourt opened this issue Oct 17, 2019 · 47 comments
Closed

Trying it out with AU Lab without success #4

theo-bittencourt opened this issue Oct 17, 2019 · 47 comments

Comments

@theo-bittencourt
Copy link

I'd like to use AU Lab to perform some EQs on Catalina.
I'm using the same setup that worked fine with Soundflower.
Did anyone try it already?

o/

@devinroth
Copy link
Member

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?

@devinroth
Copy link
Member

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

@devinroth devinroth added the bug Something isn't working label Oct 17, 2019
@devinroth
Copy link
Member

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.

@theo-bittencourt
Copy link
Author

theo-bittencourt commented Oct 17, 2019

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

@devinroth
Copy link
Member

Ha awesome. That totally worked!

@theo-bittencourt
Copy link
Author

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

@devinroth
Copy link
Member

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

@devinroth devinroth reopened this Oct 18, 2019
@devinroth
Copy link
Member

Oops.

@devinroth
Copy link
Member

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

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

@theo-bittencourt
Copy link
Author

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.

@devinroth
Copy link
Member

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.

@theo-bittencourt
Copy link
Author

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

@devinroth devinroth added discussion and removed bug Something isn't working labels Dec 24, 2019
@emenelton
Copy link

I have AU Lab working in Catalina

@devinroth
Copy link
Member

devinroth commented Jan 7, 2020 via email

@emenelton
Copy link

emenelton commented Jan 7, 2020

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

@devinroth
Copy link
Member

devinroth commented Jan 7, 2020 via email

@emenelton
Copy link

emenelton commented Jan 7, 2020

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

@wizardeur
Copy link

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

@devinroth
Copy link
Member

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

@albertaleksieiev
Copy link

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!

@devinroth
Copy link
Member

devinroth commented Apr 6, 2020 via email

@ProfFan
Copy link

ProfFan commented Apr 21, 2020

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) ;"

@devinroth
Copy link
Member

devinroth commented Apr 21, 2020 via email

@GDSteelers
Copy link

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...

@kcarnold
Copy link

kcarnold commented Jul 9, 2020

@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));"

@Atalantia
Copy link

Atalantia commented Jul 26, 2020

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

Bildschirmfoto 2020-07-26 um 17 15 14

@Lightwel
Copy link

@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

@Bushwickz
Copy link

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.

@emenelton
Copy link

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

@roggenrohl-inge
Copy link

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"

@genevera
Copy link

genevera commented Mar 9, 2021

@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)) ;

@51M0N3-3XC
Copy link

@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“

@AxelAxelAlex
Copy link

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

@AxelAxelAlex
Copy link

@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))

@expdsp
Copy link

expdsp commented Jan 22, 2022

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

@hemanthpai
Copy link

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.

@geekbeast
Copy link

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.

@analogist
Copy link

analogist commented Jun 25, 2022

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

@liuwl-j
Copy link

liuwl-j commented Jul 29, 2022

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);"

@Bushwickz
Copy link

Bushwickz commented Nov 12, 2023

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

@dmurph
Copy link

dmurph commented Dec 21, 2023

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.

@level3tjg
Copy link

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

@TheRandomFactor
Copy link

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

@gchilds
Copy link

gchilds commented Jan 7, 2024 via email

@TheRandomFactor
Copy link

TheRandomFactor commented Jan 7, 2024 via email

@BaksiLi
Copy link

BaksiLi commented May 16, 2024

Insert into com.apple.TCC/TCC.db will not be effective if System Integrity Protection (SIP) is enabled on your Mac.

Another workaround is by using the Terminal application as an intermediary step:

  1. Grant Terminal.app the microphone the access to microphone. This can be achieved by ffmpeg -f avfoundation -i ":1" -t 5 audiocapture.mp3 && rm audiocapture.mp3.
    This command attempts to record a 5-second audio clip, triggering a prompt for microphone access. Ensure ffmpeg is installed before running this command.
  2. Open AU Lab by right-click AU Lab -> Show Package Contents -> Contents -> MacOS and open. It will firstly open a Terminal window and from there, opens the application. Now AU Lab should now have access to the microphone.

@TheRandomFactor
Copy link

TheRandomFactor commented May 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests