-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
upstreamThis issue is caused by upstream dependencyThis issue is caused by upstream dependency
Description
OS: Windows 10
Environment: Conda
Python version: 3.10
SuperCollider: 3.12.2
Running
render_filepath = "./files/nrt-render.wav"
context.render(render_filepath)as shown in the introduction notebook raises a CalledProcessError:
---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
Input In [66], in <cell line: 2>()
1 render_filepath = "./files/nrt-render.wav"
----> 2 context.render(render_filepath)
File c:\users\alneuman\sciebo\documents\2022\ma_dreinsch\mesonic-0.1.0\src\mesonic\context.py:314, in Context.render(self, output_path, **backend_kwargs)
304 def render(self, output_path, **backend_kwargs):
305 """Render this context in non-realtime using the Backend.
306
307 See Context.backend.render_nrt for more information.
(...)
312 Output path of the rendering.
313 """
--> 314 self._backend.render_nrt(self, output_path=output_path, **backend_kwargs)
File c:\users\alneuman\sciebo\documents\2022\ma_dreinsch\mesonic-0.1.0\src\mesonic\backend\backend_sc3nb.py:409, in BackendSC3NB.render_nrt(self, context, output_path, **backend_kwargs)
407 osc_file = Path(osc_path) / "nrtscore.osc"
408 # Use the sc3nb.Score class with the bundler messages to render
--> 409 Score.record_nrt(
410 bundler.messages(), osc_file.as_posix(), output_path, **backend_kwargs
411 )
File ~\miniconda3\envs\mesonic\lib\site-packages\sc3nb\sc_objects\score.py:139, in Score.record_nrt(cls, messages, osc_path, out_file, in_file, sample_rate, header_format, sample_format, options)
137 if options:
138 args.extend(options.options)
--> 139 completed_process = subprocess.run(
140 args=args,
141 check=True,
142 universal_newlines=True, # py>=3.7 text=True
143 stdout=subprocess.PIPE, # py>=3.7 capture_output=True
144 stderr=subprocess.PIPE,
145 )
146 print(completed_process.stdout)
147 print(completed_process.stderr)
File ~\miniconda3\envs\mesonic\lib\subprocess.py:524, in run(input, capture_output, timeout, check, *popenargs, **kwargs)
522 retcode = process.poll()
523 if check and retcode:
--> 524 raise CalledProcessError(retcode, process.args,
525 output=stdout, stderr=stderr)
526 return CompletedProcess(process.args, retcode, stdout, stderr)
CalledProcessError: Command '['C:/Program Files\\SuperCollider-3.12.2\\scsynth.exe', '-N', 'C:/Users/alneuman/AppData/Local/Temp/tmpshccs1rl/nrtscore.osc', '_', './files/nrt-render.wav', '44100', 'AIFF', 'int16']' returned non-zero exit status 3221226505.The file, however, has been created and is playable with for instance VLC. The Asig playback does not work but this is issue is on pya's end I guess.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
upstreamThis issue is caused by upstream dependencyThis issue is caused by upstream dependency