Mostra el registre d'ítem simple

dc.contributorMoreno Eguilaz, Juan Manuel
dc.contributor.authorMartinez Garcia, Antonio
dc.contributor.otherUniversitat Politècnica de Catalunya. Departament d'Enginyeria Electrònica
dc.date.accessioned2018-03-20T16:53:17Z
dc.date.available2018-03-20T16:53:17Z
dc.date.issued2018-01-18
dc.identifier.urihttp://hdl.handle.net/2117/115480
dc.description.abstractThis report details the migration process of the Quartet code from a Microchip PIC24 microcontroller, which was previously migrated by Pau Mendieta from a Microchip PIC18 microcontroller, to a CY8CKIT-042-BLE PSoC 4 microcontroller manufactured by Cypress Semiconductor. It also explains how several improvements, both in sound quality and program functionality, have been implemented into the final program once the migration was completed. The original Quartet code, developed by Victor Timofeev, synthesized 4 different voices (two guitars, a violin and a bass) coordinated by a conductor task, each of which played from its own music sheet, which was stored in ROM. The sound samples were generated using amplitude modulation: the characteristic waveform of the instrument (also stored in ROM) and its amplitude envelope (generated through software) were multiplied, and later exported through an 8-bit PWM running at 78 kHz. These could later be played on speakers with the help of an RC filter. The project was carried out by continuously testing the software on the actual microcontroller. Moreover, data was extracted from these tests and compared with the simulation of Pere Domenech’s PIC18 code. A great use of the example projects provided by Cypress Semiconductor, which demonstrate the features of the PSoC 4 through simple applications, has also been made. It was also essential to analyze different signals with an oscilloscope at the laboratory. The program obtained after completing the project exports the audio signal through a 16-bit PWM running at 92 kHz and includes an extra voice (a second violin), more accurate characteristic waveforms and improved amplitude envelopes, as well as added functionality, such as an extra octave and a wider note frequency range. The report first presents the basic operation of the original code, which was carefully studied at the beginning of the project. Then, it explains how the OS (FreeRTOS) and the program were migrated, along with the extensive troubleshooting process that followed. Moreover, it details the improvements that were made once the code worked correctly. Finally, suggestions are made for future improvements.
dc.language.isoeng
dc.publisherUniversitat Politècnica de Catalunya
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/3.0/es/
dc.subjectÀrees temàtiques de la UPC::Enginyeria electrònica
dc.subject.lcshMicrocontrollers
dc.subject.lcshSound Recording and reproducing -- Digital techniques
dc.titleMusic quartet based on a PSoC
dc.typeBachelor thesis
dc.subject.lemacMicrocontroladors
dc.subject.lemacSo -- Enregistrament i reproducció -- Tècniques digitals
dc.identifier.slugETSEIB-240.130826
dc.rights.accessOpen Access
dc.date.updated2018-02-07T06:33:54Z
dc.audience.educationlevelGrau
dc.audience.mediatorEscola Tècnica Superior d'Enginyeria Industrial de Barcelona
dc.audience.degreeGRAU EN ENGINYERIA EN TECNOLOGIES INDUSTRIALS (Pla 2010)


Fitxers d'aquest items

Thumbnail
Thumbnail

Aquest ítem apareix a les col·leccions següents

Mostra el registre d'ítem simple