Package: audacious-plugins Version: 3.10.1 Severity: wishlist Tags: patch Dear Maintainer,
When listening to podcasts with audacious, sometimes 2x speed is not enough. I find 2.4x to 3.0x is listenable, depending on the content. The following patch increases both the granularity of change possible and the maximum range of the speed/pitch shift plugin, as well as the frequency for a smoother speedup sound. This patch, written for audacious-plugins 4.4.2 makes it possible to listen to more podcasts, faster. Especially with a large amount of coffee. -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 6 (excalibur/ceres) Release: 6 Codename: excalibur ceres Architecture: x86_64 Kernel: Linux 6.12.0-gnulibre-gnm-eva2 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en Shell: /bin/sh linked to /usr/bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages audacious-plugins depends on: ii audacious-plugins-data 4.4.2-2+morespeed ii libasound2t64 1.2.13-1+b1 ii libaudcore5t64 4.4.2-1 ii libaudgui6 4.4.2-1 ii libaudqt3 4.4.2-1 ii libaudtag3t64 4.4.2-1 ii libavcodec61 7:7.1.1-1+b1 ii libavformat61 7:7.1.1-1+b1 ii libavutil59 7:7.1.1-1+b1 ii libbs2b0 3.1.0+dfsg-8+b1 ii libc6 2.41-6 ii libcairo2 1.18.4-1+b1 ii libcddb2 1.3.2-7.1 ii libcdio-cdda2t64 10.2+2.0.2-1+b1 ii libcdio19t64 2.2.0-2 ii libcue2 2.2.1-4.1+b2 ii libcurl3t64-gnutls 8.13.0~rc3-1 ii libfaad2 2.11.2-1 ii libflac14 1.5.0+ds-2 ii libfluidsynth3 2.3.6-1devuan1 ii libgcc-s1 14.2.0-19 ii libgdk-pixbuf-2.0-0 2.42.12+dfsg-2 ii libgl1 1.7.0-1+b2 ii libglib2.0-0t64 2.84.0-2 ii libgtk-3-0t64 3.24.49-2 ii libjack0 [libjack-0.125] 1:0.126.0-4 ii libjson-glib-1.0-0 1.10.6+ds-2 ii liblirc-client0t64 0.10.2-0.10 ii libmms0 0.6.4-3+b2 ii libmodplug1 1:0.8.9.0-3+b2 ii libmp3lame0 3.100-6+b3 ii libmpg123-0t64 1.32.10-1 ii libneon27t64-gnutls 0.34.0-1 ii libnotify4 0.8.4-1 ii libogg0 1.3.5-3+b2 ii libopenmpt0t64 0.7.13-1+b1 ii libopusfile0 0.12-4+b3 ii libpango-1.0-0 1.56.3-1 ii libpangocairo-1.0-0 1.56.3-1 ii libpipewire-0.3-0t64 1.4.1-1 ii libpulse0 17.0+dfsg1-2+b1 ii libqt6core6t64 6.8.2+dfsg-5+b1 ii libqt6gui6 6.8.2+dfsg-5+b1 ii libqt6multimedia6 6.8.2-7 ii libqt6opengl6 6.8.2+dfsg-5+b1 ii libqt6openglwidgets6 6.8.2+dfsg-5+b1 ii libqt6widgets6 6.8.2+dfsg-5+b1 ii libsamplerate0 0.2.2-4+b2 ii libsdl2-2.0-0 2.32.2+dfsg-2 ii libsidplayfp6 2.12.0-1 ii libsndfile1 1.2.2-2+b1 ii libsndio7.0 1.10.0-0.1 ii libsoxr0 0.1.3-4+b2 ii libstdc++6 14.2.0-19 ii libvorbis0a 1.3.7-2+b1 ii libvorbisenc2 1.3.7-2+b1 ii libvorbisfile3 1.3.7-2+b1 ii libwavpack1 5.8.1-1 ii libx11-6 2:1.8.12-1 ii libxcomposite1 1:0.4.6-1 ii libxml2 2.12.7+dfsg+really2.9.14-0.4 ii libxrender1 1:0.9.12-1 ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1 Versions of packages audacious-plugins recommends: ii audacious 4.4.2-1 audacious-plugins suggests no packages. -- no debconf information
--- audacious-plugins-4.4.2/src/speedpitch/speed-pitch.cc 2024-11-03 14:02:39.000000000 -0600 +++ audacious-plugins-4.4.2+faster/src/speedpitch/speed-pitch.cc 2025-03-28 19:57:06.423561750 -0600 @@ -32,16 +32,18 @@ * spaced at another time interval B. By varying the ratio A:B, we change the * speed of the audio. */ -#define FREQ 10 +#define FREQ 20 #define OVERLAP 3 #define CFGSECT "speed-pitch" -#define MINSPEED 0.25 -#define MAXSPEED 2.0 -#define MINPITCH 0.5 -#define MAXPITCH 2.0 -#define MINSEMITONES -12.0 -#define MAXSEMITONES 12.0 + +#define MINSPEED 0.01 +#define MAXSPEED 4.0 +#define MINPITCH 0.01 +#define MAXPITCH 4.0 +#define MINSEMITONES -24.0 +#define MAXSEMITONES 24.0 + class SpeedPitch : public EffectPlugin { @@ -249,15 +251,15 @@ WidgetBool (CFGSECT, "decouple", sync_speed)), WidgetSpin (N_("Multiplier:"), WidgetFloat (CFGSECT, "speed", nullptr, "speed-pitch set speed"), - {MINSPEED, MAXSPEED, 0.05}, + {MINSPEED, MAXSPEED, 0.01}, WIDGET_CHILD), WidgetLabel (N_("<b>Pitch</b>")), WidgetSpin (nullptr, WidgetFloat (semitones, semitones_changed, "speed-pitch set semitones"), - {MINSEMITONES, MAXSEMITONES, 0.05, N_("semitones")}), + {MINSEMITONES, MAXSEMITONES, 0.01, N_("semitones")}), WidgetSpin (N_("Multiplier:"), WidgetFloat (CFGSECT, "pitch", pitch_changed, "speed-pitch set pitch"), - {MINPITCH, MAXPITCH, 0.005}, + {MINPITCH, MAXPITCH, 0.001}, WIDGET_CHILD) };