Package: snack / 2.2.10.20090624+dfsg-1

Metadata

Package Version Patches format
snack 2.2.10.20090624+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
alsa.patch | (download)

unix/jkAudIO_alsa.c | 17 13 + 4 - 0 !
1 file changed, 13 insertions(+), 4 deletions(-)

---
args.patch | (download)

generic/jkFilterIIR.c | 6 6 + 0 - 0 !
generic/jkPitchCmd.c | 2 1 + 1 - 0 !
generic/jkSoundEdit.c | 12 12 + 0 - 0 !
generic/shape.c | 18 18 + 0 - 0 !
tests/zargs.test | 54 54 + 0 - 0 !
5 files changed, 91 insertions(+), 1 deletion(-)

---
libs.patch | (download)

unix/Makefile.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
CVE 2012 6303.patch | (download)

generic/jkSoundFile.c | 9 8 + 1 - 0 !
1 file changed, 8 insertions(+), 1 deletion(-)

---
mpg123.patch | (download)

doc/python-man.html | 3 1 + 2 - 0 !
doc/tcl-man.html | 10 8 + 2 - 0 !
unix/Makefile.in | 16 10 + 6 - 0 !
unix/pkgIndex.tcl.dll | 2 2 + 0 - 0 !
4 files changed, 21 insertions(+), 10 deletions(-)

 patch actually enables the alternative support for mp3 sound
 files. It removes the internal support from the makefile and adds building
 libsnackmpg.so.
Last-Updated: Sat, 27 Jul 2013 20:49:13 +0400


tksnack.patch | (download)

demos/python/MinSect.py | 7 6 + 1 - 0 !
demos/python/MinSpeg.py | 7 6 + 1 - 0 !
demos/python/MinWave.py | 7 6 + 1 - 0 !
demos/python/dataCmd.py | 7 6 + 1 - 0 !
demos/python/echo.py | 7 6 + 1 - 0 !
demos/python/generator.py | 7 6 + 1 - 0 !
demos/python/mixplay.py | 7 6 + 1 - 0 !
demos/python/notescale.py | 7 6 + 1 - 0 !
demos/python/oggplay.py | 9 7 + 2 - 0 !
demos/python/playnotes.py | 7 6 + 1 - 0 !
demos/python/polarspec.py | 7 6 + 1 - 0 !
demos/python/spectrogram.py | 7 6 + 1 - 0 !
demos/python/sphere.py | 14 10 + 4 - 0 !
demos/python/tkSnack.py | 23 14 + 9 - 0 !
demos/python/widget.py | 7 6 + 1 - 0 !
python/tkSnack.py | 23 14 + 9 - 0 !
16 files changed, 117 insertions(+), 36 deletions(-)

 patch makes porting of the tksnack python module and
 included demos to Python 3.x, while retaining their compatibility
 with Python 2.x.
Last-Modified: Sat, 18 Apr 2015 20:24:39 +0300


warnings.patch | (download)

generic/SnackMpg.c | 8 5 + 3 - 0 !
generic/jkCanvSect.c | 2 1 + 1 - 0 !
generic/jkCanvSpeg.c | 6 3 + 3 - 0 !
generic/jkCanvWave.c | 2 1 + 1 - 0 !
generic/sigproc2.c | 6 6 + 0 - 0 !
5 files changed, 16 insertions(+), 8 deletions(-)

 patch fixes a few missing function and variable declarations.
Last-Modified: Thu, 19 Nov 2015 21:44:33 +0300


seektell.patch | (download)

generic/jkSound.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 patch makes the snack library using tcl_seek() and tcl_tell()
 instead of deprecated Tcl_SeekOld() and Tcl_TellOld(). Without it Snack works
 fine when it's being loaded from Tcl but fails when it's being loaded from
 Python.
Last-Modified: Thu, 19 Nov 2015 21:46:12 +0300
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/snack/+bug/1510562


cflags.patch | (download)

generic/SnackMpg.c | 10 5 + 5 - 0 !
generic/jkSoundFile.c | 2 1 + 1 - 0 !
unix/Makefile.in | 2 1 + 1 - 0 !
3 files changed, 7 insertions(+), 7 deletions(-)

 patch enables debian-specific compiler flags and fixes errors and warnings
 they reveal.
Last-Modified: Tue, 24 Apr 2018 12:11:14 +0300


formant.patch | (download)

generic/jkFormant.c | 200 128 + 72 - 0 !
generic/jkGetF0.c | 59 31 + 28 - 0 !
2 files changed, 159 insertions(+), 100 deletions(-)

 replace dwnsample() and do_fir() by downsample() and do_ffir() resp.
 Utilize the functions downsample() and do_ffir() from jkGetF0.c for the signal
 pre-processing. The former functions are from proprietary code and, thus, can't
 be used. Notice that do_fir() was a 16-bit integer implementation for an FIR
 filter whereas do_ffir() is a floating-point implementation. This might cause a
 higher computational effort. On the other side we gain precision. That is why
 the volume of the audio signal can stay the same now and we experience much less
 effects from quantization.