Re: [PD] no more sound on iOS with biquad~ and libpd

2015-07-17 Thread Jack
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanx IOhannes,

First :
Isolate the biquad~ stuff has solved the issue (without [clip~ -1 1])

Secondly :
Adding a [clip~ -1 1] just before the [dac~] doesn't solve the problem.

Thirdly :
But I don't know yet where the problem comes : if a [clip~ -1 1] is
added after the biquad~ stuff, it works, no crash.

I have to dig a little bit more...
++

Jack



Le 14/07/2015 16:53, IOhannes m zmoelnig a écrit :
 On 2015-07-14 16:11, Jack wrote:
 Hello,
 
 Jumping fast to certain coefficient (for frequency around 40/50
 Hz and Q around 0.7) cut sound on iOS (iPad) when i use libpd (it
 seems to be OK with MacOSX). I need to restart the iOS after. Do
 you know what I have to do to solve this issue ?
 
 provide a test-patch.
 
 two ideas: - the quick jump causes some very high sample values.
 the iOS system limiter~ mutes the signal and takes ages to recover
 (too long to wait). a quick fix would be to use [clip~] just before
 the [dac~]s
 
 - the quick jump might cause a NaN to be introduced in the signal 
 vector; due to the recursive nature of [biquad~] all successive
 samples become NaNs. no quick fix for this. try to get the sample
 values after muting. e.g. using [print~], or even just [env~]...
 
 fmasdr IOhannes
 
 
 
 ___ 
 Pd-list@lists.iem.at mailing list UNSUBSCRIBE and
 account-management - http://lists.puredata.info/listinfo/pd-list
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJVqPFjAAoJEOuluecjw8GUXkkH/RPsLKWwZLlpZ+w3He932OIh
IZtaQN+dE22ZNYlbmkF2hph/B+27fGf1Nn36N/xmhmYQ3Ar/Jcakdosp3GZRZeUt
ZUlTnJpBAQIzASYvDw3eRyINOkvV9I52j/UFaWNolK7J4dJcLvMoMxAABDgTVgLd
B01SNCGx2g4A2s2krmkhWH5LlQgZzTaUWzI/rk0dtjC8QN76ek6PuR67tw17Yx9c
NOtGOOXVapOqylBzMxvV05iwOM4dJlP9tSLv+BYCGngvDFfdzmUQ9JGrL8IYB9py
P1/j1VqdGp2sRUJ4HQwpwpG3wH3gs/aWSVQINqI5IqMPQndA/CkChZjLSr1Sirk=
=YLEk
-END PGP SIGNATURE-

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] no more sound on iOS with biquad~ and libpd

2015-07-14 Thread Jack
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Jumping fast to certain coefficient (for frequency around 40/50 Hz and
Q around 0.7) cut sound on iOS (iPad) when i use libpd (it seems to be
OK with MacOSX).
I need to restart the iOS after.
Do you know what I have to do to solve this issue ?
Thanx.
++

Jack

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJVpRiXAAoJEOuluecjw8GUot8H/0uXDRjgs3PaLrNcOUIVTN5i
tkUp1rBdeVqxqaTwMmDB/jITAwIYFMvJPz7t75sJ1ESgl36W0iMrbOYy13NOsXPO
gsOtFll7QV6pw4zr7q2LbChEEEJd8sOWcJDzuPu3aBQK/fTTjrwstuzEBi+gVBB3
0LZ9C+FmccTOcMWQzcUl7lNgBk0E59n5w0Sd/hNmYLV7Fzhh5xLUwsA3sexlzlNJ
BhL8ESy9eMZLhfL75Y8S1Jj9M35jRtepQhB9uF8gNnAXg1gG3oFItEAib3pI/IMb
afdSjld9ZOL81nmNN0UboOpt4bPaBlmQGeiqKPSlt5dYJdG3nVAI32R5DIiPFhk=
=YCmj
-END PGP SIGNATURE-

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] no more sound on iOS with biquad~ and libpd

2015-07-14 Thread IOhannes m zmoelnig
On 2015-07-14 16:11, Jack wrote:
 Hello,
 
 Jumping fast to certain coefficient (for frequency around 40/50 Hz and
 Q around 0.7) cut sound on iOS (iPad) when i use libpd (it seems to be
 OK with MacOSX).
 I need to restart the iOS after.
 Do you know what I have to do to solve this issue ?

provide a test-patch.

two ideas:
- the quick jump causes some very high sample values. the iOS system
limiter~ mutes the signal and takes ages to recover (too long to wait).
a quick fix would be to use [clip~] just before the [dac~]s

- the quick jump might cause a NaN to be introduced in the signal
vector; due to the recursive nature of [biquad~] all successive samples
become NaNs. no quick fix for this.
try to get the sample values after muting. e.g. using [print~], or even
just [env~]...

fmasdr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list