synthv1-1.3.1/PaxHeaders/CMakeLists.txt 0000644 0000000 0000000 00000000132 14773433652 014764 x ustar 00 30 mtime=1743665066.064148084
30 atime=1743665066.064148084
30 ctime=1743665066.064148084
synthv1-1.3.1/CMakeLists.txt 0000644 0001750 0000144 00000027351 14773433652 014764 0 ustar 00rncbc users cmake_minimum_required (VERSION 3.15)
project (synthv1
VERSION 1.3.1
DESCRIPTION "an old-school polyphonic synthesizer"
HOMEPAGE_URL "https://synthv1.sourceforge.io"
LANGUAGES C CXX)
set (PROJECT_COPYRIGHT "Copyright (C) 2012-2025, rncbc aka Rui Nuno Capela. All rights reserved.")
set (PROJECT_DOMAIN "rncbc.org")
execute_process (
COMMAND git describe --tags --dirty --abbrev=6
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_DESCRIBE_OUTPUT
RESULT_VARIABLE GIT_DESCRIBE_RESULT
OUTPUT_STRIP_TRAILING_WHITESPACE)
if (GIT_DESCRIBE_RESULT EQUAL 0)
set (GIT_VERSION "${GIT_DESCRIBE_OUTPUT}")
string (REGEX REPLACE "^[^0-9]+" "" GIT_VERSION "${GIT_VERSION}")
string (REGEX REPLACE "-g" "git." GIT_VERSION "${GIT_VERSION}")
string (REGEX REPLACE "[_|-]" "." GIT_VERSION "${GIT_VERSION}")
execute_process (
COMMAND git rev-parse --abbrev-ref HEAD
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_REVPARSE_OUTPUT
RESULT_VARIABLE GIT_REVPARSE_RESULT
OUTPUT_STRIP_TRAILING_WHITESPACE)
if (GIT_REVPARSE_RESULT EQUAL 0 AND NOT GIT_REVPARSE_OUTPUT STREQUAL "main")
set (GIT_VERSION "${GIT_VERSION} [${GIT_REVPARSE_OUTPUT}]")
endif ()
set (PROJECT_VERSION "${GIT_VERSION}")
endif ()
if (CMAKE_BUILD_TYPE MATCHES "Debug")
set (CONFIG_DEBUG 1)
set (CONFIG_BUILD_TYPE "debug")
else ()
set (CONFIG_DEBUG 0)
set (CONFIG_BUILD_TYPE "release")
set (CMAKE_BUILD_TYPE "Release")
endif ()
set (CONFIG_PREFIX "${CMAKE_INSTALL_PREFIX}")
include (GNUInstallDirs)
set (CONFIG_BINDIR "${CONFIG_PREFIX}/${CMAKE_INSTALL_BINDIR}")
set (CONFIG_LIBDIR "${CONFIG_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
set (CONFIG_DATADIR "${CONFIG_PREFIX}/${CMAKE_INSTALL_DATADIR}")
set (CONFIG_MANDIR "${CONFIG_PREFIX}/${CMAKE_INSTALL_MANDIR}")
# Enable JACK standalone build.
option (CONFIG_JACK "Enable JACK stand-alone build (default=yes)" 1)
# Enable JACK session support.
option (CONFIG_JACK_SESSION "Enable JACK session support (default=yes)" 1)
# Enable JACK MIDI support option.
option (CONFIG_JACK_MIDI "Enable JACK MIDI support (default=yes)" 1)
# Enable ALSA MIDI support option.
option (CONFIG_ALSA_MIDI "Enable ALSA MIDI support (default=yes)" 1)
# Enable LV2 plugin build.
option (CONFIG_LV2 "Enable LV2 plug-in build (default=yes)" 1)
if (WIN32)
option (CONFIG_LV2_UI_WINDOWS "Enable LV2 plug-in Windows UI support (default=yes)" 1)
# Windows install target path.
set (CONFIG_WINDOWS_LV2_PATH "$ENV{SYSTEMDRIVE}/Program Files/Common Files/LV2" CACHE STRING "Specify Windows LV2 install path")
else ()
option (CONFIG_LV2_UI_X11 "Enable LV2 plug-in X11 UI support (default=yes)" 1)
endif ()
option (CONFIG_LV2_UI_EXTERNAL "Enable LV2 plug-in External UI support (default=yes)" 1)
option (CONFIG_LV2_UI_IDLE "Enable LV2 UI Idle interface support (default=yes)" 1)
option (CONFIG_LV2_UI_SHOW "Enable LV2 UI Show interface support (default=yes)" 1)
option (CONFIG_LV2_UI_RESIZE "Enable LV2 UI Resize interface support (default=yes)" 1)
option (CONFIG_LV2_PROGRAMS "Enable LV2 plug-in Programs support (default=yes)" 1)
option (CONFIG_LV2_PATCH "Enable LV2 plug-in Patch support (default=yes)" 1)
option (CONFIG_LV2_PORT_EVENT "Enable LV2 plug-in Port-event support (default=yes)" 1)
option (CONFIG_LV2_PORT_CHANGE_REQUEST "Enable LV2 plug-in Port-change request support (default=yes)" 1)
# Enable liblo availability.
option (CONFIG_LIBLO "Enable liblo interface (default=yes)" 1)
# Enable NSM support.
option (CONFIG_NSM "Enable NSM support (default=yes)" 1)
# Enable Wayland support option.
option (CONFIG_WAYLAND "Enable Wayland support (EXPERIMENTAL) (default=no)" 0)
# Enable Qt6 build preference.
option (CONFIG_QT6 "Enable Qt6 build (default=yes)" 1)
# Fix for new CMAKE_REQUIRED_LIBRARIES policy.
if (POLICY CMP0075)
cmake_policy (SET CMP0075 NEW)
endif ()
# Fix for CXX_VISIBILITY_PRESET policy.
if (POLICY CMP0063)
cmake_policy (SET CMP0063 NEW)
set (CMAKE_CXX_VISIBILITY_PRESET hidden)
set (CMAKE_VISIBILITY_INLINES_HIDDEN 1)
endif ()
# Check for Qt...
if (CONFIG_QT6)
find_package (Qt6 QUIET)
if (NOT Qt6_FOUND)
set (CONFIG_QT6 0)
endif ()
endif ()
if (CONFIG_QT6)
find_package (QT QUIET NAMES Qt6)
else ()
find_package (QT QUIET NAMES Qt5)
endif ()
find_package (Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Gui Widgets Xml Svg)
#find_package (Qt${QT_VERSION_MAJOR}LinguistTools)
include (CheckIncludeFile)
include (CheckIncludeFiles)
include (CheckIncludeFileCXX)
include (CheckFunctionExists)
include (CheckLibraryExists)
# Make sure we get some subtle optimizations out there...
add_compile_options (-ffast-math)
# Checks for header files.
if (UNIX AND NOT APPLE)
check_include_files ("fcntl.h;unistd.h;signal.h" HAVE_SIGNAL_H)
endif ()
# Find package modules
include (FindPkgConfig)
# Check for JACK libraries.
if (CONFIG_JACK)
pkg_check_modules (JACK IMPORTED_TARGET jack>=0.100.0)
if (JACK_FOUND)
find_library (JACK_LIBRARY NAMES ${JACK_LIBRARIES} HINTS ${JACK_LIBDIR})
endif ()
if (JACK_LIBRARY)
set (CONFIG_JACK 1)
set (CMAKE_REQUIRED_LIBRARIES "${JACK_LIBRARY};${CMAKE_REQUIRED_LIBRARIES}")
# Check for JACK MIDI headers availability.
if (CONFIG_JACK_MIDI)
check_include_file (jack/midiport.h HAVE_JACK_MIDIPORT_H)
if (NOT HAVE_JACK_MIDIPORT_H)
set (CONFIG_JACK_MIDI 0)
endif ()
endif ()
# Check for JACK session headers availability.
if (CONFIG_JACK_SESSION)
check_include_file (jack/session.h HAVE_JACK_SESSION_H)
if (NOT HAVE_JACK_SESSION_H)
set (CONFIG_JACK_SESSION 0)
endif ()
endif ()
# Check for JACK session event callback availability.
if (CONFIG_JACK_SESSION)
check_function_exists (jack_set_session_callback CONFIG_JACK_SESSION)
endif ()
# Check for ALSA libraries.
if (CONFIG_ALSA_MIDI)
pkg_check_modules (ALSA IMPORTED_TARGET alsa)
if (ALSA_FOUND)
find_library (ALSA_LIBRARY NAMES ${ALSA_LIBRARIES} HINTS ${ALSA_LIBDIR})
endif ()
if (ALSA_LIBRARY)
set (CONFIG_ALSA_MIDI 1)
#set (CMAKE_REQUIRED_LIBRARIES "${ALSA_LIBRARY};${CMAKE_REQUIRED_LIBRARIES}")
else ()
message (WARNING "*** ALSA library not found.")
endif ()
endif ()
else ()
message (WARNING "*** JACK library not found.")
set (CONFIG_JACK 0)
endif ()
endif ()
if (NOT CONFIG_JACK)
set (CONFIG_JACK_SESSION 0)
set (CONFIG_JACK_MIDI 0)
set (CONFIG_ALSA_MIDI 0)
set (CONFIG_LIBLO 0)
set (CONFIG_NSM 0)
endif ()
# Check for LIBLO libraries.
if (CONFIG_LIBLO)
pkg_check_modules (LIBLO IMPORTED_TARGET liblo)
if (NOT LIBLO_FOUND)
message (WARNING "*** LIBLO library not found.")
set (CONFIG_LIBLO 0)
endif ()
endif ()
# Check for LV2 support.
if (CONFIG_LV2)
pkg_check_modules (LV2 lv2)
if (LV2_FOUND)
include_directories (${LV2_INCLUDE_DIRS})
# Check for LV2 old/new headers style.
check_include_file (lv2/urid/urid.h HAVE_LV2_URID_H)
if (NOT HAVE_LV2_URID_H)
check_include_file (lv2/lv2plug.in/ns/ext/urid/urid.h HAVE_OLD_LV2_URID_H)
if (NOT HAVE_OLD_LV2_URID_H)
set (CONFIG_LV2 0)
else ()
set (CONFIG_LV2_OLD_HEADERS 1)
endif ()
else ()
set (CONFIG_LV2_OLD_HEADERS 0)
endif ()
endif ()
if (NOT CONFIG_LV2)
message (WARNING "*** LV2 SDK not found.")
endif ()
endif ()
if (CONFIG_LV2)
# Check for LV2 Atom support.
if (CONFIG_LV2_OLD_HEADERS)
check_include_file (lv2/lv2plug.in/ns/ext/atom/atom.h HAVE_LV2_ATOM_H)
else ()
check_include_file (lv2/atom/atom.h HAVE_LV2_ATOM_H)
endif ()
if (NOT HAVE_LV2_ATOM_H)
set (CONFIG_LV2_ATOM 0)
else ()
set (CONFIG_LV2_ATOM 1)
endif ()
set (CONFIG_LV2_ATOM_FORGE_OBJECT ${CONFIG_LV2_ATOM})
set (CONFIG_LV2_ATOM_FORGE_KEY ${CONFIG_LV2_ATOM})
# Check for LV2 UI support.
if (CONFIG_LV2_OLD_HEADERS)
check_include_file (lv2/lv2plug.in/ns/extensions/ui/ui.h HAVE_LV2_UI_H)
else ()
check_include_file (lv2/ui/ui.h HAVE_LV2_UI_H)
endif ()
if (NOT HAVE_LV2_UI_H)
set (CONFIG_LV2_UI 0)
else ()
set (CONFIG_LV2_UI 1)
endif ()
if (NOT CONFIG_LV2_UI)
set (CONFIG_LV2_UI_X11 0)
set (CONFIG_LV2_UI_WINDOWS 0)
set (CONFIG_LV2_UI_EXTERNAL 0)
set (CONFIG_LV2_UI_IDLE 0)
set (CONFIG_LV2_UI_SHOW 0)
set (CONFIG_LV2_UI_RESIZE 0)
endif ()
endif ()
# Check for LV2 headers.
if (CONFIG_LV2)
set (LV2_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/src/lv2)
set (CMAKE_REQUIRED_INCLUDES "${LV2_INCLUDES};${CMAKE_REQUIRED_INCLUDES}")
include_directories (${LV2_INCLUDES})
if (CONFIG_LV2_OLD_HEADERS)
set (CMAKE_REQUIRED_DEFINITIONS "-DCONFIG_LV2_OLD_HEADERS;${CMAKE_REQUIRED_DEFINITIONS}")
endif ()
else ()
set (CONFIG_LV2_UI_X11 0)
set (CONFIG_LV2_UI_WINDOWS 0)
set (CONFIG_LV2_UI_EXTERNAL 0)
set (CONFIG_LV2_UI_IDLE 0)
set (CONFIG_LV2_UI_SHOW 0)
set (CONFIG_LV2_UI_RESIZE 0)
set (CONFIG_LV2_PROGRAMS 0)
set (CONFIG_LV2_PATCH 0)
set (CONFIG_LV2_PORT_EVENT 0)
set (CONFIG_LV2_PORT_CHANGE_REQUEST 0)
endif ()
if (CONFIG_LV2_UI_EXTERNAL)
check_include_file (lv2_external_ui.h HAVE_LV2_EXTERNAL_UI_H)
if (NOT HAVE_LV2_EXTERNAL_UI_H)
set (CONFIG_LV2_UI_EXTERNAL 0)
endif ()
endif ()
if (CONFIG_LV2_PROGRAMS)
check_include_file (lv2_programs.h HAVE_LV2_PROGRAMS_H)
if (NOT HAVE_LV2_PROGRAMS_H)
set (CONFIG_LV2_PROGRAMS 0)
endif ()
endif ()
if (CONFIG_LV2_PATCH)
if (CONFIG_LV2_OLD_HEADERS)
check_include_file (lv2/lv2plug.in/ns/ext/patch/patch.h HAVE_LV2_PATCH_H)
else ()
check_include_file (lv2/patch/patch.h HAVE_LV2_PATCH_H)
endif ()
if (NOT HAVE_LV2_PATCH_H)
set (CONFIG_LV2_PATCH 0)
endif ()
endif ()
if (CONFIG_LV2_PORT_CHANGE_REQUEST)
check_include_file (lv2_port_change_request.h HAVE_LV2_PORT_CHANGE_REQUEST_H)
if (NOT HAVE_LV2_PORT_CHANGE_REQUEST_H)
set (CONFIG_LV2_PORT_CHANGE_REQUEST 0)
endif ()
endif ()
add_subdirectory (src)
# Finally check whether Qt is statically linked.
if (QT_FEATURE_static)
set(QT_VERSION "${QT_VERSION}-static")
endif ()
# Configuration status
macro (SHOW_OPTION text value)
if (${value})
message ("${text}: yes")
else ()
message ("${text}: no")
endif ()
endmacro ()
message ("\n ${PROJECT_NAME} ${PROJECT_VERSION} (Qt ${QT_VERSION})")
message ("\n Build target . . . . . . . . . . . . . . . . . . .: ${CONFIG_BUILD_TYPE}\n")
show_option (" JACK stand-alone build . . . . . . . . . . . . . ." CONFIG_JACK)
show_option (" JACK session support . . . . . . . . . . . . . . ." CONFIG_JACK_SESSION)
show_option (" JACK MIDI support . . . . . . . . . . . . . . . ." CONFIG_JACK_MIDI)
show_option (" ALSA MIDI support . . . . . . . . . . . . . . . ." CONFIG_ALSA_MIDI)
show_option (" LV2 plug-in build . . . . . . . . . . . . . . . ." CONFIG_LV2)
if (WIN32)
show_option (" LV2 plug-in Windows UI support . . . . . . . . ." CONFIG_LV2_UI_WINDOWS)
else ()
show_option (" LV2 plug-in X11 UI support . . . . . . . . . . ." CONFIG_LV2_UI_X11)
endif ()
show_option (" LV2 plug-in External UI support . . . . . . . . ." CONFIG_LV2_UI_EXTERNAL)
show_option (" LV2 plug-in UI Idle interface support . . . . . ." CONFIG_LV2_UI_IDLE)
show_option (" LV2 plug-in UI Show interface support . . . . . ." CONFIG_LV2_UI_SHOW)
show_option (" LV2 plug-in UI Resize interface support . . . . ." CONFIG_LV2_UI_RESIZE)
show_option (" LV2 plug-in Programs support . . . . . . . . . . ." CONFIG_LV2_PROGRAMS)
show_option (" LV2 plug-in Patch support . . . . . . . . . . . ." CONFIG_LV2_PATCH)
show_option (" LV2 plug-in Port-event support . . . . . . . . . ." CONFIG_LV2_PORT_EVENT)
show_option (" LV2 plug-in Port-change request . . . . . . . . ." CONFIG_LV2_PORT_CHANGE_REQUEST)
show_option (" OSC service support (liblo) . . . . . . . . . . ." CONFIG_LIBLO)
show_option (" Non/New Session Management (NSM) support . . . . ." CONFIG_NSM)
message ("\n Install prefix . . . . . . . . . . . . . . . . . .: ${CONFIG_PREFIX}\n")
synthv1-1.3.1/PaxHeaders/ChangeLog 0000644 0000000 0000000 00000000132 14773433652 013776 x ustar 00 30 mtime=1743665066.064148084
30 atime=1743665066.064148084
30 ctime=1743665066.064148084
synthv1-1.3.1/ChangeLog 0000644 0001750 0000144 00000062343 14773433652 013776 0 ustar 00rncbc users synthv1 - an old-school polyphonic synthesizer
----------------------------------------------
ChangeLog
1.3.1 2025-04-03 An Early Spring'25 Release.
- Fixed command line parsing (QCommandLineParser/Option) to not
exiting the application with a segfault when showing help and
version information.
1.3.0 2025-01-16 A New-Year'25 Release.
- Just another Vee-One's release for the New Year...
1.2.0 2024-12-15 An End-of-Year'24 Release.
- Configure/Tuning: fixed initial scale and keyboard map tooltips.
1.1.3 2024-10-31 A Halloween'24 Release.
- Prepping up next development cycle (Qt >= 6.8)
1.1.2 2024-10-02 An Early-Fall'24 Release.
- Configure: disable widget style option on LV2 plug-ins only,
for which it wasn't working on the JACK stand-alones either.
1.1.1 2024-09-20 An End-ofSummer'24 Release.
- NSM: prevent loading any preset(s) given on command line.
1.1.0 2024-08-28 A Mid-Summer'24 Release.
- LV2 Plug-in Control Input Port-Change Request extension is not
tagged experimental anymore.
1.0.0 2024-06-20 An Unthinkable Release.
- Making up the unthinkable (aka. v1.0.0)
0.9.91 2024-05-02 A Spring'24 Release Candidate 2.
- Prepping the unthinkable (aka. v1.0.0-rc2)
- Updated to latest framework level (Qt >= 6.7)
0.9.90 2024-04-11 A Spring'24 Release Candidate.
- Prepping the unthinkable (aka. v1.0.0-rc1)
- Custom color themes are now file based (*.conf); legacy still
preserved ntl.
- Fixed the build checks on whether to use old or newer style of
LV2 include headers.
0.9.34 2024-01-26 A Winter'24 Release.
- Added build checks on whether to use old or newer style of LV2
include headers.
- LV2 plugin Control Input Port-change request extension feature
support added.
- Updated copyright headers into the New Year (2024).
0.9.33 2023-12-20 An End-of-Autumn'23 Release.
- Minor optimization to denormal avoidance on some fx's.
- Bumping into next development cycle (Qt >= 6.6)
0.9.32 2023-09-12 An End-of-Summer'23 Release.
- Preppings to next development cycle (Qt >= 6.6)
0.9.31 2023-06-06 A Spring'23 Release.
- Make sure the XCB interface is in use when instantiating the
LV2 plugin on non-Qt hosts, allowing LV2 X11 UI embedding to
work and show up properly.
- Prepping into the next development cycle (with Qt >= 6.5).
0.9.30 2023-03-24 An Early-Spring'23 Release.
- Restrict to existing named presets when adding new or editing
programs; load and restore presets directly when previewing
programs (cf. Configure... > Programs).
- NSM open and save operation failures are now replied with an
error status (was always OK before).
- JACK client watchdog introduced for automatic reactivation and
resilience (standalone only).
- NSM announcement reply/error messages now relegated to debug
builds only.
0.9.29 2023-01-25 A Winter'23 Release.
- Bumping copyright headers to the brand new year.
0.9.28 2022-12-29 An End-of-Year'22 Release.
- Mitigate NSM sending lots of dirty messages on SIGTERM signal.
- Although being deprecated to use, JACK Session support hopefuly
fixed once again.
0.9.27 2022-10-04 An Early-Autumn'22 Release.
- Fixed MIDI Controller... modeless dialog (de)instantiation.
- Custom color/style themes applies only to main widget only.
- Fixed typos and updated some old MIDI GM2 Controller names.
0.9.26 2022-06-07 An End-of-Sping'22 Release.
- Corrected an incredible mistake introduced in the last year's
Glide/portamento protential crash fix.
- Added Qt::Svg module as required at build time.
0.9.25 2022-04-07 A Spring'22 Release.
- Added missing file code to desktop exec entry (standalone only).
- Main application icon is now presented in scalable format (SVG).
- Migrated command line parsing to QCommandLineParser/Option
(Qt >= 5.2)
- Avoid issuing NSM dirty messages as much as possible.
0.9.24 2022-01-09 A Winter'22 Release.
- Dropped autotools (autoconf, automake, etc.) build system.
- Fixed deprecate warnings in preparation for Qt >= 6.2.
0.9.23 2021-07-07 An Early-Summer'21 Release.
- Fixed some ages old Glide/portamento potential crash bug
(reported by AnClark).
- Add support for LV2 UI Windows platform (by AnClark).
- Sustenuto pedal controller (MIDI CC#66) is now implemented.
- Have some tolerance for buffer-size changes.
- All builds default to Qt6 (Qt >= 6.1) where available.
- CMake is now the official build system.
0.9.22 2021-05-13 A Spring'21 Release.
- All packaging builds switching to CMake.
0.9.21 2021-03-16 An End-of-Winter'21 Release.
- Fixed an old lurker, causing slight differences to voice
on-sets, due to a wrong initial LFO Volume ramping value.
- Slightly improved eye-candyness to all graphic widgets,
most especially on the EG widget handling, curved lines
and gradient fills.
0.9.20 2021-02-10 A Winter'21 Release.
- When under under the NSM auspices, fix SIGTERM handler
on exit and just hide the main-window on close (applies
to the JACK stand-alone only).
0.9.19 20220-12-19 A Winter'20 Release.
- Fixed display of old knob/dial values on status-bar.
- Reduced formant filter coefficient slew rate, aiming
to a tenfold DSP performance gain.
- Get a chance on bringing Wayland into the picture when
dealing Qt static-linked deliverables.
0.9.18 2020-10-27 A Fall'20 Release.
- Upstream package naming for the JACK standalone and LV2
plugin deliverables are suffixed to '-jack' and '-lv2',
respectively.
- White keys on the virtual piano keyboard are now fully
highlighted.
0.9.17 2020-09-08 Late Summer'10 Release.
- Added -n, --client-name to the JACK stand-alone client
application command line option arguments.
- Fixed unitialized number of voices variable; early-bird
adaptations to Qt6 >= 6.0.0 and C++17 standard.
0.9.16 2020-08-06 A Summer'20 Release.
- Fixed deprecated stuff on an early preparation for Qt6.
0.9.15 2020-06-22 An Early-Summer'20 Release.
- A long awaited expedite "Panic" button is now featured.
- Note velocity doesn't affect DCF envelope anymore.
- Avoid glib event-loop upon LV2 plug-in instantiation.
0.9.14 2020-05-05 A Mid-Spring'20 Release.
- Fixed initial DCF1, LFO1 group enablement (GUI).
- Fixed initial window title for the LV2 External UI.
- LV2 Atom/Port-event host notification support has been
implemented (unofficial).
- Prevent execution of duplicate or redundant MIDI bank-
select/program-change commands.
- Early fixing to build for Qt >= 5.15.0.
0.9.13 2020-03-26 A Spring'20 Release.
- Maximum pitch-bend range has been expanded to 0..400%,
allegedly to support some PME driven instruments (as
kindly requested by sacarlson PR#10).
- Make man page compression reproducible (after request
by Jelle van der Waa, thanks).
- Fixed crash when showing the tooltip of a negative note
number that results from dragging over and beyond the
left edge of the virtual piano keyboard.
- Remove -v (verbose) flag from 'strip' post-link command.
- Fixed CMake build by adding missing Custom Color Theme
(palette) form file (.ui).
- Bumped copyright headers into the New Year (2020).
0.9.12 2019-12-26 The Winter'19 Release.
- Custom color (palette) theme editor introduced; color
(palette) theme changes are now effective immediately,
except on default.
- Second attempt to fix the yet non-official though
CMake build configuration.
- Move QApplication construction/destruction from LV2 UI
to plug-in instantiation and cleanup.
0.9.11 2019-10-31 A Halloween'19 Release.
- When using autotools and ./configure --with-qt=...,
it is also necessary to adjust the PKG_CONFIG_PATH
environment variable (after a merge request by plcl
aka. Pedro López-Cabanillas, while on qmidinet).
- Upstream packaging is now split to JACK standalone and
LV2 plugin only: the former shared common core and UI
package is now duplicated but statically linked though.
0.9.10 2019-09-24 An Early-Fall'19 Release.
- Upstream packaging is now split on JACK standalone,
LV2 plugin and common core and UI packages, similar
to recent Debian practice.
- Added alternate yet non-official CMake build option.
- Fix HiDPI display screen effective support (Qt >= 5.6).
- All randomizers now compliant to the standard normal
distribution.
- Make sure compiler flags comply to c++11 as standard.
0.9.9 2019-07-18 A Summer'19 Release.
- Randomization of current parameters is now available
through a new top-level push-button.
- Updated for the newer Qt5 development tools (>= 5.13).
- Per instance custom tuning (micro-tonal) option has
been added to the previously existing global settings
(cf. Help > Configure... > Tuning > Global, Instance).
- New DCF and LFO Enabled parameters.
- Configure updated to check for qtchooser availability.
0.9.8 2019-06-06 A Spring'19 Release.
- Improved slew-rate to DCF Formant coefficient updates.
- Refactored the LFO Sync for correctness.
- Fixed all LFO Panning and Volume modulation, now being
correctly isolated on a per voice basis.
- Fixed DC offset on all main DCO wavetable oscillators.
- Fixed initial DCO and LFO wave shapes on LV2 plug-in UI.
- Minor update to Debian packaging control file.
0.9.7 2019-04-14 A Spring-Break'19 Release.
- All audio input now get through without being processed
by any or whole effects stage anymore.
- Re-defined all JACK stand-alone client application UNIX
signal handling.
0.9.6 2019-03-18 Pre-LAC2019 Release Frenzy.
- A gentlier shutdown for the JACK client standalone client.
0.9.5 2019-03-04 The End of Winter'19 release.
- HiDPI display screen support (Qt >= 5.6).
- A fake/visual piano-keyboard widget is now being introduced
to the status bar.
- Avoid destructing the possibly shared QApplication instance
on LV2 plug-in UI clean-up.
0.9.4 2018-12-12 A Late Autumn'18 release.
- Old deprecated Qt4 build support is no more.
- Normalized wavetable oscillator phasors.
- Added missing include to shut up some stricter
compilers from build failures.
0.9.3 2018-10-22 An Autumn'18 release.
- For safety reasons, all processing is now suspended while
loading presets or program changes are issued.
- AppStream metadata updated to be the most compliant with
latest freedesktop.org specification and recommendation.
- SIGTERM (and SIGINT) signal handler added to close the JACK
stand-alone client applications properly.
- Make the GUI not to show initially on NSM.
- Make NSM state independent to session display name, keeping
backward compatibility for old sessions.
- Give some more slack to schedule/worker thread ring-buffer.
0.9.2 2018-07-24 A Summer'18 release.
- Add LV2 UI Resize extension data support.
- Process MIDI Controlllers even though the channel filter
is on (DEF Channel is set anything but "Omni").
- AppData/AppStream metadata is now settled under an all
permisssive license (FSFAP).
0.9.1 2018-06-26 An Early Summer'18 release.
- Fixed for some g++ >= 8.1.1 warnings and quietness.
- Added LV2 UI X11 support option.
- Disable reference micro-tuning settings when a Scala
keyboard map override is in effect.
- Added "All files (*.*)" filter to every file requestor
dialog, wherever missing.
0.9.0 2018-03-07 The End of Winter'18 release.
- Introducing Scala micro-tuning classes, borrowed, stirred
and refactored from original Nick Dowell's amsynth code,
all under the GPL umbrella, of course.
- An internal note-key/frequency indirection table is now in
place, as a baseline for any micro-tuning implementations.
- Whether to use native file browser/requester dialogs is
now an effective option when launching under NSM session
management (was once disabled initially).
- Trying to get CC14 MSB+LSB (course+fine) running status on,
no matter whether each pairing event are under 200ms apart.
- A little hardening on the configure (autoconf) macro side.
0.8.6 2017-12-20 The End of Autumn'17 release.
- Sync option added to DCO wavetable oscillators, as for
making either one to hard-sync (slave) with the other
one (master) in each pair.
- Set on a minimum attack time of 500usec as much to prevent
audible clicking on low-pitched notes.
0.8.5 2017-10-29 An Autumn'17 release.
- Opening multiple preset files is now possible, populating
the preset drop-down listing, while only the first one is
loaded effectively into the scene as usual.
- Mono(phonic) "Legato" mode option introduced.
- Desktop entry specification file is now finally independent
from all build/configure template chains, whatever.
- Updated target path for freedesktop.org's AppStream metainfo
file (formerly AppData).
0.8.4 2017-08-22 A Late-Summer'17 release.
- Disabled "Custom style theme" option on LV2 plug-in form.
- Brand new LFO Balance parameter introduced.
0.8.3 2017-06-21 A Summer'17 release.
- Added StartupWMClass entry to desktop file.
- Long overdue, some brand new and fundamental icons revamp.
0.8.2 2017-05-02 Pre-LAC2017 release frenzy.
- A custom knob/spin-box behavioral option have been added:
Configure/Knob edit mode, as to avoid abrupt changes upon
editing values (still the default behavior) and only take
effect (Deferred) when enter is pressed or the spin-box
loses focus.
- The main GUI has been partially revamped, after replacing
some rotary knob/dial combos with kinda more skeuomorphic
fake-LED radio-buttons or check-boxes.
- Alias-free/band-limited wavetable oscillators have been
fixed to prevent cross-octave, polyphonic interference.
- A MIDI In(put) status fake-LED is now featured on the
bottom-left status bar, adding up to eye-candy as usual.
0.8.1 2017-03-21 A Spring'17 release.
- Fixed a probable old miss about changing spin-box and
drop-down list not reflecting changes immediately into
the respective parameter dial knobs.
- Fixed middle-button clicking on the dial-knobs to reset
to the current default parameter value.
- Help/Configure.../Options/Use desktop environment native
dialogs option is now set initially off by default.
- Added French man page (by Olivier Humbert, thanks).
- Make builds reproducible byte for byte, by getting rid of
the configure build date and time stamps.
0.8.0 2016-11-17 A Fall'16 release.
- LV2_STATE__StateChanged is now transmitted as a regular
atom notification event, as far as to give some careful
hosts enough slack to raise a dirty flag.
- Fixed input MIDI RPN/NRPN running status processing.
- Almost complete overhaul on the configure script command
line options, wrt. installation directories specification,
eg. --prefix, --bindir, --libdir, --datadir and --mandir.
0.7.6 2016-09-19 The Eleventh official beta.
- MIDI RPN/NRPN running status and RPN NULL reset command
are now supported (input only).
- The core engine implementation is now delivered as a shared
object library, common to both the JACK stand-alone client
and the LV2 instrument plug-in.
- Discretely fixed MIDI Controlllers catch-up algorithm.
0.7.5 2016-06-16 The Tenth official beta.
- All changes to most continuous parameter values are now
smoothed to a fast but finite slew rate.
- All BPM sync options to current transport (Auto) have been
refactored to new special minimum value (which is now zero).
- In compliance to the LV2 spec. MIDI Controllers now affect
cached parameter values only, via shadow ports, instead of
input control ports directly, mitigating their read-only
restriction.
- Make sure LV2 plug-in state is properly reset on restore.
- Dropped the --enable-qt5 from configure as found redundant
given that's the build default anyway (suggestion by Guido
Scholz, while for Qtractor, thanks).
0.7.4 2016-03-02 The ninth-bis official beta.
- Fixed the DCF Formant filter voice initialization reset.
0.7.3 2016-02-22 The ninth official beta.
- Avoid out-of-bound MIDI events as much as possible, coping
with LV2 plug-in hosts that feed/run them in on border line
circumstances (as reported by Thorsten Wilms, on suspected
Ardour looping crash/bug, probably fixed already, thanks).
- Safe defaults are tentatively sbeing introduced to internal
OUT FX buffer-sizes, as read from JACK buffer-size changes
and LV2 block-length instantiation bound options.
- Added application keywords to freedesktop.org's AppData.
0.7.2 2015-12-04 The eighth official beta.
- A brand new LFO BPM control parameter is being introduced,
as a subordinate to LFO Rate, with follow/sync to current
transport/host option (BPM=Auto).
- LFO Sync (free running) mode option has been introduced.
- A fourth DCF type has been added: a vocal Formant filter.
- A third DCF slope/type has been added: the RBJ's bi-quad.
- Prefer Qt5 over Qt4 by default with configure script.
- Introducing brand new OUT FX Send parameter per engine.
- Introducing brand new DCO, LFO Ring Mod(ulator) parameters.
- Special value (0=Off) added to DCO1,2 Glide knob spin-boxes.
0.7.1 2015-08-24 A seventh-bis official beta.
- Improved Qt4 vs. Qt5 configure builds (via qmake).
0.7.0 2015-07-24 A seventh official beta.
- Complete rewrite of Qt4 vs. Qt5 configure builds.
- Reset ramps after LV2 control port reconnection; small fixes
to LV2.ttl (pull-requests by Hanspeter Portner aka. ventosus,
thanks).
- MIDI Controllers/Programs is now an optional feature on the
LV2 plugin forms, as some LV2 hosts might enforce the purity
restriction to input control ports as being absolutely read-
only parameter values from a plugin's instance perspective.
- MIDI Controller mapping/learn is now possible on all parameter
control knobs; with global configuration also avaiable on the
Help/Configure dialog.
- French (fr) translation line to desktop file added (by Olivier
Humbert, thanks).
0.6.3 2015-05-09 A sixth official beta.
- Main widget layout changed as much to expand or grow vertically
as needed.
0.6.2 2015-04-30 A fifth official beta.
- Custom knob/dial behavior mode options are now introduced:
linear and angular (aka. radial) as far to avoid abrupt
changes on first mouse click (still the default behavior).
- Fixed for some strict tests for Qt4 vs. Qt5 configure builds.
0.6.1 2015-03-09 A fourth official beta.
- Added application description as freedesktop.org's AppData.
- Introducing LV2 port-groups (as proposed by Amadeus Folego aka.
badosu, thanks).
- Improved envelope widget nodes click-and-drag precision.
- Introducing a brand new user preference on eye-candy: cf.Help
/Configure.../Options/Custom style theme (applies to the JACK
stand-alone client only though).
- Envelope and filter now rendered with anti-aliased lines.
- Fixed a Qt5 FTBFS re. QHeaderView::set[Section]ResizeMode().
0.6.0 2014-01-23 A third official beta.
- MIDI bank-select/program-changes is now supported, for patch,
preset and/or instrument program control.
- New Help/Configure dialog is introduced for editing the also
new MIDI bank/programs interface and user preference options
as well (new home of the old Help/Use native dialogs option).
- Presets may now be specified by base name, as an alternative
to the complete preset file-path on command line argument (re.
stand-alone JACK client).
- Fixed parameters A/B comparison swap.
0.5.1 2014-09-12 One second official beta.
- One decimal digit added to all scalar parameters and knobs.
- Stand-alone JACK client ports outrageously renamed from a
zero based numbering scheme into a plus one natural one.
- Experimental LV2 Time/position atom-event support (Delay BPM).
0.5.0 2014-06-30 Officially beta now.
- LV2 UI Idle and Show interfaces support added.
- First attempt to allow a headless stand-alone JACK client
application run mode, without a GUI, with option given as
command line argument (--no-gui).
- A man page has beed added (re. stand-alone JACK client).
- Disable band-limit option for 'Noise' oscillator wave-shapes.
- Allow the build system to include an user specified LDFLAGS.
0.4.2 2014-04-29 A pre-LAC frenzy beta.
- Badly named 'Noise' wave-shape oscillators get their band-
limited treat option and re-labeled as 'Rand'; also a brand
new wave-shape 'Noise' is then introduced (now for real :)).
- New user preference option, cf. Help/Use native dialogs.
- An anti-denormal regression applied to the Phaser fx stage
(affecting early proto-beta >= 0.4.0).
0.4.1 2014-04-07 A proto-beta bis.
- Once so called 'Noise' wave-shapes are now being made a lot
more deterministic, read idempotent ;).
- Fully alias-free/band-limited wavetable oscillators are now
in place, making it a better virtual-analog synthesizer (esp.
for running sample-rates below 96KHz).
- Late optimizations to basic wave-table oscillators.
- Make sure the LV2 plugin back-end always builds first, before
its respective LV2 UI front-end client.
0.4.0 2014-03-06 A proto-beta party.
- All knobs default value setting slightly improved.
- A run-time circumvention have been hacked, strictly related
to when NSM session management is in charge: the native file
browser/requester dialogs are then disabled (were taking too
long to list the current directory on first time invocation).
- Auto-detection of the correct target library path for the
LV2 plugin, whether it may be .../lib or .../lib64 on bi
-arch targets, when libdir is not specified on configure
time (--libdir=LIBDIR).
- Reverb has been added as a brand new effects stage, though
based on good old FreeVerb :).
- Introduced a variable env.stage time control parameter.
- Dummy change-log entry for the new year.
0.3.6 2013-12-31 A fifth of a Jubilee.
- Effects/Delay BPM sync option to current transport (Auto).
- More preparations for Qt5 configure build.
0.3.5 2013-09-30 Fall greetings.
- First attempt on separating the DSP code from UI as runtime
objects, effective for the LV2 plugin deploy.
- MIDI channel filter switch is now introduced.
- Fixed uninstall target make rule.
- Mono(phonic) mode switch is now being introduced.
- Another minor fix to note-off fast-release.
0.3.4 2013-07-16 Brand new icon ready.
- Preset file icon and mimetype now introduced.
- A brand new icon drops the lamest old-schooler's out, in a
master lesson taught by Jarle Richard Akselsen, thanks.
0.3.3 2013-05-31 Late spring blossoming
- Some sympathy to extreme dark color (read black) schemes is
now being indulged; some discrete changes on the icon front
has also emerged ;)
- MIDI Key pressure/polyphonic aftertouch events now properly
recognized, in addition to MIDI channel pressure/aftertouch
processing.
- Parameter value ramping moved into the late post-processing,
an attempt to reduce some pop/click artifacts even further.
- NSM support introduced to JACK client.
- A slight GUI behavior change: (re)writing existing names
doesn't load the respective preset anymore (after ticket
by Jiri Prochazka aka. Anchakor, thanks).
- Introducing LV2 External UI "rogue" support.
- Moog-like 24dB/oct resonant filter slight modification.
- Fixed JACK client fail/fake initialization.
0.3.2 2013-03-01 One third bug-fix release.
- Pitch-bend, Modwheel and LFO Pitch range internal fixes.
- Sustain/damper pedal switch (MIDI CC#64) support added.
- Color palette hack on Qt5 dark themes.
0.3.1 2013-02-08 One second bug-fix release.
- Improved filters parameter sensitivity (cutoff, reso).
- Envelope generators stage curves now gone a little more old-
schooler and analog-like, hopefully improving on the punchy
and click-less sound front.
- Experimental LV2 Time designated port support (Delay BPM).
- Preparations for Qt5 migration.
0.3.0 2012-12-21 Third coming release.
- Dropped all SSE dummy build optimization flags as they were
making more harm than real good, performance wise.
- GUI layout moved from a toolbox into a stacked tab widget;
also, a status-bar has been added at the bottom display.
- LV2 Atom/MIDI event processing is now official, a replacement
for the formerly deprecated LV2 Event/MIDI specification.
- Added dirty checking also on switching from unamed presets.
- JACK stand-alone: preset loader initialization fix.
0.2.0 2012-11-22 Second public release.
- Parameters A/B comparison toggle buttons have been added.
- Keep LV2 event buffer valid on each run(), as found for strict
LV2 specification and compliance (as suggested by falkTX).
- Increased polyphony baseline from 24 to 32 voices.
- Prepared for relative paths from preset file references.
- Velocity sensitivity configuration control has been added.
- Reset (all values to preset defaults) button has been added.
- Slight minor fix on fast-release re-triggering.
- Added some command line options to the stand-alone JACK client
program (--help and --version information).
- Reimplemented mouse-wheel stepping on combo-dial knob widgets.
- Detached generic double-linked list class into its own header.
0.1.1 2012-09-24 One first bug-fix release.
- Fixed a crash bug on LV2 main widget close (GUI) due to some
superfluous preset dirty checking.
- Fixed a nasty rather fundamental bug introduced by late voice
list optimization, which was seriously crippled and noticeable
when more than one LV2 plug-in were being instantiated.
0.1.0 2012-09-10 First true official release.
- Preset drop-down list is now sorted.
- Migrated to sourceforge.net.
0.0.9 2012-08-27 Post-vacation relax.
- Main widget now a plain basic QWidget, instead of QDialog.
- Preset salvage query check on main widget close (GUI).
- Voice list alloc/free optimization--doubled polyphony.
0.0.8 2012-07-15 Second coming consolidation.
- Proto-icon, Desktop file and Help About menus added.
0.0.7 2012-07-07 Initial change-log entry.
synthv1-1.3.1/PaxHeaders/LICENSE 0000644 0000000 0000000 00000000132 14773433652 013231 x ustar 00 30 mtime=1743665066.064148084
30 atime=1743665066.064148084
30 ctime=1743665066.064148084
synthv1-1.3.1/LICENSE 0000644 0001750 0000144 00000043103 14773433652 013222 0 ustar 00rncbc users GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
synthv1-1.3.1/PaxHeaders/README 0000644 0000000 0000000 00000000132 14773433652 013104 x ustar 00 30 mtime=1743665066.064148084
30 atime=1743665066.064148084
30 ctime=1743665066.064148084
synthv1-1.3.1/README 0000644 0001750 0000144 00000005265 14773433652 013104 0 ustar 00rncbc users synthv1 - an old-school polyphonic synthesizer
----------------------------------------------
an old-school 4-oscillator subtractive polyphonic synthesizer
with stereo fx.
Features:
- pure stand-alone JACK [1] client with JACK-session, NSM [3] and both
JACK MIDI and ALSA MIDI [2] input support;
- LV2 [4] instrument plugin.
URI: http://synthv1.sourceforge.net/lv2
License:
synthv1 is free, Linux Audio [5] open-source software, distributed under
the terms of the GNU General Public License (GPL) [6] version 2 or later.
Website:
https://synthv1.sourceforge.io
http://synthv1.sourceforge.net
Project page:
https://sourceforge.net/projects/synthv1
Git repos:
https://git.code.sf.net/p/synthv1/code
https://github.com/rncbc/synthv1.git
https://gitlab.com/rncbc/synthv1.git
https://codeberg.org/rncbc/synthv1.git
Weblog:
https://www.rncbc.org
Requirements:
mandatory,
- Qt framework [7], C++ class library and tools for
cross-platform application and UI development
https://qt.io/
optional (opted-in at build time),
- JACK [1] Audio Connection Kit
https://jackaudio.org/
- ALSA [2], Advanced Linux Sound Architecture
https://www.alsa-project.org/
- LV2 [4], Audio Plugin Standard, the extensible successor of LADSPA
https://lv2plug.in/
- liblo [8], Lightweight OSC implementation
(needed for NSM support [3])
http://liblo.sourceforge.net/
Installation:
- unpack tarball as usual; in the extracted source directory:
cmake [-DCMAKE_INSTALL_PREFIX=] -B build
cmake --build build [--parallel ]
- optionally, as root:
[sudo] cmake --install build
- note that the default installation path () is /usr/local .
Acknowledgements:
synthv1 logo/icon is an original fine work of Jarle Richard Akselsen.
References:
[1] JACK Audio Connection Kit
https://jackaudio.org/
[2] ALSA, Advanced Linux Sound Architecture
https://www.alsa-project.org/
[3] Non Session Management (NSM) (legacy)
http://non.tuxfamily.org/nsm/
New Session Manager (NSM)
https://new-session-manager.jackaudio.org/
[4] LV2, Audio Plugin Standard, the extensible successor of LADSPA
http://lv2plug.in/
[5] Linux Audio consortium of libre software for audio-related work
https://linuxaudio.org
[6] GNU General Public License
https://www.gnu.org/copyleft/gpl.html
[7] Qt framework, C++ class library and tools for
cross-platform application and UI development
https://qt.io/
[8] liblo [8], Lightweight OSC implementation
(needed for NSM support)
http://liblo.sourceforge.net/
Cheers && Enjoy.
--
rncbc aka. Rui Nuno Capela
rncbc@rncbc.org
https://www.rncbc.org
synthv1-1.3.1/PaxHeaders/src 0000644 0000000 0000000 00000000132 14773433652 012736 x ustar 00 30 mtime=1743665066.070027792
30 atime=1743665066.064829862
30 ctime=1743665066.070027792
synthv1-1.3.1/src/ 0000755 0001750 0000144 00000000000 14773433652 013003 5 ustar 00rncbc users synthv1-1.3.1/src/PaxHeaders/synthv1_nsm.h 0000644 0000000 0000000 00000000132 14773433652 015455 x ustar 00 30 mtime=1743665066.067027776
30 atime=1743665066.067027776
30 ctime=1743665066.067027776
synthv1-1.3.1/src/synthv1_nsm.h 0000644 0001750 0000144 00000006461 14773433652 015454 0 ustar 00rncbc users // synthv1_nsm.h
//
/****************************************************************************
Copyright (C) 2012-2023, rncbc aka Rui Nuno Capela. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*****************************************************************************/
#ifndef __synthv1_nsm_h
#define __synthv1_nsm_h
#include "synthv1_config.h"
#include
#ifdef CONFIG_LIBLO
#include
#endif
//---------------------------------------------------------------------------
// synthv1_nsm - NSM OSC client agent.
class synthv1_nsm : public QObject
{
Q_OBJECT
public:
// Constructor.
synthv1_nsm(const QString& nsm_url, QObject *pParent = 0);
// Destructor.
~synthv1_nsm();
// Session activation accessor.
bool is_active() const;
// Session manager accessors.
const QString& manager() const;
const QString& capabilities() const;
// Session client accessors.
const QString& path_name() const;
const QString& display_name() const;
const QString& client_name() const;
// Session client methods.
void announce(const QString& app_name, const QString& capabilities);
void dirty(bool is_dirty);
void visible(bool is_visible);
void progress(float percent);
void message(int priority, const QString& mesg);
// Status/error codes
enum ReplyCode
{
ERR_OK = 0,
ERR_GENERAL = -1,
ERR_INCOMPATIBLE_API = -2,
ERR_BLACKLISTED = -3,
ERR_LAUNCH_FAILED = -4,
ERR_NO_SUCH_FILE = -5,
ERR_NO_SESSION_OPEN = -6,
ERR_UNSAVED_CHANGES = -7,
ERR_NOT_NOW = -8,
ERR_BAD_PROJECT = -9,
ERR_CREATE_FAILED = -10
};
// Session client reply methods.
void open_reply(ReplyCode reply_code = ERR_OK);
void save_reply(ReplyCode reply_code = ERR_OK);
// Server methods response methods.
void nsm_announce_error(
const char *mesg);
void nsm_announce_reply(
const char *mesg,
const char *manager,
const char *capabilities);
void nsm_open(
const char *path_name,
const char *display_name,
const char *client_name);
void nsm_save();
void nsm_loaded();
void nsm_show();
void nsm_hide();
protected:
void reply(const QString& path, ReplyCode reply_code);
signals:
// Session client callbacks.
void active(bool is_active);
void open();
void save();
void loaded();
void show();
void hide();
private:
// Instance variables.
#ifdef CONFIG_LIBLO
lo_address m_address;
lo_server_thread m_thread;
lo_server m_server;
#endif
bool m_active;
bool m_dirty;
QString m_manager;
QString m_capabilities;
QString m_path_name;
QString m_display_name;
QString m_client_name;
};
#endif // __synthv1_nsm_h
// end of synthv1_nsm.h
synthv1-1.3.1/src/PaxHeaders/synthv1_wave.cpp 0000644 0000000 0000000 00000000132 14773433652 016155 x ustar 00 30 mtime=1743665066.068027782
30 atime=1743665066.068027782
30 ctime=1743665066.068027782
synthv1-1.3.1/src/synthv1_wave.cpp 0000644 0001750 0000144 00000025122 14773433652 016147 0 ustar 00rncbc users // synthv1_wave.cpp
//
/****************************************************************************
Copyright (C) 2012-2023, rncbc aka Rui Nuno Capela. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*****************************************************************************/
#include "synthv1_wave.h"
#include
#include
//-------------------------------------------------------------------------
// synthv1_wave_sched - local module schedule thread stuff.
//
#include "synthv1_sched.h"
class synthv1_wave_sched : public synthv1_sched
{
public:
// ctor.
synthv1_wave_sched (synthv1_wave *wave)
: synthv1_sched(nullptr, Wave), m_wave(wave) {}
// process reset (virtual).
void process(int)
{ m_wave->reset_sync(); }
private:
// instance variables.
synthv1_wave *m_wave;
};
//-------------------------------------------------------------------------
// synthv1_wave - smoothed (integrating oversampled) wave table.
//
// ctor.
synthv1_wave::synthv1_wave ( uint32_t nsize, uint16_t nover, uint16_t ntabs )
: m_nsize(nsize), m_nover(nover), m_ntabs(ntabs),
m_shape(Saw), m_width(1.0f), m_bandl(false),
m_srate(44100.0f), m_phase0(0.0f), m_srand(0),
m_min_freq(0.0f), m_max_freq(0.0f), m_sched(nullptr)
{
const uint16_t ntabs1 = m_ntabs + 1;
m_tables = new float * [ntabs1];
for (uint16_t itab = 0; itab < ntabs1; ++itab)
m_tables[itab] = new float [m_nsize + 4];
if (m_ntabs > 0)
m_sched = new synthv1_wave_sched(this);
reset_sync();
}
// dtor.
synthv1_wave::~synthv1_wave (void)
{
if (m_sched)
delete m_sched;
const uint16_t ntabs1 = m_ntabs + 1;
for (uint16_t itab = 0; itab < ntabs1; ++itab)
delete [] m_tables[itab];
delete [] m_tables;
}
// init.
void synthv1_wave::reset ( Shape shape, float width, bool bandl )
{
m_shape = shape;
m_width = width;
m_bandl = bandl;
if (m_sched)
m_sched->schedule();
else
reset_sync();
}
void synthv1_wave::reset_sync (void)
{
switch (m_shape) {
case Pulse:
reset_pulse();
break;
case Saw:
reset_saw();
break;
case Sine:
reset_sine();
break;
case Rand:
reset_rand();
break;
case Noise:
reset_noise();
// Fall thru...
default:
break;
}
}
// init pulse tables.
void synthv1_wave::reset_pulse (void)
{
reset_pulse_part(m_ntabs);
if (m_bandl) {
for (uint16_t itab = 0; itab < m_ntabs; ++itab)
reset_pulse_part(itab);
m_max_freq = (0.25f * m_srate);
m_min_freq = m_max_freq / float(1 << m_ntabs);
} else {
m_max_freq = (0.5f * m_srate);
m_min_freq = m_max_freq;
}
}
// init saw tables.
void synthv1_wave::reset_saw (void)
{
reset_saw_part(m_ntabs);
if (m_bandl) {
for (uint16_t itab = 0; itab < m_ntabs; ++itab)
reset_saw_part(itab);
m_max_freq = (0.25f * m_srate);
m_min_freq = m_max_freq / float(1 << m_ntabs);
} else {
m_max_freq = (0.5f * m_srate);
m_min_freq = m_max_freq;
}
}
// init sine tables.
void synthv1_wave::reset_sine (void)
{
reset_sine_part(m_ntabs);
if (m_bandl && m_width < 1.0f) {
for (uint16_t itab = 0; itab < m_ntabs; ++itab)
reset_sine_part(itab);
m_max_freq = (0.25f * m_srate);
m_min_freq = m_max_freq / float(1 << m_ntabs);
} else {
m_max_freq = (0.5f * m_srate);
m_min_freq = m_max_freq;
}
}
// init random tables.
void synthv1_wave::reset_rand (void)
{
reset_rand_part(m_ntabs);
if (m_bandl) {
for (uint16_t itab = 0; itab < m_ntabs; ++itab)
reset_rand_part(itab);
m_max_freq = (0.25f * m_srate);
m_min_freq = m_max_freq / float(1 << m_ntabs);
} else {
m_max_freq = (0.5f * m_srate);
m_min_freq = m_max_freq;
}
}
// init noise tables.
void synthv1_wave::reset_noise (void)
{
reset_noise_part(m_ntabs);
if (m_bandl) {
for (uint16_t itab = 0; itab < m_ntabs; ++itab)
reset_noise_part(itab);
m_max_freq = (0.25f * m_srate);
m_min_freq = m_max_freq / float(1 << m_ntabs);
} else {
m_max_freq = (0.5f * m_srate);
m_min_freq = m_max_freq;
}
}
// init pulse partial table.
void synthv1_wave::reset_pulse_part ( uint16_t itab )
{
const uint16_t nparts = (itab < m_ntabs ? 1 << itab : 0);
const float p0 = float(m_nsize);
const float w2 = p0 * m_width * 0.5f + 0.001f;
float *frames = m_tables[itab];
for (uint32_t i = 0; i < m_nsize; ++i) {
const float p = float(i);
if (nparts > 0) {
const float gibbs = 0.5f * M_PI / float(nparts);
float sum = 0.0f;
for (uint32_t n = 0; n < nparts; ++n) {
const float gn = ::cosf(gibbs * float(n));
const float dn = float(n + 1) * M_PI;
const float wn = 2.0f * dn;
const float g2 = gn * gn / dn;
sum += g2 * ::sinf(wn * (w2 - p) / p0);
sum += g2 * ::sinf(wn * (p - p0) / p0);
}
frames[i] = 2.0f * sum;
} else {
frames[i] = (p < w2 ? 1.0f : -1.0f);
}
}
reset_filter(itab);
reset_normalize(itab);
reset_interp(itab);
}
// init saw partial table.
void synthv1_wave::reset_saw_part ( uint16_t itab )
{
const uint16_t nparts = (itab < m_ntabs ? 1 << itab : 0);
const float p0 = float(m_nsize);
const float w0 = p0 * m_width;
float *frames = m_tables[itab];
for (uint32_t i = 0; i < m_nsize; ++i) {
const float p = float(i);
if (nparts > 0) {
const float gibbs = 0.5f * M_PI / float(nparts);
float sum = 0.0f;
float sgn = 2.0f;
for (uint32_t n = 0; n < nparts; ++n) {
const float gn = ::cosf(gibbs * float(n));
const float dn = float(n + 1) * M_PI;
const float wn = 2.0f * dn;
const float g2 = gn * gn / dn;
if (w0 < 1.0f)
sum += g2 * ::sinf(wn * p / p0);
else
if (w0 >= p0)
sum += g2 * ::sinf(wn * (p0 - p) / p0);
else {
sum -= sgn * g2 * ::cosf(wn * (w0 - p) / p0) / dn;
sum += sgn * g2 * ::cosf(wn * (p - p0) / p0) / dn;
sgn = -sgn;
}
}
frames[i] = 2.0f * sum;
}
else if (p < w0) {
frames[i] = 2.0f * p / w0 - 1.0f;
} else {
frames[i] = 1.0f - 2.0f * (1.0f + (p - w0)) / (p0 - w0);
}
}
reset_filter(itab);
reset_normalize(itab);
reset_interp(itab);
}
// init sine partial table.
void synthv1_wave::reset_sine_part ( uint16_t itab )
{
const float width = (itab >= m_ntabs ? m_width
: 1.0f + float(itab) * (m_width - 1.0f) / float(m_ntabs));
const float p0 = float(m_nsize);
const float w0 = p0 * width;
const float w2 = w0 * 0.5f;
float *frames = m_tables[itab];
for (uint32_t i = 0; i < m_nsize; ++i) {
float p = float(i);
if (p < w2)
frames[i] = ::sinf(2.0f * M_PI * p / w0);
else
frames[i] = ::sinf(M_PI * (p + (p0 - w0)) / (p0 - w2));
}
if (width < 1.0f) {
reset_filter(itab);
reset_normalize(itab);
}
reset_interp(itab);
}
// init random partial table.
void synthv1_wave::reset_rand_part ( uint16_t itab )
{
const uint16_t nparts = (itab < m_ntabs ? 1 << itab : 0);
const float p0 = float(m_nsize);
const float w0 = p0 * m_width;
const uint32_t ihold = (uint32_t(p0 - w0) >> 3) + 1;
float *frames = m_tables[itab];
if (nparts > 0) {
const float *pntabs = m_tables[m_ntabs];
const uint32_t nholds = m_nsize / ihold;
const uint32_t ntabs2 = m_ntabs << itab;
uint32_t npart2 = nparts;
uint32_t nhold2 = nholds;
while (npart2 * nhold2 > ntabs2) {
if (npart2 > m_ntabs)
npart2 >>= 1;
else
if (nhold2 > m_ntabs)
nhold2 >>= 1;
}
const float wk = p0 / float(nhold2);
const float w2 = 0.5f * wk;
const float gibbs = 0.5f * M_PI / float(npart2);
for (uint32_t i = 0; i < m_nsize; ++i) {
const float p = float(i);
float sum = 0.0f;
for (uint32_t n = 0; n < npart2; ++n) {
const float gn = ::cosf(gibbs * float(n));
const float dn = float(n + 1) * M_PI;
const float wn = 2.0f * dn;
const float g2 = gn * gn / dn;
float pk = 0.0f;
for (uint32_t k = 0; k < nhold2; ++k) {
const float gk = g2 * pntabs[uint32_t(pk + w2)];
sum += gk * ::sinf(wn * (wk - p + pk) / p0);
sum += gk * ::sinf(wn * (p - p0 - pk) / p0);
pk += wk;
}
}
frames[i] = 2.0f * sum;
}
} else {
m_srand = uint32_t(w0);
float phold = 0.0f;
for (uint32_t i = 0; i < m_nsize; ++i) {
if ((i % ihold) == 0)
phold = pseudo_randf();
frames[i] = phold;
}
}
reset_filter(itab);
reset_normalize(itab);
reset_interp(itab);
}
// init random partial table.
void synthv1_wave::reset_noise_part ( uint16_t itab )
{
if (itab == m_ntabs) {
const float p0 = float(m_nsize);
const float w0 = p0 * m_width;
m_srand = uint32_t(w0) ^ 0x9631; // magic!
}
float *frames = m_tables[itab];
for (uint32_t i = 0; i < m_nsize; ++i)
frames[i] = pseudo_randf();
// reset_filter(itab);
// reset_normalize(itab);
reset_interp(itab);
}
// post-processors.
void synthv1_wave::reset_filter ( uint16_t itab )
{
float *frames = m_tables[itab];
uint32_t i, k = 0;
for (i = 1; i < m_nsize; ++i) {
const float p1 = frames[i - 1];
const float p2 = frames[i];
if (p1 < 0.0f && p2 >= 0.0f) {
k = i;
break;
}
}
for (uint16_t n = 0; n < m_nover; ++n) {
float p = frames[k];
for (i = 0; i < m_nsize; ++i) {
if (++k >= m_nsize) k = 0;
p = 0.5f * (frames[k] + p);
frames[k] = p;
}
}
}
void synthv1_wave::reset_normalize ( uint16_t itab )
{
float *frames = m_tables[itab];
uint32_t i;
float pmax = 0.0f;
float pmid = 0.0f;
if (m_ntabs > 0) {
for (i = 0; i < m_nsize; ++i)
pmid += frames[i];
pmid /= float(m_nsize);
} else {
for (i = 0; i < m_nsize; ++i) {
const float p = frames[i];
if (pmax < p)
pmax = p;
else
if (pmid > p)
pmid = p;
}
pmid = 0.5f * (pmax + pmid);
pmax = 0.0f;
}
pmax = 0.0f;
for (i = 0; i < m_nsize; ++i) {
frames[i] -= pmid;
const float p = ::fabsf(frames[i]);
if (pmax < p)
pmax = p;
}
if (pmax > 0.0f) {
const float gain = 1.0f / pmax;
for (i = 0; i < m_nsize; ++i)
frames[i] *= gain;
}
}
void synthv1_wave::reset_interp ( uint16_t itab )
{
float *frames = m_tables[itab];
uint32_t i;
for (i = m_nsize; i < m_nsize + 4; ++i)
frames[i] = frames[i - m_nsize];
if (itab == m_ntabs) {
uint32_t k = 0;
for (i = 1; i < m_nsize; ++i) {
const float p1 = frames[i - 1];
const float p2 = frames[i];
if (p1 < 0.0f && p2 >= 0.0f)
k = i;
}
m_phase0 = float(k) / float(m_nsize);
}
}
// end of synthv1_wave.cpp
synthv1-1.3.1/src/PaxHeaders/appdata 0000644 0000000 0000000 00000000132 14773433652 014350 x ustar 00 30 mtime=1743665066.065131157
30 atime=1743665066.064829862
30 ctime=1743665066.065131157
synthv1-1.3.1/src/appdata/ 0000755 0001750 0000144 00000000000 14773433652 014415 5 ustar 00rncbc users synthv1-1.3.1/src/appdata/PaxHeaders/org.rncbc.synthv1.desktop 0000644 0000000 0000000 00000000132 14773433652 021310 x ustar 00 30 mtime=1743665066.065100945
30 atime=1743665066.065100945
30 ctime=1743665066.065100945
synthv1-1.3.1/src/appdata/org.rncbc.synthv1.desktop 0000644 0001750 0000144 00000001001 14773433652 021270 0 ustar 00rncbc users [Desktop Entry]
Name=synthv1
Version=1.0
GenericName=MIDI
Comment=synthv1 is an old school polyphonic synthesizer
Comment[fr]=synthv1 est un synthétiseur polyphonique à l'ancienne
Exec=synthv1_jack %f
Icon=org.rncbc.synthv1
Categories=Audio;AudioVideo;Midi;X-Alsa;X-Jack;Qt;
MimeType=application/x-synthv1-preset;
Keywords=Audio;MIDI;ALSA;JACK;Synthesizer;LV2;Qt;
Terminal=false
Type=Application
StartupWMClass=synthv1_jack
X-Window-Icon=synthv1
X-SuSE-translate=true
X-NSM-Capable=true
X-NSM-Exec=synthv1_jack
synthv1-1.3.1/src/appdata/PaxHeaders/org.rncbc.synthv1.metainfo.xml 0000644 0000000 0000000 00000000132 14773433652 022240 x ustar 00 30 mtime=1743665066.065131157
30 atime=1743665066.065100945
30 ctime=1743665066.065131157
synthv1-1.3.1/src/appdata/org.rncbc.synthv1.metainfo.xml 0000644 0001750 0000144 00000003463 14773433652 022236 0 ustar 00rncbc users
org.rncbc.synthv1FSFAPGPL-2.0+synthv1an old-school polyphonic synthesizer
synthv1 is an old-school 4-oscillator subtractive polyphonic synthesizer
with stereo fx.
features:
pure stand-alone JACK client with JACK-session, NSM and both JACK MIDI
and ALSA MIDI input support;