Hi Stefan,
as abjad user I find this interesting, although abjad already provides some functionality in this regard. You can write me privately (in German if you wish), I'd be glad to give you feedback or simply checking out your module. If you want to integrate this to Lilypond, like Jean says, Scheme and not Python (unfortunately for some of us who can barely read any Scheme) can be integrated into Lilypond. Regards, Martín. www.martinrinconbotero.com > > On Sep 20, 2022 at 3:53 PM, <Stefan Thomas > (mailto:kontrapunktste...@gmail.com)> wrote: > > > > > Dear community, > > sorry, it's a bit an off topic: If You are not interested in pitch-class set > theory, You don't have to read the following. > > I've worked on a python module dealing with pitch-class set theory as I've > read in "The structure of atonal music" by Allen Forte. > > I know that there already exists some modules like that but I want to > integrate it in lilypond. > > I'm still working on this module, but at the moment I can do: > > > Getting the normal form and prime form of a pcs. > > Transposing and inverting a pcs > > Finding subsets of a pcs given in primeform. > > > I'm working on: > > > Finding different kinds of similarity of pcs. > > Getting subcomplexes k and kh of a pcs. > > Finding primeform and so on, when pitches in lilypond-style are given. > > Getting pitches in lilypond-style when pitches in midinote-nums or as pcs are > given. > > > Let me know it if You are interested. Maybee it's only something of interest > for nerdy persons like me, but maybee for others too. > > Best, > > Stefan >