Your message dated Fri, 17 Jul 2009 06:32:05 +0000
with message-id <[email protected]>
and subject line Bug#536252: fixed in timidity 2.13.2-26
has caused the Debian Bug report #536252,
regarding timidity: Left-Right panning of Fluid soundfont instruments is wrong
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
536252: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536252
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: timidity
Version: 2.13.2-25
Severity: normal
Tags: patch

When Fluid soundfonts are installed, configuration files are installed to the 
Timidity directory. These have correct 
(for Timidity) values on all the "pan=" statements, with 0 signifying "centre". 
For the drum kits, each "note" usually has a pan
value to place the drum in the correct stereo location. (Other instruments are 
usually centred.) 

However, timidity plays the drums panned about 80% to one side, even if they 
are set to 0, or the keyword "center".

I THINK this is a bug in the internals of Timidity.  Internally, panning values 
are coded 0 (left) - 64 (centre) - 127 (right).
In file instrum.c the expression "pan = ((int) bank->tone[prog].pan & 0x7f) - 
64 ;"  appears, which is converting a 0..127 value
to +/-64, which seems wrong.

When I remove the minus 64 and recompile, drums appear in the correct stereo 
positions.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-thinkpad (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages timidity depends on:
ii  freepats               20060219-1        Free patch set for MIDI audio synt
ii  libasound2             1.0.19-1          shared library for ALSA applicatio
ii  libaudio2              1.9.1-2           Network Audio System - shared libr
ii  libc6                  2.9-18            GNU C Library: Shared libraries
ii  libesd0                0.2.36-3          Enlightened Sound Daemon - Shared 
ii  libflac8               1.2.1-1.2         Free Lossless Audio Codec - runtim
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libjack0               0.116.1-4         JACK Audio Connection Kit (librari
ii  libncurses5            5.6+20080308-1    Shared libraries for terminal hand
ii  libogg0                1.1.3-4           Ogg Bitstream Library
ii  libpng12-0             1.2.15~beta5-3    PNG library - runtime
ii  libsm6                 2:1.0.3-1+b1      X11 Session Management library
ii  libvorbis0a            1.2.0.dfsg-5      The Vorbis General Audio Compressi
ii  libvorbisenc2          1.2.0.dfsg-5      The Vorbis General Audio Compressi
ii  libx11-6               2:1.2.1-1         X11 client-side library
ii  libxaw7                2:1.0.4-1         X11 Athena Widget library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxmu6                2:1.0.4-1         X11 miscellaneous utility library
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  lsb-base               3.2-20            Linux Standard Base 3.2 init scrip
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

timidity recommends no packages.

Versions of packages timidity suggests:
ii  fluid-soundfont-gm            3.1-2      Fluid (R3) General MIDI SoundFont 
ii  fluid-soundfont-gs            3.1-1      Fluid (R3) General MIDI SoundFont 
ii  pmidi                         1.6.0-4    A command line midi player for ALS

-- no debconf information
--- instrum.c	2009-07-08 16:32:06.000000000 +0100
+++ instrum.c.old	2004-05-30 22:48:11.000000000 +0100
@@ -1070,7 +1070,7 @@
 		}
 		/* panning */
 		if (ip != NULL && bank->tone[prog].pan != -1) {
-			pan = ((int) bank->tone[prog].pan & 0x7f) ; /* sg - 64; */
+			pan = ((int) bank->tone[prog].pan & 0x7f) - 64;
 			for (i = 0; i < ip->samples; i++) {
 				panning = (int) ip->sample[i].panning + pan;
 				panning = (panning < 0) ? 0

--- End Message ---
--- Begin Message ---
Source: timidity
Source-Version: 2.13.2-26

We believe that the bug you reported is fixed in the latest version of
timidity, which is due to be installed in the Debian FTP archive:

timidity-el_2.13.2-26_all.deb
  to pool/main/t/timidity/timidity-el_2.13.2-26_all.deb
timidity-interfaces-extra_2.13.2-26_amd64.deb
  to pool/main/t/timidity/timidity-interfaces-extra_2.13.2-26_amd64.deb
timidity_2.13.2-26.diff.gz
  to pool/main/t/timidity/timidity_2.13.2-26.diff.gz
timidity_2.13.2-26.dsc
  to pool/main/t/timidity/timidity_2.13.2-26.dsc
timidity_2.13.2-26_amd64.deb
  to pool/main/t/timidity/timidity_2.13.2-26_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joost Yervante Damad <[email protected]> (supplier of updated timidity package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 17 Jul 2009 08:10:30 +0200
Source: timidity
Binary: timidity timidity-interfaces-extra timidity-el
Architecture: source all amd64
Version: 2.13.2-26
Distribution: unstable
Urgency: low
Maintainer: Joost Yervante Damad <[email protected]>
Changed-By: Joost Yervante Damad <[email protected]>
Description: 
 timidity   - Software sound renderer (MIDI sequencer, MOD player)
 timidity-el - An Emacs front end to Timidity++
 timidity-interfaces-extra - TiMidity++ extra user interfaces
Closes: 536252
Changes: 
 timidity (2.13.2-26) unstable; urgency=low
 .
   * (hopefully) fix drum panning with thanks to Steve Graham
     for providing a fix (Closes: #536252)
Checksums-Sha1: 
 e935ca68c6b3c89fbc52a490bf9137305449f51f 1409 timidity_2.13.2-26.dsc
 0946ee13618b5d8e7e3440df048073f5b1ea94ea 127450 timidity_2.13.2-26.diff.gz
 7d35e02c941bbb75f7ca6f3eaab31cbf5385408a 17094 timidity-el_2.13.2-26_all.deb
 9b2f7c4d30517d2747695e185d2e8fe341b83f8b 660510 timidity_2.13.2-26_amd64.deb
 63f684d52124b58934d6954b818a76c0f5351475 100348 
timidity-interfaces-extra_2.13.2-26_amd64.deb
Checksums-Sha256: 
 311642caf97ea10a32608f4b3701c279e42f5a834e72d8c3ede3f69d4c9c6854 1409 
timidity_2.13.2-26.dsc
 ebc212393c741f974b273175d2f5e982ad75da11d82c03fe325c05d6187776fd 127450 
timidity_2.13.2-26.diff.gz
 0b76a307c6ec67ec0be1d6b1d7d5f63aa49ef3f2a9d55c3772db0799cd6d4828 17094 
timidity-el_2.13.2-26_all.deb
 79000083ea0ca0f95c51ba95c09cb8e820969acb501084104394a2aba150a51f 660510 
timidity_2.13.2-26_amd64.deb
 eaa8c5aca84fce483d96f34c166818345ec54ceb660dbd788924c5840c69d51d 100348 
timidity-interfaces-extra_2.13.2-26_amd64.deb
Files: 
 8bd2d9617dacd40d227253fb887d4304 1409 sound optional timidity_2.13.2-26.dsc
 35d2d56cc31e255c2182a30066f69539 127450 sound optional 
timidity_2.13.2-26.diff.gz
 07a8d92b62af40806191f9352ab65153 17094 lisp optional 
timidity-el_2.13.2-26_all.deb
 d0099b760bbaa2af953c52fa8bd5a6fc 660510 sound optional 
timidity_2.13.2-26_amd64.deb
 95977f2c2d53706e1d877691aa46c54b 100348 sound optional 
timidity-interfaces-extra_2.13.2-26_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpgFxwACgkQ0/r2+3z8lN3FRQCgrEY4168/xnJhE9do0hoIN68n
aJsAoJeVzP2mkVXcv7Q7RvTOTUsJJIGp
=utIv
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to