This paper describes the study and use of the PC- Slib library for Pure Data and its implementation in the project "Interface Design for the development of a touch screen with musical application". The project consists of a touch-sensitive interface that allows the drawing of musical gestures that are then mapped to a harmonic structure generated by the PCSlib library. Pure Data also is responsible of the translation and reproduction of the musical gestures via MIDI.