Compare commits
1 Commits
d1f7b01067
...
392883abee
| Author | SHA1 | Date |
|---|---|---|
|
|
392883abee |
|
|
@ -18,29 +18,29 @@
|
||||||
|
|
||||||
# see also https://docs.gitlab.com/ee/ci/runners/saas/macos_saas_runner.html
|
# see also https://docs.gitlab.com/ee/ci/runners/saas/macos_saas_runner.html
|
||||||
|
|
||||||
# .macos_saas_runners:
|
.macos_saas_runners:
|
||||||
# tags:
|
tags:
|
||||||
# - shared-macos-amd64
|
- shared-macos-amd64
|
||||||
# image: macos-11-xcode-12
|
image: macos-11-xcode-12
|
||||||
|
|
||||||
# stages:
|
stages:
|
||||||
# - build
|
- build
|
||||||
# - test
|
- test
|
||||||
|
|
||||||
# before_script:
|
before_script:
|
||||||
# - echo "started by ${GITLAB_USER_NAME}"
|
- echo "started by ${GITLAB_USER_NAME}"
|
||||||
|
|
||||||
# build:
|
build:
|
||||||
# extends:
|
extends:
|
||||||
# - .macos_saas_runners
|
- .macos_saas_runners
|
||||||
# stage: build
|
stage: build
|
||||||
# script:
|
script:
|
||||||
# - echo "running scripts in the build job"
|
- echo "running scripts in the build job"
|
||||||
|
|
||||||
# test:
|
test:
|
||||||
# extends:
|
extends:
|
||||||
# - .macos_saas_runners
|
- .macos_saas_runners
|
||||||
# stage: test
|
stage: test
|
||||||
# script:
|
script:
|
||||||
# - echo "running scripts in the test job"
|
- echo "running scripts in the test job"
|
||||||
|
|
||||||
|
|
|
||||||
46
README.md
46
README.md
|
|
@ -19,7 +19,7 @@ Quick start:
|
||||||
1. Load a bunch of samples into the brain
|
1. Load a bunch of samples into the brain
|
||||||
2. Click (re)generate brain
|
2. Click (re)generate brain
|
||||||
3. Load a loop sample into the target
|
3. Load a loop sample into the target
|
||||||
4. Click (re)generate blocks
|
4. Click (re)generate target
|
||||||
5. Press play
|
5. Press play
|
||||||
6. Tweak brain
|
6. Tweak brain
|
||||||
|
|
||||||
|
|
@ -60,7 +60,7 @@ If you'd like the right font, optionally:
|
||||||
$ sudo apt install ttf-mscorefonts-installer
|
$ sudo apt install ttf-mscorefonts-installer
|
||||||
|
|
||||||
# Building from source
|
# Building from source
|
||||||
## Linux (Ubuntu)
|
|
||||||
Install libraries for the sample engine (use brew on mac, MinGW on win):
|
Install libraries for the sample engine (use brew on mac, MinGW on win):
|
||||||
|
|
||||||
$ sudo apt install libsndfile1-dev portaudio19-dev liblo-dev libfftw3-dev
|
$ sudo apt install libsndfile1-dev portaudio19-dev liblo-dev libfftw3-dev
|
||||||
|
|
@ -71,28 +71,8 @@ Install dependancies for the interface:
|
||||||
|
|
||||||
Build & run it:
|
Build & run it:
|
||||||
|
|
||||||
$ mkdir build
|
$ cd app
|
||||||
$ cd build
|
$ qmake
|
||||||
$ qmake ..
|
|
||||||
$ make
|
|
||||||
$ sudo make install
|
|
||||||
$ samplebrain
|
|
||||||
|
|
||||||
## Mac
|
|
||||||
Install libraries for sample engine:
|
|
||||||
|
|
||||||
$ brew install fftw portaudio
|
|
||||||
|
|
||||||
Install dependancies for the interface:
|
|
||||||
|
|
||||||
$ brew install qt
|
|
||||||
$ brew link qt
|
|
||||||
|
|
||||||
Build & run it:
|
|
||||||
|
|
||||||
$ mkdir build
|
|
||||||
$ cd build
|
|
||||||
$ qmake ..
|
|
||||||
$ make
|
$ make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
$ samplebrain
|
$ samplebrain
|
||||||
|
|
@ -101,21 +81,9 @@ Build & run it:
|
||||||
|
|
||||||
To make a mac app bundle:
|
To make a mac app bundle:
|
||||||
|
|
||||||
Run `macdeployqt` to copy all dependencies inside the app.
|
* Run `macdeployqt` to copy all dependancies inside the app.
|
||||||
|
* Copy desktop/samplebrain.icns (the icon) to the Resources directory in the bundle.
|
||||||
Create Mac app bundle:
|
* Edit Info.plist to add samplebrain.icns to CFBundleIconFile.
|
||||||
|
|
||||||
$ cd build
|
|
||||||
$ macdeployqt
|
|
||||||
|
|
||||||
Copy desktop/samplebrain.icns (the icon) to the Resources directory in the bundle.
|
|
||||||
|
|
||||||
$ cp ../desktop/samplebrain.icns samplebrain.app/Contents/Resources
|
|
||||||
|
|
||||||
Edit Info.plist to add samplebrain.icns to CFBundleIconFile. Key `CFBundleIconFile` should match:
|
|
||||||
|
|
||||||
<key>CFBundleIconFile</key>
|
|
||||||
<string>samplebrain.icns</string>
|
|
||||||
|
|
||||||
## What's here
|
## What's here
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue