pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/pt2-clone pt2-clone: update to 1.34



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ad0ceda2968
branches:  trunk
changeset: 458548:7ad0ceda2968
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Sep 18 08:07:52 2021 +0000

description:
pt2-clone: update to 1.34

v1.34 - 16.09.2021
- Bugfix: Pattern delay (EEx) did nothing on muted channels
- Bugfix: Less clicks/pops during E0x command (Set LED Filter)
- Added the missing Karplus-Strong command (E8x). Since this effect was
  sometimes replaced with visuals-syncing in demo music, it can be turned off by
  setting DISABE_E8X to TRUE in protracker.ini.
- Fix: Only do 2x oversampling if the audio output rate is below 96kHz. It
  would otherwise be a waste of CPU time (diminishing returns).
- Paula emulation is now slightly more accurate to a real Amiga (verified):
  1) Period/volume changes are now only updated when it's time to read
     a new sample point (period refetch). It was recently discovered that
     volume is also fetched (and cached) in the period refetch stage.
  2) During sample point fetching, the new sample point is now cached until it's
     time to read the next sample point. This can sometimes make a very small
     difference for sampledata-changing ProTracker effects (E8x / EFx).
- Removed BLEP'ing of volume changes, as it was no longer needed with the new
  way of doing volume changing, and it saves up some CPU time.

v1.33 - 04.09.2021
- The tracker now uses 2x oversampling and decimation for mixing and filtering,
  for (theoretically) less aliasing.
- Added Amiga 1200 low-pass filter (~34.4kHz, when not in A500 mode). This
  makes sense now, since we have twice the render/filter frequency than before.
- PAT2SMP now renders in higher quality thanks to the new high quality 2x
  decimator routine. Especially noticable in LO mode on high-frequency content.
- The "2x downsample" option while loading samples results in slightly less
  aliasing than before because of the new high quality 2x decimator.
- The MOD2WAV audio rate is now the same as the tracker's audio rate
- Stereo separation now works like it should. The volume is a bit louder than
  before if you increase the separation, but that's expected.
- Removed the hand-made cutoff tweak on the Amiga 500 low-pass filter. It now
  uses the correct nominal cutoff frequency. The RC filter routines have been
  replaced with new ones, and with these I didn't have to tweak the cutoff to
  make it sound similar to an A500 (probably related to filter prewarping?).

v1.32 - 12.08.2021
- Bugfix: If you had accidentally clicked somewhere on the sample data before
  using the "ramp volume" tool, it wouldn't work as expected.
- Bugfix: The BPM was a tiny fraction off because of an off-by-one error in
  the Amiga CIA period -> Hz calculation. The error was about ~0.02%, so it
  would only be measurable when comparing several minutes of recorded audio.

v1.31 - 19.06.2021
- The Disk Op. file sorting routine is now simplified and more ProTracker like
  (names are converted to uppercase before sorting). This affects the sorting.
- Bugfix: Don't allow mouse wheel scrolling while the volume/filter toolbox
  is open (sample editor).

v1.30 - 29.04.2021
- Bugfix: MOD2WAV would in some cases not render the correct amount of data
- Fixed an old PT bug where the pattern editor could sometimes show the next
  pattern's data one tick too early at the end of the pattern.
- Some small code refactoring

v1.29 - 14.03.2021
- Bugfix: Characters A..F were not accepted in the "Mix" text box in Edit Op. #3
- Screensaver is no longer disabled when the program is running

diffstat:

 audio/pt2-clone/Makefile |  21 ++++++++++++++++++---
 audio/pt2-clone/PLIST    |   5 ++++-
 audio/pt2-clone/distinfo |  10 +++++-----
 3 files changed, 27 insertions(+), 9 deletions(-)

diffs (72 lines):

diff -r 201d88ce950a -r 7ad0ceda2968 audio/pt2-clone/Makefile
--- a/audio/pt2-clone/Makefile  Sat Sep 18 08:05:09 2021 +0000
+++ b/audio/pt2-clone/Makefile  Sat Sep 18 08:07:52 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2021/09/08 21:04:57 nia Exp $
+# $NetBSD: Makefile,v 1.8 2021/09/18 08:07:52 nia Exp $
 
-DISTNAME=      pt2-clone-1.28
-PKGREVISION=   1
+DISTNAME=      pt2-clone-1.34
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=8bitbubsy/}
 GITHUB_PROJECT=        pt2-clone
@@ -12,16 +11,32 @@
 COMMENT=       ProTracker 2 clone
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= icoutils-[0-9]*:../../graphics/icoutils
+
 USE_CMAKE=     yes
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
 USE_LANGUAGES= c99 c++
 
+INSTALLATION_DIRS+=    share/applications
 INSTALLATION_DIRS+=    share/examples/pt2-clone
+INSTALLATION_DIRS+=    share/pixmaps
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+
+post-build:
+       icotool -w 48 -x -o ${WRKDIR}/${PKGBASE}.png \
+               ${WRKSRC}/src/gfx/pt2-clone.ico
 
 post-install:
        cd ${WRKSRC} && ${INSTALL_DATA} release/other/protracker.ini \
                ${DESTDIR}${PREFIX}/share/examples/pt2-clone/protracker.ini
+       cd ${FILESDIR} && ${INSTALL_DATA} pt2-clone.desktop \
+               ${DESTDIR}${PREFIX}/share/applications/${PKGBASE}.desktop
+       cd ${FILESDIR} && ${INSTALL_DATA} pt2-clone.1 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${PKGBASE}.1
+       ${INSTALL_DATA} ${WRKDIR}/${PKGBASE}.png \
+               ${DESTDIR}${PREFIX}/share/pixmaps/${PKGBASE}.png
 
 .include "../../devel/SDL2/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 201d88ce950a -r 7ad0ceda2968 audio/pt2-clone/PLIST
--- a/audio/pt2-clone/PLIST     Sat Sep 18 08:05:09 2021 +0000
+++ b/audio/pt2-clone/PLIST     Sat Sep 18 08:07:52 2021 +0000
@@ -1,3 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2021/01/06 00:52:22 js Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/09/18 08:07:52 nia Exp $
 bin/pt2-clone
+man/man1/pt2-clone.1
+share/applications/pt2-clone.desktop
 share/examples/pt2-clone/protracker.ini
+share/pixmaps/pt2-clone.png
diff -r 201d88ce950a -r 7ad0ceda2968 audio/pt2-clone/distinfo
--- a/audio/pt2-clone/distinfo  Sat Sep 18 08:05:09 2021 +0000
+++ b/audio/pt2-clone/distinfo  Sat Sep 18 08:07:52 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2021/01/06 00:52:22 js Exp $
+$NetBSD: distinfo,v 1.2 2021/09/18 08:07:52 nia Exp $
 
-SHA1 (pt2-clone-1.28.tar.gz) = 733f828c13fa350f06b1596b2f8968294fab58a7
-RMD160 (pt2-clone-1.28.tar.gz) = 2e24278071c38c8ca1d5eeb23cb598c519a5f72b
-SHA512 (pt2-clone-1.28.tar.gz) = ce257c7a70d3ba02a7283328a2d71be55c9821b871e1d3279952b80cc6708ae34bba5823686931e6900b8cc10523975f61efeab5008ab5c3bf2976545f6cdfd6
-Size (pt2-clone-1.28.tar.gz) = 7496376 bytes
+SHA1 (pt2-clone-1.34.tar.gz) = faa96c3a0a5ff01a356977f30fca8a28998ee3f7
+RMD160 (pt2-clone-1.34.tar.gz) = 37b8d986ffc31efd8d372d66979e232fdfd1ca96
+SHA512 (pt2-clone-1.34.tar.gz) = 2f3f4c4bedf2b3022134a6a357a8ef19b6fdec39326b1b2037d67097e7209c9e1e1f98fc110677fab0bff7b9030a20417611737d917556372d4ba1e4133f9a93
+Size (pt2-clone-1.34.tar.gz) = 7729618 bytes



Home | Main Index | Thread Index | Old Index