Skip to content

Commit 0b2074f

Browse files
author
Alexandre D'Hooge
committed
remove my properties
1 parent 58eeb04 commit 0b2074f

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

music21/note.py

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
from music21 import style
3636
from music21 import tie
3737
from music21 import volume
38-
from music21 import articulations
3938

4039
if t.TYPE_CHECKING:
4140
from collections.abc import Iterable, Sequence
@@ -1825,49 +1824,6 @@ def pitchChanged(self):
18251824
if self._chordAttached is not None:
18261825
self._chordAttached.clearCache()
18271826

1828-
@property
1829-
def string(self):
1830-
'''
1831-
Returns articulations.StringIndication if object has one.
1832-
'''
1833-
for art in self.articulations:
1834-
if isinstance(art, articulations.StringIndication):
1835-
return art
1836-
return None
1837-
1838-
1839-
@property
1840-
def fret(self):
1841-
'''
1842-
Returns articulations.FretIndication if object has one.
1843-
'''
1844-
for art in self.articulations:
1845-
if isinstance(art, articulations.FretIndication):
1846-
return art
1847-
return None
1848-
1849-
@property
1850-
def isBended(self):
1851-
'''
1852-
Returns True if the Note has a FretBend articulation. False otherwise.
1853-
'''
1854-
for art in self.articulations:
1855-
if isinstance(art, articulations.FretBend):
1856-
return True
1857-
return False
1858-
1859-
@property
1860-
def bend(self):
1861-
'''
1862-
Returns the articulations.FretBend object if there is one in self.articulations.
1863-
Returns None otherwise.
1864-
'''
1865-
if not self.isBended:
1866-
return None
1867-
for art in self.articulations:
1868-
if isinstance(art, articulations.FretBend):
1869-
return art
1870-
18711827
# ------------------------------------------------------------------------------
18721828
# convenience classes
18731829

0 commit comments

Comments
 (0)