MCPcopy Create free account
hub / github.com/bspaans/python-mingus / transpose

Method transpose

mingus/containers/track.py:156–163  ·  view source on GitHub ↗

Transpose all the notes in the track up or down the interval. Call transpose() on every Bar.

(self, interval, up=True)

Source from the content-addressed store, hash-verified

154 return self
155
156 def transpose(self, interval, up=True):
157 """Transpose all the notes in the track up or down the interval.
158
159 Call transpose() on every Bar.
160 """
161 for bar in self.bars:
162 bar.transpose(interval, up)
163 return self
164
165 def augment(self):
166 """Augment all the bars in the Track."""

Callers 1

test_transposeMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_transposeMethod · 0.76