Rhythm Tapper (source code)
This is a template for a poetry interface that uses sound to 'tap out' the rhythm of the words of a poem, using tagging of the words' stressed and unstressed syllables.
Content
This code repository contains the HTML and JS file for the interface, along with the sound and image assets. It also contains a Python script that uses the Pronouncing library to generate the tagging of stressed and unstressed syllables in the text.
The poems in this interface have been replaced with placeholder text, which is clearly marked in the index.js file.
Third-party software
JQuery - used throughout for UI design (MIT License - Copyright and license can be found at http://jquery.org/license/
Pronouncing - The Pronouncing library for Python is used here to detect the stress patterns in the poem text. Pronouncing was created by Allison Parrish and is used under the BSD 3-Clause "New" or "Revised" License (https://github.com/aparrish/pronouncingpy/blob/master/LICENSE)
Attribution
This code repository is part of the PhD thesis 'Poetry in Digital Media' by Peter Hebden, Newcastle University 2021. This source code is shared under the MIT License. A copy of the license is included in the root folder of this project.