…/sunvox/examples$ python -m rv.tools.player nt\ -\ Berlin\ FM.sunvox
Traceback (most recent call last):
File "/Users/gldnspud/proj/sv/voices/src/python/rv/modules/module.py", line 337, in set_raw
value = t(from_raw_value(raw_value))
File "/Users/gldnspud/proj/sv/voices/src/python/rv/controller.py", line 113, in __call__
self.validate(value)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/controller.py", line 137, in validate
raise e
rv.errors.RangeValidationError: (300, 0, 256)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/gldnspud/.asdf/installs/python/3.9.2/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/gldnspud/.asdf/installs/python/3.9.2/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/tools/player.py", line 104, in <module>
sys.exit(main())
File "/Users/gldnspud/proj/sv/voices/src/python/rv/tools/player.py", line 59, in main
obj = read_sunvox_file(filename)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 27, in read_sunvox_file
return reader.object
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 43, in object
self.process_chunks()
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 62, in process_chunks
method(data)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/initial.py", line 8, in process_SVOX
self.object = SunVoxReader(self.f).object
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 43, in object
self.process_chunks()
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/sunvox.py", line 20, in process_chunks
super().process_chunks()
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 62, in process_chunks
method(data)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/sunvox.py", line 109, in process_SFFF
reader.process_chunks()
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/module.py", line 26, in process_chunks
super().process_chunks()
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 62, in process_chunks
method(data)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/module.py", line 128, in process_CHNM
self._load_last_chunk()
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/module.py", line 120, in _load_last_chunk
self.object.load_chunk(self._current_chunk)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/modules/metamodule.py", line 275, in load_chunk
self.load_project(chunk)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/modules/metamodule.py", line 284, in load_project
self.project = read_sunvox_file(BytesIO(chunk.chdt))
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 27, in read_sunvox_file
return reader.object
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 43, in object
self.process_chunks()
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 62, in process_chunks
method(data)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/initial.py", line 8, in process_SVOX
self.object = SunVoxReader(self.f).object
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 43, in object
self.process_chunks()
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/sunvox.py", line 20, in process_chunks
super().process_chunks()
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 62, in process_chunks
method(data)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/sunvox.py", line 109, in process_SFFF
reader.process_chunks()
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/module.py", line 26, in process_chunks
super().process_chunks()
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/reader.py", line 62, in process_chunks
method(data)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/readers/module.py", line 154, in process_SEND
self.object.set_raw(controller_name, raw_value)
File "/Users/gldnspud/proj/sv/voices/src/python/rv/modules/module.py", line 340, in set_raw
raise ControllerValueError(
rv.errors.ControllerValueError: 0(MetaModule).user_defined_5=300 is not within [0, 256]