--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: mididings: Problem calling Output with pan value
- From: tizo <tizone@gmail.com>
- Date: Wed, 05 Dec 2018 09:48:50 -0300
- Message-id: <154401413033.2334.15006190640656637213.reportbug@keyhost76>
Package: mididings
Version: 0~20120419~ds0-6
Severity: normal
Tags: patch
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Calling Output with a pan value.
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
The pan value is not taken into account. The volume value is used instead for
the midi pan control message.
* What outcome did you expect instead?
That the output midi pan control message used the pan value, and not the volume
one.
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.18.0-rc8-rt1tizo (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mididings depends on:
ii python 2.7.15-3
ii python-dbus 1.2.8-2+b1
ii python-liblo 0.10.0-3+b3
ii python-mididings 0~20120419~ds0-6
ii python-pyinotify 0.9.6-1
ii python-tk 2.7.15-1
mididings recommends no packages.
Versions of packages mididings suggests:
pn mididings-doc <none>
-- no debconf information
--- init.py.20181204 2012-04-05 15:30:18.000000000 -0300
+++ init.py 2018-12-04 21:58:57.349572303 -0300
@@ -48,9 +48,9 @@
if volume is not None:
init.append(Ctrl(port, channel, 7, volume))
if pan is not None:
- init.append(Ctrl(port, channel, 10, volume))
+ init.append(Ctrl(port, channel, 10, pan))
if expression is not None:
- init.append(Ctrl(port, channel, 11, volume))
+ init.append(Ctrl(port, channel, 11, expression))
for k, v in ctrls.items():
init.append(Ctrl(port, channel, k, v))
--- End Message ---