|
|
@ -215,6 +215,8 @@ class ClientCallbacks(Callbacks): #inherits from the templates api callbacks |
|
|
|
callbacks._dataChanged() |
|
|
|
|
|
|
|
def _numberOfMeasuresChanged(self): |
|
|
|
"""The whole song got longer or shorter. |
|
|
|
Number of measures is the same for all tracks.""" |
|
|
|
export = session.data.export() |
|
|
|
for func in self.numberOfMeasuresChanged: |
|
|
|
func(export) |
|
|
@ -228,6 +230,7 @@ class ClientCallbacks(Callbacks): #inherits from the templates api callbacks |
|
|
|
callbacks._dataChanged() |
|
|
|
|
|
|
|
def _swingChanged(self): |
|
|
|
"""Global for the whole song""" |
|
|
|
export = session.data.swing |
|
|
|
for func in self.swingChanged: |
|
|
|
func(export) |
|
|
|