SpatBASE » Concepts for Spatial Rendering and Sound Reproduction » Space Unit Generator »
Space~ external for Pure Data¶
Summary¶
- Description: Space~ is a real-time implementation of F. Richard Moore's Space Unit Generator for Csound. The central conceit of the algorithm is that of a /room within a room/. The inner room is the space delimited by the speakers which contains the listeners. The model simulates the behavior of the sound source within a user-defined virtual outer room, as heard from the inner room. The speakers act as "windows" through which sound from the outer room passes.[copied from here ].
- Developer: Shahrokh Yadegari, and F. Richard Moore
- Version: 0.4-alpha
- Platform: Pure Data
- OS: Linux, MacOS
- License: ?
- Status of this SpatBASE entry: in progress
Parameter definition¶
Coordinate system convention¶
- Cartesian system, x-axis to the right hand side, y-axis to the front
- Origin (0,0) in the middle of the "inner room"
Parameter describing a sound source¶
| parameter |
description |
data format |
range |
initial state |
unit |
example |
misc |
| 2nd leftmost inlet |
x-coordinate |
audio signal |
external room size |
? |
meter |
|
|
| 3rd leftmost inlet |
y-coordinate |
audio signal |
external room size |
? |
meter |
|
|
| 4th leftmost inlet |
gain value |
audio signal |
? |
? |
linear |
|
|
| 1st attribute |
source directivity |
string |
|
no directivity |
NA |
card |
|
| 5th leftmost inlet |
source radiation direction |
float |
|
|
radians |
|
only if "card" is defined |
| 6th leftmost inlet |
radiation level for the back direction |
float |
0 .... 1 |
|
linear |
|
only if "card" is defined |
| direct |
affecting the power laws for calculating the direct ray attenuation, in fact the distance of the sound source is modified with distance^direct |
float |
0 ...∞ |
1.0 |
NA |
direct 0.5 |
|
| theta |
the value of theta, the soure radiation direction |
float |
|
0.0 |
NA |
|
when "card" is not specified |
| back |
relative radiation factor in the opposite direction |
float |
|
0.0 |
NA |
|
|
Parameter describing a virtual space¶
- rightmost outlet: signal connection to overall reverb
| parameter |
description |
data format |
range |
initial state |
unit |
example |
misc |
| 3rd attribute of space~ |
size of the inner room size |
int |
0 .. ∞ |
5 (if not defined) |
meter |
|
room is assumed to be squared, loudspeakers are assumed to be in the corner of the inner room |
| 4th attribute of space~ |
size of the outer room size |
int |
0 .. ∞ |
50 (if not defined) |
meter |
|
room is assumed to be squared |
| reflect |
affecting the power laws for calculating the reflected ray attenuation, in fact the distance of the image source is modified by the equation distance^direct |
float |
0 ...∞ |
1.0 |
NA |
reflect 0.9 |
|
| th |
variable for diffreaction simulation of the inner room walls. Diffraction threshold, see equation 3 in ICMC02 paper |
float |
0 ...∞ |
0.4 |
NA |
th 1.0 |
alias: TH, threshold |
| cf |
variable for diffreaction simulation of the inner room walls. crossfade exponential factor, see equation 3 in ICMC02 paper |
float |
0 ...∞ |
0.5 |
NA |
cf 0.6 |
alias: CF, crossfade |
Parameter describing the position of loudspeakers¶
- Number of loudspeaker: 2 (stereo) or 4 (quadrophonic)
- Loudspeakers are assumed to be in the corner of the inner room.
- 1st signal outlet: Front Left Loudspeaker
- 2nd signal outlet: Front Right Loudspeaker
- 3rd signal outlet: Rear Left Loudspeaker (only in quad mode)
- 4th signal outlet: Rear Right Loudspeaker (only in quad mode)
| parameter |
description |
data format |
range |
initial state |
unit |
example |
misc |
| 2nd attribute of space~ |
diffusion mode |
string |
stereo / quad |
quad |
NA |
|
2-channel or 4 channel sound diffusion, speakers are assumed to be in the corner of inner room |
Other parameter¶
| parameter |
description |
data format |
range |
initial state |
unit |
example |
misc |
| stop |
stop rendering |
|
|
|
|
|
message sent to first inlet |
| start |
start rendering |
|
|
|
|
|
message sent to first inlet |
Projects¶
- art or research projects utilizing this spatial renderer
- GUI screenshots
- Example patches
- things which might explain the listed content better
References¶
- Yadegari, S., Moore, F. R., Castle, H., Burr, A., and Apel, T. (2002). Real-Time Implementation of a General Model for Spatial Processing of Sounds. In Proceedings of the 2002 International Computer Music Conference, pages 244 – 247, San Francisco, US. [pdf]
- Yadegari, S. (2005). Inner Room Extension of General Model for Spatial Processing of Sounds.
In Proceedings of the 2005 International Computer Music Conference, Barcelona. [pdf]
External Links¶