Wed May 26 02:34:02 2021 UTC ()
audio/fasttracker2: Updates to v1.47

Changes since v1.46

v1.47 - xx.05.2021
- Bugfix: The Lxx (Set Envelope Pos) XM effect was broken :(
- Added support for loading FLAC samples (w/ loop/vol./name information)
- Added support for loading '8-bit unsigned/32-bit float/64-bit double' AIFFs
- Added support for loading XMs with ADPCM sample compression (ModPlug Tracker)
- The windowed-sinc LUT now has 8192 phases instead of 4096 for a theoretical
  small interpolation precision improvement.
- Bugfix: Fixed a bug with "Save rng." (Smp. Ed.) related to data after/around
  the loop end point.
- "Save rng." (Smp. Ed.) now asks if you want to overwrite an existing file
- Bugfix: The windowed-sinc interpolation was slightly wrong near the loop-start
  point on looped samples. Was only audible on super-tight loops.
- Mixer now uses 32-bit single-precision floats instead of 64-bit
  double-precision. The error difference in the audio output is +/- 1 (16-bit),
  which is only -90dbFS and not really audible. This should give a performance
  boost for devices that are slow with handling double-precision floats.
- Samples now have units of "samples" instead of bytes (in the sample editor).
  This means that 16-bit samples will show the same numbers as 8-bit samples.
- The sample editor is now drawing interpolated sample points when zoomed in
- Fixed a bug where the "Range" button in Smp. Ed. had problems if you had
  marked sample data after 65535 sample points.
- Fixed a problem where the mouse pointer could be broken in fullscreen mode
  at some screen resolutions (f.ex. 1600x900).
- Windows bugfix: Prevent ever-increasing memory usage while minimized.
  Possibly a bug in SDL_RenderClear(). Might've affected other systems too.
- Bugfix: Exit text edit mode when dropping a file onto the window. Fixes
  possible text cursor overflow issues.
- Bugfix: Some instrument/sample names could contain junk at the end after being
  saved (.XM/.XI).
- Bugfix: If you previously used an audio device that was disconnected before
  starting the program, it will now resort to the default audio device without
  reverting all your audio settings (buffer size, bit depth, frequency).
- Fixed possible crash if a channel's resampling rate/delta was zero (very rare)
- If you copy all the sample data in a sample, it will also copy over the sample
  information (loop, volume, finetune, name etc.) when you paste it to a new
  sample.
- The "Get maximum scale" button in the "Volume" tool in Smp. Ed. will now
  get the actual scale instead of limiting it to the start/end vol max range.
  This means that you need only one pass to normalize the amplitude on a very
  quiet sample.
- The scopes now use linear interpolation for sample points in "Lined" mode
- Fixed a mistake in the S3M importer where "Set speed" commands with a
  parameter of >$1F were removed instead of being clamped.
- Clearing the instrument (numpad delete key) also clears instrument name now
- Added new keybinding: Press Ctrl + "numpad+"/"numpad-" to increase or decrease
  the master volume by 16.
- Updated the help text
- A *lot* of variable/function names have been changed to be easier to understand.
  This causes a mega-commit to the GitHub repo, and I'm sorry for that if you
  have a fork of it that you want to keep updated. :/
- Code cleanup (big one)


(fox)
diff -r1.84 -r1.85 pkgsrc/audio/fasttracker2/Makefile
diff -r1.78 -r1.79 pkgsrc/audio/fasttracker2/distinfo
diff -r1.4 -r1.5 pkgsrc/audio/fasttracker2/patches/patch-CMakeLists.txt

cvs diff -r1.84 -r1.85 pkgsrc/audio/fasttracker2/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/fasttracker2/Makefile 2021/04/06 10:49:29 1.84
+++ pkgsrc/audio/fasttracker2/Makefile 2021/05/26 02:34:02 1.85
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.84 2021/04/06 10:49:29 fox Exp $ 1# $NetBSD: Makefile,v 1.85 2021/05/26 02:34:02 fox Exp $
2 2
3DISTNAME= fasttracker2-1.46 3DISTNAME= fasttracker2-1.47
4CATEGORIES= audio 4CATEGORIES= audio
5MASTER_SITES= ${MASTER_SITE_GITHUB:=8bitbubsy/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=8bitbubsy/}
6GITHUB_PROJECT= ft2-clone 6GITHUB_PROJECT= ft2-clone
7GITHUB_TAG= v${PKGVERSION_NOREV} 7GITHUB_TAG= v${PKGVERSION_NOREV}
8EXTRACT_USING= bsdtar 8EXTRACT_USING= bsdtar
9 9
10MAINTAINER= fox@NetBSD.org 10MAINTAINER= fox@NetBSD.org
11HOMEPAGE= https://16-bits.org/ 11HOMEPAGE= https://16-bits.org/
12COMMENT= Portable Fasttracker II clone in C using SDL 2 12COMMENT= Portable Fasttracker II clone in C using SDL 2
13LICENSE= modified-bsd AND cc-by-nc-sa-v4.0-license 13LICENSE= modified-bsd AND cc-by-nc-sa-v4.0-license
14 14
15USE_LANGUAGES= c99 c++ 15USE_LANGUAGES= c99 c++
16USE_CMAKE= yes 16USE_CMAKE= yes

cvs diff -r1.78 -r1.79 pkgsrc/audio/fasttracker2/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/fasttracker2/distinfo 2021/04/06 10:49:29 1.78
+++ pkgsrc/audio/fasttracker2/distinfo 2021/05/26 02:34:02 1.79
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.78 2021/04/06 10:49:29 fox Exp $ 1$NetBSD: distinfo,v 1.79 2021/05/26 02:34:02 fox Exp $
2 2
3SHA1 (fasttracker2-1.46.tar.gz) = 96ca07ed620f1de3608bbf835982f60581d18b34 3SHA1 (fasttracker2-1.47.tar.gz) = 6c66dbb5c7d12cfb16400516dfe729784ea1094a
4RMD160 (fasttracker2-1.46.tar.gz) = 3499d31f865ff46b79714d541ededc97b2c81b01 4RMD160 (fasttracker2-1.47.tar.gz) = db9fe2d78ed99ef66004c7d312ad663267846951
5SHA512 (fasttracker2-1.46.tar.gz) = 3c2ac372acae7897d85a640323c18c4b10122da7b366d8588ec305d708eb8da26894b5997abed19efff2ee05a1cc6d0ffc5b614777c001f63ce7067e97bf6560 5SHA512 (fasttracker2-1.47.tar.gz) = dfed152b53fa1590ab3d20d1bef803e8e32f213c5751594bac853e6bdda0faffcd14eeb1f51494f1c538b8916f45f160b04069aa9f795f77dc321da25aa535f5
6Size (fasttracker2-1.46.tar.gz) = 5104840 bytes 6Size (fasttracker2-1.47.tar.gz) = 5234480 bytes
7SHA1 (patch-CMakeLists.txt) = ba28fd3ff8827214e3bb96271a245b1f3287a63d 7SHA1 (patch-CMakeLists.txt) = 4c4e222e99bfce39dc0394e68807fdd0dcc80886

cvs diff -r1.4 -r1.5 pkgsrc/audio/fasttracker2/patches/patch-CMakeLists.txt (expand / switch to unified diff)

--- pkgsrc/audio/fasttracker2/patches/patch-CMakeLists.txt 2021/04/06 10:49:29 1.4
+++ pkgsrc/audio/fasttracker2/patches/patch-CMakeLists.txt 2021/05/26 02:34:02 1.5
@@ -1,17 +1,27 @@ @@ -1,17 +1,27 @@
1$NetBSD: patch-CMakeLists.txt,v 1.4 2021/04/06 10:49:29 fox Exp $ 1$NetBSD: patch-CMakeLists.txt,v 1.5 2021/05/26 02:34:02 fox Exp $
2 2
3Only define __LINUX_ALSA__ on Linux. 3Only define __LINUX_ALSA__ on Linux.
4 4
5--- CMakeLists.txt.orig 2021-04-02 09:54:11.000000000 +0000 5--- CMakeLists.txt.orig 2021-05-23 18:35:57.000000000 +0000
6+++ CMakeLists.txt 6+++ CMakeLists.txt
7@@ -26,7 +26,9 @@ endif() 7@@ -29,10 +29,16 @@ endif()
8  
9 target_link_libraries(ft2-clone 8 target_link_libraries(ft2-clone
10 PRIVATE m asound pthread ${SDL2_LIBRARIES}) 9 PRIVATE m asound pthread ${SDL2_LIBRARIES})
11-target_compile_definitions(ft2-clone PRIVATE __LINUX_ALSA__) 10
12+if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") 11-target_compile_definitions(ft2-clone
13+ target_compile_definitions(ft2-clone PRIVATE __LINUX_ALSA__) 12- PRIVATE HAS_MIDI
 13- PRIVATE __LINUX_ALSA__
 14- PRIVATE HAS_LIBFLAC)
 15+if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
 16+ target_compile_definitions(ft2-clone
 17+ PRIVATE HAS_MIDI
 18+ PRIVATE __LINUX_ALSA__
 19+ PRIVATE HAS_LIBFLAC)
 20+else()
 21+ target_compile_definitions(ft2-clone
 22+ PRIVATE HAS_MIDI
 23+ PRIVATE HAS_LIBFLAC)
14+endif() 24+endif()
15  25
16 install(TARGETS ft2-clone 26 install(TARGETS ft2-clone
17 RUNTIME DESTINATION bin ) 27 RUNTIME DESTINATION bin)