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

The microphone cannot be called in my macbookpro #120

Open
barium3 opened this issue Jan 17, 2022 · 3 comments
Open

The microphone cannot be called in my macbookpro #120

barium3 opened this issue Jan 17, 2022 · 3 comments

Comments

@barium3
Copy link

barium3 commented Jan 17, 2022

the mac has given the processing permission in the system preferences but the processing does not respond and no error is reported

@barium3
Copy link
Author

barium3 commented Jan 17, 2022

//Test with this code, the value of backgroundCol is always 0.0

import ddf.minim.;
import ddf.minim.analysis.
;
import ddf.minim.effects.;
import ddf.minim.signals.
;
import ddf.minim.spi.;
import ddf.minim.ugens.
;

Minim sounds;
AudioInput microphone;

void setup()
{
size(500, 500);

sounds = new Minim (this);
microphone=sounds.getLineIn();
}
void draw() {

float backgroundCol = microphone.mix.level()255.010.0;
background(backgroundCol, backgroundCol, backgroundCol);
println(backgroundCol);
}

@jvolker
Copy link

jvolker commented Nov 21, 2022

I've got the same issue using the RecordAudioInput example on a MacBook Pro M1 using macOS 12.6.1 using the built-in microphone and Processing 4.0.1.

@jvolker
Copy link

jvolker commented Nov 21, 2022

There is a working solution described here: #114 (comment)

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

2 participants