Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Musical Isomorphisms by Default #269

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Move musical iso to just default
  • Loading branch information
GeorgeR227 committed Nov 1, 2024
commit 8cfff5ec4a60a84013ab58f7f77f0d874d641929
7 changes: 1 addition & 6 deletions src/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function default_dec_generate(sd::HasDeltaSet, my_symbol::Symbol, hodge::Discret
# :plus => (+)
:(-) || :neg => x -> -1 .* x
:ln => (x -> log.(x))

# Musical Isomorphisms
:♯ᵖᵖ => dec_♯_p(sd)
:♯ᵈᵈ => dec_♯_d(sd)
Expand Down Expand Up @@ -81,12 +82,6 @@ function default_dec_matrix_generate(sd::HasDeltaSet, my_symbol::Symbol, hodge::
:Δᵈ₀ => Δᵈ(Val{0},sd)
:Δᵈ₁ => Δᵈ(Val{1},sd)

# Musical Isomorphisms
:♯ᵖᵖ => dec_♯_p(sd)
:♯ᵈᵈ => dec_♯_d(sd)

:♭ᵈᵖ => dec_♭(sd)

# Averaging Operator
:avg₀₁ => dec_avg₀₁(sd)

Expand Down
Loading