summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-09-18 08:07:52 +0000
committernia <nia@pkgsrc.org>2021-09-18 08:07:52 +0000
commit7a180ea7ee5f93137109933c4c78585c8e50156f (patch)
treec8dc343392307449d92fac6db852efa3b0623cfd /audio
parent87f67f40d0b66bdde0d66393170fbd2450bb8b0a (diff)
downloadpkgsrc-7a180ea7ee5f93137109933c4c78585c8e50156f.tar.gz
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 (limited to 'audio')
-rw-r--r--audio/pt2-clone/Makefile21
-rw-r--r--audio/pt2-clone/PLIST5
-rw-r--r--audio/pt2-clone/distinfo10
3 files changed, 27 insertions, 9 deletions
diff --git a/audio/pt2-clone/Makefile b/audio/pt2-clone/Makefile
index 887100dc5a5..6f00f402675 100644
--- a/audio/pt2-clone/Makefile
+++ b/audio/pt2-clone/Makefile
@@ -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 @@ HOMEPAGE= https://github.com/8bitbubsy/pt2-clone/
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 --git a/audio/pt2-clone/PLIST b/audio/pt2-clone/PLIST
index 5131228e107..056aedd6e72 100644
--- a/audio/pt2-clone/PLIST
+++ b/audio/pt2-clone/PLIST
@@ -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 --git a/audio/pt2-clone/distinfo b/audio/pt2-clone/distinfo
index c48df6006ff..2b435ce7b76 100644
--- a/audio/pt2-clone/distinfo
+++ b/audio/pt2-clone/distinfo
@@ -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