2022-09-16 04:31:45 -03:00
|
|
|
# Samplebrain
|
2022-09-04 07:50:37 -03:00
|
|
|
|
2022-09-12 07:44:00 -03:00
|
|
|
A custom sample mashing app designed by Aphex Twin.
|
2022-09-04 07:50:37 -03:00
|
|
|
|
2022-09-16 04:31:45 -03:00
|
|
|
Samplebrain (made in 2015) chops samples up into a 'brain' of
|
|
|
|
|
interconnected small sections called blocks which are connected into a
|
|
|
|
|
network by similarity. It processes a target sample, chopping it up
|
|
|
|
|
into blocks in the same way, and tries to match each block with one in
|
|
|
|
|
it's brain to play in realtime.
|
2022-09-07 07:03:23 -03:00
|
|
|
|
2022-09-12 07:44:00 -03:00
|
|
|
This allows you to interpret a sound with a different one. Over time
|
|
|
|
|
developing it, we gradually added more and more tweakable parameters
|
|
|
|
|
until it became slightly out of control.
|
2022-09-07 07:03:23 -03:00
|
|
|
|
2022-09-16 04:33:50 -03:00
|
|
|

|
|
|
|
|
|
2022-09-07 07:03:23 -03:00
|
|
|
Quick start:
|
|
|
|
|
|
|
|
|
|
1. Load a bunch of samples into the brain
|
|
|
|
|
2. Click (re)generate brain
|
|
|
|
|
3. Load a loop sample into the target
|
|
|
|
|
4. Click (re)generate target
|
|
|
|
|
5. Press play
|
|
|
|
|
|
2022-09-16 04:31:45 -03:00
|
|
|
# [Demo brain session](https://static.thentrythis.org/samplebrain/demo.samplebrain)
|
2022-09-07 07:18:06 -03:00
|
|
|
# [Manual](docs/manual.md)
|
2022-09-07 07:03:23 -03:00
|
|
|
|
2022-09-16 04:33:04 -03:00
|
|
|
# Windows
|
2022-09-16 04:31:45 -03:00
|
|
|
|
|
|
|
|
* [samplebrain_0.18_win.zip](http://static.thentrythis.org/samplebrain/https://static.thentrythis.org/samplebrain/samplebrain_0.18_win.zip)
|
|
|
|
|
|
2022-09-16 04:33:04 -03:00
|
|
|
# Mac
|
2022-09-16 04:31:45 -03:00
|
|
|
|
|
|
|
|
* [samplebrain_0.18_macintel.zip](https://static.thentrythis.org/samplebrain/samplebrain_0.18_macintel.zip)
|
|
|
|
|
|
|
|
|
|
Contribution of a universal or apple silicon binary gratefully received (see building instructions below)
|
|
|
|
|
|
2022-09-16 04:33:04 -03:00
|
|
|
# Linux
|
2022-09-16 04:31:45 -03:00
|
|
|
|
|
|
|
|
$ sudo add-apt-repository ppa:thentrythis/samplebrain
|
|
|
|
|
$ sudo apt update
|
|
|
|
|
$ sudo apt install samplebrain
|
|
|
|
|
|
|
|
|
|
If you'd like the right font, optionally:
|
|
|
|
|
|
|
|
|
|
$ sudo apt install ttf-mscorefonts-installer
|
|
|
|
|
|
|
|
|
|
# Building from source:
|
2022-09-04 07:50:37 -03:00
|
|
|
|
2022-09-16 04:31:45 -03:00
|
|
|
Install libraries for the sample engine (use brew on mac, MinGW on win):
|
2022-09-04 07:50:37 -03:00
|
|
|
|
|
|
|
|
$ sudo apt install libsndfile1-dev portaudio19-dev liblo-dev libfftw3-dev
|
|
|
|
|
|
2022-09-16 04:31:45 -03:00
|
|
|
Install dependancies for the interface:
|
2022-09-04 07:50:37 -03:00
|
|
|
|
|
|
|
|
$ sudo apt install build-essential qtcreator qt5-default
|
|
|
|
|
|
2022-09-07 07:03:23 -03:00
|
|
|
Build $ run it:
|
2022-09-04 07:50:37 -03:00
|
|
|
|
2022-09-07 07:03:23 -03:00
|
|
|
$ cd app
|
2022-09-04 07:50:37 -03:00
|
|
|
$ qmake
|
|
|
|
|
$ make
|
2022-09-16 04:31:45 -03:00
|
|
|
$ sudo make install
|
2022-09-07 07:03:23 -03:00
|
|
|
$ samplebrain
|
2022-09-16 04:31:45 -03:00
|
|
|
|
|
|
|
|
# Mac build additions:
|
|
|
|
|
|
|
|
|
|
To make a mac app bundle:
|
|
|
|
|
|
|
|
|
|
* Run `macdeployqt` to copy all dependancies inside the app.
|
|
|
|
|
* Copy desktop/samplebrain.icns (the icon) to the Resources directory in the bundle.
|
|
|
|
|
* Edit Info.plist to add samplebrain.icns to CFBundleIconFile.
|
2022-09-07 07:03:23 -03:00
|
|
|
|
2022-09-04 07:50:37 -03:00
|
|
|
## What's here
|
|
|
|
|
|
2022-09-07 07:18:06 -03:00
|
|
|
1. brain:
|
|
|
|
|
* samplebrain engine code
|
|
|
|
|
2. app:
|
|
|
|
|
* code to build the Qt GUI app
|
2022-09-07 07:03:23 -03:00
|
|
|
3. gui:
|
|
|
|
|
* qt designer project files
|
2022-09-16 04:31:45 -03:00
|
|
|
4. desktop:
|
|
|
|
|
* various icon file etc
|
2022-09-07 07:03:23 -03:00
|
|
|
4. cooking:
|
2022-09-04 07:50:37 -03:00
|
|
|
* sketches and ideas
|
|
|
|
|
* proof of concept written in python
|
2022-09-07 07:18:06 -03:00
|
|
|
* initial (abandoned) attempt at clojure version
|
2022-09-04 07:50:37 -03:00
|
|
|
|
2022-09-07 07:03:23 -03:00
|
|
|
|
|
|
|
|
|