Skip to content

Commit 1ec1649

Browse files
authored
DOC: show how to set the Pd path (#364)
1 parent f1e45bd commit 1ec1649

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../data/impulse_responses/hrirs/hrirs_fabian_min_phase_eq.wav
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#N canvas 634 36 431 229 12;
2+
#X declare -path ssr;
3+
#X obj 9 16 declare -path ssr;
4+
#X obj 17 155 ssr_binaural~ 2 hrirs_fabian_min_phase_eq.wav;
5+
#X obj 18 187 dac~;
6+
#X text 142 190 SOFA files can also be used!;
7+
#X obj 358 106 *~ 0.1;
8+
#X obj 359 82 noise~;
9+
#X obj 289 82 osc~ 440;
10+
#X obj 289 106 *~ 0.2;
11+
#X msg 35 53 src 1 pos -2 0;
12+
#X msg 36 83 src 1 pos -1 3;
13+
#X msg 156 53 src 2 pos 2 0;
14+
#X msg 157 83 src 2 pos 1 3;
15+
#X connect 1 0 2 0;
16+
#X connect 1 1 2 1;
17+
#X connect 4 0 1 1;
18+
#X connect 5 0 4 0;
19+
#X connect 6 0 7 0;
20+
#X connect 7 0 1 0;
21+
#X connect 8 0 1 0;
22+
#X connect 9 0 1 0;
23+
#X connect 10 0 1 0;
24+
#X connect 11 0 1 0;
-43.4 KB
Loading

doc/manual/use-cases.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,20 @@ SSR in Pure Data
3333
^^^^^^^^^^^^^^^^
3434

3535
The SSR renderers are available as externals in `Pure Data <https://puredata
36-
.info/>`_. Install them in Pd via Help -> Find externals, then search for
36+
.info/>`_ (Pd). Install them in Pd via
37+
:menuselection:`Help --> Find externals`,
38+
then search for
3739
'ssr'. This is available on both Linux and macOS, whereby the macOS version
3840
for Macs with Apple silicon is experimental. If this one does not work for you,
3941
use Pd for Intel processors with
4042
`Rosetta <https://en.wikipedia.org/wiki/Rosetta_(software)>`_.
4143

44+
Each renderer is available as a separate external, namely
45+
``ssr_binaural~``, ``ssr_brs~``, ``ssr_dca~``,
46+
``ssr_aap~``, ``ssr_wfs~`` and ``ssr_vbap~``.
47+
The externals have to be added to Pure Data's path,
48+
for example by creating an object ``[declare -path ssr]`` in your patch.
49+
4250
Here is a screenshot of what it looks like when using SSR's binaural renderer
4351
with the minimum-phase EQ'd HRIRs of the FABIAN manikin and 2 virtual sound
4452
sources in Pd, whereby the signal that feeds source 1 is a sine of 440 Hz, and
@@ -47,6 +55,10 @@ the signal that feeds source 2 is noise:
4755
.. figure:: images/ssr_binaural_pd.png
4856
:align: center
4957

58+
The source positions, orientations and many other things
59+
can be changed by sending messages to the external.
60+
See the help patch for all available messages.
61+
5062
The computational performance of SSR in Pd is somewhat lower than that of the
5163
standalone version because we have not got it to work in Pd with internal
5264
block sizes that are larger than 64. Such short blocks cause filters to be

0 commit comments

Comments
 (0)