PSYCHO library for Pure Data

  • Alexandre Porres University of São Paulo


This paper describes the PSYCHO library for the Pure Data programming language. This library provides novel functions for Pure Data and is a collection of compiled objects, abstractions and patches that include psychoacoustic models and conversions. Most notably, it provides models related to Sensory Dissonance, such as Sharpness, Roughness, Tonalness and Pitch Commonality. This library is an evolution and revision of earlier research work developed during a masters and PhD program. The previous developments had not been made easily available as a single and well documented library. Moreover, the work went through a major overhaul, got rid of the dependance of Pd Extended (now an abandoned and unsupported software) and provides new features. This paper describes the evolution of the early work into the PSYCHO library and presents its main objects, functions and contributions.

Palavras-chave: Music Perception, Psychoacoustics and Cognition, Real-time Interactive Systems, Sound Analysis and Synthesis


Porres, A.T. Processos de composição microtonal por meio do modelo de dissonância sensorial, Master dissertation, Unicamp, 2007.

W. Sethares, Tuning, Timbre, Spectrum, Scale (2nd ed.), Springer-Verlag, 2004.

Porres, A.T. “A Roughness Model for An Adaptive Tuning Patch Controlled by Antennas” PdCon07 (2nd International Pure Data Convention) Montreal, 2007.

Porres, A. T. and Pires, A.S. (2009). “Um External de Aspereza para Puredata & MAX/MSP,” in Proceedings of the 12th Brazilian Symposium on Computer Music 2009 (SBCM 2009). Recife, PE: Braz

Porres, A. T. Modelos psicoacústicos de dissonância para eletrônica ao vivo, PhD thesis, USP, 2012.

R. Parncutt, H. Strasburger, “Applying psychoacoustics in composition: “Harmonic" progressions of "non-harmonic" sonorities”, Perspectives of New Music, 1994, 32 (2), pp. 1-42.

Porres, A.T. “Dissonance Model Toolbox in Pure Data” Proceedings of the 4th Pure Data International Convention (PdCon11), Berlin, Germany, 2011.

H. Helmholtz, On the Sensations of Tone as a Psychological basis for the Theory of Music (2nd ed.), Dover Publications, 1954.

C. Barlow, “Von der Musiquantenlehre” Feedback Paper 34, 2008. Feedback Studio Verlag.

P.N. Vassilakis. “Perceptual and Physical Properties of Amplitude Fluctuation and their Musical Significance.” Ph.D. Thesis, 2001, UCLA.

Barlow, Clarence & Lohner, Henning. (1988). Two Essays on Theory. Computer Music Journal. 11. 44.

E. Terhardt, “The concept of musical consonance: A link between music and psychoacoustics”, Music Perception, 1984, Vol.1, pp. 276-295.

W. A. Sethares, A. J. Milne, S. Tiedje, “Spectral Tools for Dynamic Tonality and Audio Morphing” Computer Music Journal, 2009, Volume 33, Number 2, Summer 2009, pp. 71-84.

Brent, William. Perceptually Based Pitch Scales in Cepstral Techniques for Percussive Timbre Identification: a comparison of raw cepstrum, mel-frequency cepstrum, and Bark-frequency cepstrum. From the proceedings of the ICMC in Montreal, 2009.
Como Citar

Selecione um Formato
PORRES, Alexandre. PSYCHO library for Pure Data. In: SIMPÓSIO BRASILEIRO DE COMPUTAÇÃO MUSICAL (SBCM), 17. , 2019, São João del-Rei. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2019 . p. 121-124. DOI: