diff --git a/app/samplebrain.pro b/app/samplebrain.pro deleted file mode 100644 index 2c69e65..0000000 --- a/app/samplebrain.pro +++ /dev/null @@ -1,50 +0,0 @@ -###################################################################### -# Automatically generated by qmake (2.01a) Sun Jul 5 17:49:45 2015 -###################################################################### - -TEMPLATE = app -TARGET = samplebrain -DEPENDPATH += . 2 -INCLUDEPATH += . 2 - -QT += core gui widgets - -# Input -HEADERS += MainWindow.h \ - generated/ui_samplebrain.h \ - -SOURCES += MainWindow.cpp \ - sound_items.cpp \ - audio_thread.cpp \ - process_thread.cpp \ - feedback.cpp \ - qtmain.cpp \ - ../brain/src/block.cpp \ - ../brain/src/brain.cpp \ - ../brain/src/fft.cpp \ - ../brain/src/mfcc.cpp \ - ../brain/src/renderer.cpp \ - ../brain/src/search_params.cpp \ - ../brain/src/status.cpp \ - ../brain/src/window.cpp \ - ../brain/src/block_stream.cpp \ - ../brain/src/aquila/filter/MelFilterBank.cpp \ - ../brain/src/aquila/filter/MelFilter.cpp \ - ../brain/src/aquila/transform/Dct.cpp \ - ../brain/src/spiralcore/sample.cpp \ - ../brain/src/spiralcore/ring_buffer.cpp \ - ../brain/src/spiralcore/command_ring_buffer.cpp \ - ../brain/src/spiralcore/portaudio_client.cpp \ - ../brain/src/spiralcore/audio.cpp \ - ../brain/src/spiralcore/OSC_server.cpp \ - ../brain/src/spiralcore/allocator.cpp \ - ../brain/src/spiralcore/stream.cpp - -INCLUDEPATH += ../brain/src -LIBS += -L.. -lportaudio -lfftw3 -lsndfile -llo -ldl -lpthread -lm -CONFIG+=debug - -QMAKE_CXXFLAGS += -Wall -Wno-unused -std=c++11 - -# assets -RESOURCES = samplebrain.qrc diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..78c9958 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +samplebrain for Debian +--------------------- + + + + -- Dave Griffiths Thu, 08 Sep 2022 11:40:29 +0100 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..a5437e1 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,10 @@ +samplebrain for Debian +--------------------- + + + + + + -- Dave Griffiths Thu, 08 Sep 2022 11:40:29 +0100 + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7c5cceb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +samplebrain (18.0-1ubuntu0) focal; urgency=medium + + * Initial release (Closes: #nnnn) + + -- Dave Griffiths Thu, 08 Sep 2022 11:40:29 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c53429f --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: samplebrain +Section: audio +Priority: optional +Maintainer: Dave Griffiths +Build-Depends: debhelper-compat (= 12), texinfo, libsndfile1-dev, portaudio19-dev, liblo-dev, libfftw3-dev, qtbase5-dev, qt5-qmake, qtbase5-dev-tools +Standards-Version: 4.4.1 +Homepage: http://thentrythis.org/projects/samplebrain +Vcs-Git: https://gitlab.com/nebogeo/samplebrain.git + +Package: samplebrain +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A custom sample smashing app designed by Aphex Twin + Samplebrain chops samples up into a 'brain' of interconnected small sections (blocks) connected into a network by similarity. It reads a target sample, chops it up into blocks in the same way, and tries to match each one with one of the blocks in it's brain to play in realtime. This (in theory) allows you to interpret one type of sound with another. Over time we gradually added more and more controls until it became slightly out of control and increasingly difficult to explain. \ No newline at end of file diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..55769ae --- /dev/null +++ b/debian/copyright @@ -0,0 +1,43 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: samplebrain +Upstream-Contact: +Source: + +Files: * +Copyright: + +License: + + + . + + +# If you want to use GPL v2 or later for the /debian/* files use +# the following clauses, or change it to suit. Delete these two lines +Files: debian/* +Copyright: 2022 Dave Griffiths +License: GPL-2+ + This package 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 package 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, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid picking licenses with terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. +# +# If you need, there are some extra license texts available in two places: +# /usr/share/debhelper/dh_make/licenses/ +# /usr/share/common-licenses/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e1c367c --- /dev/null +++ b/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#export DH_VERBOSE = 1 + + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +%: + dh $@ + + +# dh_make generated override targets +# This is example for Cmake (See https://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + diff --git a/debian/samplebrain-docs.docs b/debian/samplebrain-docs.docs new file mode 100644 index 0000000..7319041 --- /dev/null +++ b/debian/samplebrain-docs.docs @@ -0,0 +1,2 @@ +README.source +README.Debian diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/samplebrain.pro b/samplebrain.pro new file mode 100644 index 0000000..4e8ad5a --- /dev/null +++ b/samplebrain.pro @@ -0,0 +1,54 @@ +###################################################################### +# Automatically generated by qmake (2.01a) Sun Jul 5 17:49:45 2015 +###################################################################### + +TEMPLATE = app +TARGET = samplebrain +DEPENDPATH += . 2 +INCLUDEPATH += . 2 + +QT += core gui widgets + +# Input +HEADERS += app/MainWindow.h \ + app/generated/ui_samplebrain.h \ + +SOURCES += app/MainWindow.cpp \ + app/sound_items.cpp \ + app/audio_thread.cpp \ + app/process_thread.cpp \ + app/feedback.cpp \ + app/qtmain.cpp \ + brain/src/block.cpp \ + brain/src/brain.cpp \ + brain/src/fft.cpp \ + brain/src/mfcc.cpp \ + brain/src/renderer.cpp \ + brain/src/search_params.cpp \ + brain/src/status.cpp \ + brain/src/window.cpp \ + brain/src/block_stream.cpp \ + brain/src/aquila/filter/MelFilterBank.cpp \ + brain/src/aquila/filter/MelFilter.cpp \ + brain/src/aquila/transform/Dct.cpp \ + brain/src/spiralcore/sample.cpp \ + brain/src/spiralcore/ring_buffer.cpp \ + brain/src/spiralcore/command_ring_buffer.cpp \ + brain/src/spiralcore/portaudio_client.cpp \ + brain/src/spiralcore/audio.cpp \ + brain/src/spiralcore/OSC_server.cpp \ + brain/src/spiralcore/allocator.cpp \ + brain/src/spiralcore/stream.cpp + +INCLUDEPATH += brain/src +LIBS += -L.. -lportaudio -lfftw3 -lsndfile -llo -ldl -lpthread -lm +CONFIG+=debug +QMAKE_CXXFLAGS += -Wall -Wno-unused -std=c++11 + +# assets +RESOURCES = app/samplebrain.qrc + +target.path = /usr/local/bin/ +INSTALLS += target + +