Is there any way to save a CHOP channel as an audio file via Python in H16.5 ?
I can right click on the CHOP and Save->Data Channles and give the filename a .wav extension and it writes a correct audio wav file, but it looks like hou.ChopNode.saveClip() method isn't implemented in 16.5 and (maybe) is in 17.0.. ?
Would that be the only way to get a sound file out through Python?
Save CHOP audio to .wav file via Python in 16.5 ?
1115 2 0- cruiserandmax
- Member
- 35 posts
- Joined: April 2015
- Offline
- tamte
- Member
- 8599 posts
- Joined: July 2007
- Offline
I think you can just wrap opsave hscript command in hou.hscript() call
http://www.sidefx.com/docs/houdini/hom/hou/hscript.html [www.sidefx.com]
http://www.sidefx.com/docs/houdini/commands/opsave.html [www.sidefx.com]
http://www.sidefx.com/docs/houdini/hom/hou/hscript.html [www.sidefx.com]
http://www.sidefx.com/docs/houdini/commands/opsave.html [www.sidefx.com]
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- cruiserandmax
- Member
- 35 posts
- Joined: April 2015
- Offline
-
- Quick Links