--
You received this message because you are subscribed to the Google Groups "abjad-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to abjad-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/abjad-user/710d85fd-3968-4c33-aa9b-2eae151cfa2en%40googlegroups.com.
Traceback (most recent call last):
File "/Users/seanodalaigh/test.py", line 2, in <module>
import evans
File "/Users/seanodalaigh/resources/evans_abjad_libs/evans/evans/__init__.py", line 7, in <module>
from .commands import (
File "/Users/seanodalaigh/resources/evans_abjad_libs/evans/evans/commands.py", line 15, in <module>
from .handlers import IntermittentVoiceHandler, RhythmHandler
File "/Users/seanodalaigh/resources/evans_abjad_libs/evans/evans/handlers.py", line 10, in <module>
from . import sequence
File "/Users/seanodalaigh/resources/evans_abjad_libs/evans/evans/sequence.py", line 788, in <module>
class Ratio(abjad.Ratio):
^^^^^^^^^^^
AttributeError: module 'abjad' has no attribute 'Ratio'
Hi Séan,
Yes, abjad
formerly had an abjad.Ratio
class as well as abjad.NonReducedFraction
and perhaps a handful of other tools. Most of the functionality of these objects have simply collapsed into the use of tuple pairs: (3, 4)
I’m finishing a PhD which is taking a lot of time and effort, so I have been using an older version of abjad
and I haven’t been refactoring my libraries very frequently. I intend to do a big update once I’ve graduated. The good news for you, however, is that abjadext.microtones
is totally free standing and does not import anything from evans
, tsmakers
, or any of my other personal libraries. evans.PitchHandler
does some fancy formatting stuff for the special microtones but everything can be managed without it.
maybe reach out in a couple of months after May and I might have ported everything up to the current abjad
. We'll see...
warm regards,
g.r.e.
To view this discussion on the web visit https://groups.google.com/d/msgid/abjad-user/b8158c88-8b0b-49a5-834e-543957d3392en%40googlegroups.com.
__
To view this discussion on the web visit https://groups.google.com/d/msgid/abjad-user/c19c5313-6ff3-4abc-bc94-bb0be8013061n%40googlegroups.com.
My personal libraries are currently running on abjad 3.13 (https://github.com/Abjad/abjad/releases/tag/v3.13) which is really quite old. I don’t recommend going back that far if you are planning on doing serious work with abjad. Trevor has made some incredible updates since then that I am excited to get my hands on. However if you install it in its own virtual environment just to play around with my code, that is certainly alright.
Trinton can attest that not all of my code is clean and bug-free right now. You might have fun with the Handler
classes or the Sequence
sub-library. The docs are here http://www.gregoryrowlandevans.com/perllan/ but they are also very out of date, well behind my current code base. (It has been a hectic couple of years.) However, there are a lot of doc tests in the code you can read though and anything without a doctest is probably fairly straightforward to use.
BUT because of the disrepair of my personal libraries (which I promise will be ported forward soon enough) I think it’s best to use them as a learning template and I don’t recommend deploying them for real projects.
abjadext.microtones
(https://github.com/GregoryREvans/abjad-ext-microtones) on the other hand I believe is in perfect working order and I do recommend it for serious use. All the pitch math is done in python and the actual accidental representation is provided by a stylesheet. So if you want different symbols than what I have provided, all you need to do is take the microtones stylesheet as a template and replace whatever you want. Even keeping just to the ekmelos font, there are many alternatives available. (http://www.ekmelic-music.org/en/extra/ekmelos.htm)
best,
g.r.e.
To view this discussion on the web visit https://groups.google.com/d/msgid/abjad-user/5337060795%40gmail.com.