Mercurial > code > home > repos > light9
comparison bin/keyboardcomposer @ 1777:299d49de85a8
effectSequencer info display
Ignore-this: 88d2b52511206f38b90b2658bc63ec9c
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Mon, 04 Jun 2018 07:05:42 +0000 |
parents | f140153c087c |
children | 1aac97248a1b |
comparison
equal
deleted
inserted
replaced
1776:b680d6f50a93 | 1777:299d49de85a8 |
---|---|
458 for setting in _graph.objects(self.session, L9['subSetting']): | 458 for setting in _graph.objects(self.session, L9['subSetting']): |
459 effect = _graph.value(setting, L9['sub']) | 459 effect = _graph.value(setting, L9['sub']) |
460 strength = _graph.value(setting, L9['level']) | 460 strength = _graph.value(setting, L9['level']) |
461 if strength: | 461 if strength: |
462 now = time.time() | 462 now = time.time() |
463 outputSettings.append( | 463 out, report = self.effectEval[effect].outputFromEffect( |
464 self.effectEval[effect].outputFromEffect( | 464 [(L9['strength'], strength)], |
465 [(L9['strength'], strength)], | 465 songTime=now, |
466 songTime=now, | 466 # should be counting from when you bumped up from 0 |
467 # should be counting from when you bumped up from 0 | 467 noteTime=now) |
468 noteTime=now)) | 468 outputSettings.append(out) |
469 | 469 |
470 return DeviceSettings.fromList(_graph, outputSettings) | 470 return DeviceSettings.fromList(_graph, outputSettings) |
471 | 471 |
472 def save_current_stage(self, subname): | 472 def save_current_stage(self, subname): |
473 log.info("saving current levels as %s", subname) | 473 log.info("saving current levels as %s", subname) |