Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/get-started/first-program.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ What each line is for:
You can render the script offline, with no host and no plug-in, to check that it makes sound. From a checkout of this repository, in a virtual environment with the audio packages from PyPI:

```bash
pip install --pre \
pip install \
omnipython-audiodsp omnipython-audioinstruments omnipython-audioeffects numpy
```

Expand Down
12 changes: 4 additions & 8 deletions scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,13 @@ log "creating .venv (omnipython-audiodsp, omnipython-audioinstruments," \
if [[ ! -d "$repo_dir/.venv" ]]; then
python3 -m venv "$repo_dir/.venv" || die "python3 -m venv failed"
fi
# The three OmniPython distributions publish pre-releases, so they install
# with --pre, on their own: the tools after them stay on final releases. The
# instruments and the effects are published from PyDevices/audioinstruments
# and PyDevices/audioeffects.
"$repo_dir/.venv/bin/pip" install -q --pre \
omnipython-audiodsp omnipython-audioinstruments omnipython-audioeffects \
|| die "installing the OmniPython audio packages into .venv failed"
# The instruments and the effects are published from
# PyDevices/audioinstruments and PyDevices/audioeffects.
"$repo_dir/.venv/bin/pip" install -q \
omnipython-audiodsp omnipython-audioinstruments omnipython-audioeffects \
numpy flake8 \
pyloudnorm soundfile scipy pyyaml \
|| die "installing numpy/flake8 and the QC tools into .venv failed"
|| die "installing the OmniPython audio packages/numpy/flake8 into .venv failed"
# pyloudnorm/soundfile/scipy are only for tools/audio_qc.py, which measures a
# rendered WAV's loudness and true peak. Nothing in the ctest suite needs them.
log ".venv ready - this is what gates the mpvst_lint, mpvst_instruments_library" \
Expand Down
5 changes: 2 additions & 3 deletions tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ Both need the `audiodsp` wheel's venv - this repo's own `.venv` if you have set
one up:

```bash
pip install --pre \
pip install \
omnipython-audiodsp omnipython-audioinstruments omnipython-audioeffects numpy
```

`--pre` takes the newest pre-releases of the three, which is what they
publish. `preview.py` also needs mpvst installed, because
`preview.py` also needs mpvst installed, because
it loads instruments the way the sidecar does - through the bundle's
`mpvst_instrument_adapter`. Point `MPVST_BUNDLE` at the install if it is
somewhere unusual.
Expand Down
Loading