---
** [bugs:#1235] cos~ corrupt waveform with large inputs**
**Status:** open **Group:** v0.46 **Created:** Sun Mar 20, 2016 04:51 PM UTC by Claude Heiland-Allen **Last Updated:** Sun Mar 20, 2016 04:51 PM UTC **Owner:** nobody **Attachments:**
- [cos~-large-input-bug.pd](https://sourceforge.net/p/pure-data/bugs/1235/attachment/cos%7E-large-input-...) (806 Bytes; text/x-puredata)
If the input to [cos~] is greater than 1024, the waveform gets corrupt (first only half a cycle of a cosine waveform instead of a full cycle, then with higher inputs even less of the waveform). See attached patch which demonstrates the issue.
Tested with self-compiled Pd-0.45.5 on Linux (amd64).
---
Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
for negative values is different
-8192 is half cycle
2016-03-20 13:51 GMT-03:00 Claude Heiland-Allen < claudiusmaximus@users.sf.net>:
- [bugs:#1235] https://sourceforge.net/p/pure-data/bugs/1235/ cos~
corrupt waveform with large inputs*
*Status:* open *Group:* v0.46 *Created:* Sun Mar 20, 2016 04:51 PM UTC by Claude Heiland-Allen *Last Updated:* Sun Mar 20, 2016 04:51 PM UTC *Owner:* nobody *Attachments:*
- cos~-large-input-bug.pd
https://sourceforge.net/p/pure-data/bugs/1235/attachment/cos%7E-large-input-bug.pd (806 Bytes; text/x-puredata)
If the input to [cos~] is greater than 1024, the waveform gets corrupt (first only half a cycle of a cosine waveform instead of a full cycle, then with higher inputs even less of the waveform). See attached patch which demonstrates the issue.
Tested with self-compiled Pd-0.45.5 on Linux (amd64).
Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Pd-dev mailing list Pd-dev@lists.iem.at http://lists.puredata.info/listinfo/pd-dev