External input for audio/in config


#1

I want to add external inlets for the audio in config object.

What I did is replaced the param_gain lines in the code by inlet_gain in the code but I get this error when trying to compile:
'inlet_gain' was not declared in this scope

I'm fairly new to changing objects and got the same thing to work in other objects. any Ideas?

inconfig l external.axp (2.5 KB)


#3

Oh you're post is gone? Thx for the tips.

Moving to K-Rate works but cpu is at 100% and no sound from the board wich leads me to the question if this is even possible or should be done in a different way?


#4

i'm not sure you can change those settings while a patch is running...(if that is what you try to do)


#5

yes I want to adjust input gain live. or at least find some way to do it during patch start


#6

Not quite so easy, there are deep reasons why calling ADAU1961_WriteRegister() at control rate is not going to work well. Potentially going to get addressed in the next release.


#7

Hey @Blindsmyth

After reading in the object coding section I realized that it is only in the "local data" you cannot call from I/O's. My mind played tricks on me :wink: So i deleted my message again, since it wasnt relevant.


#8

Ok but would there be a way to set this during start up?