a soft clipper is like clip~ but with rounded 'edges' : with clip you cut clean everything that over 1 and below -1 (for instance) with a soft clipper when you reach those maximums softly with a little interpolation. It's like a limiter with a knee.
Aah now we are talking! Limiter I know!
BTW did you try with headphones on and do you have the same issue with headphones ?
I tried with headphones and I think it was not the same, so it is something with the output to the speaker....
I also made normalization on the wavs in my soundeditor and removed the -normalize in pd patch. Now the sound is a bit higher in volume, I dont need to put the output on phone more than ca 50% to hear it clear.....we are making progress!
@whale-av Thanks for the tip's!
I am not using AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK, not what I know.
Should I? ....woav, found a lot info about it on Google, need to read, will be back.
The -normalize switch is set, but I dont know if it did any change, hard to tell.
I am using my "own" code...from Peter Brinkmanns book "Making Musical Apps".
Hmmm intresting! -normalize have I not used yet. Will check it out.
Soft clipping abstraction - I am aware of soft clipping, but what is soft clipping abstraction??
tanh~ - is this part of "standard" puredata (not extended)?
My editor couldnt find it.....
Very interesting input! Thank you Berenger!
Thanks for your response. The patch IS working in PureData-editor
and on my mobile thru libpd, However on my mobile I get some
unwanted behavior of the sound (see earlier posts). Correct me if
I am wrong, but if I get sound from patch/libpd the dsp must be
turned on? Or?
Same behavior with another unit....
However, I changed the wav files that was loaded in patch into mono instead of stereo and it seemed to make a change!
But, Im maybe getting crazy after listening on the sounds, I imagine I hear a straight attack on the sounds some time and another time there is a "longer" attack.
Ok, I tried tabplay instead of tabread, no change, same behavior
Tried to have only one channel out to dac, no change, same behavior
....dont know what to look for now. I think I try another phone/tablet.
Hmmm......another strange thing is that the sound is not loud, if I set the
phone to 50% the phone signal is loud and clear, but my app is barely