[PD-dev] [ pure-data-Patches-2958837 ] Fix bendout on alsa

SourceForge.net noreply at sourceforge.net
Wed Aug 18 05:09:12 CEST 2010


Patches item #2958837, was opened at 2010-02-25 09:10
Message generated for change (Settings changed) made by millerpuckette
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2958837&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Martin Peach (mrpeach)
Assigned to: Miller Puckette (millerpuckette)
Summary: Fix bendout on alsa

Initial Comment:
Using ALSA MIDI on linux, the [bendout] object takes input between -8192 and 8191 but the output is scrambled because it is sent as signed instead of offset.
This patch sends -8192 - 8191 as 0 - 16384 as per the spec.
[bendin] still needs to have 8192 subtracted from its outlet on _UNIX and _WIN32 at least.

----------------------------------------------------------------------

Comment By: Martin Peach (mrpeach)
Date: 2010-02-25 09:16

Message:
Er, that should read  "This patch sends -8192 through 8191 as  0 through
16383"

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2958837&group_id=55736



More information about the Pd-dev mailing list