WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 3 votes, 1.33 average. Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-09-2004, 04:19 PM
adimov adimov is offline
Member
 
Join Date: Sep 2003
Location: Santa Barbara, CA
Posts: 11
vizrecorder

I get an error (winviz.exe has encountered a problem and....) when I try to use the vizrecorder.dll. I am running the following code and it crashes when I press spacebar:

import viz
import vizrecorder

viz.go()

text = viz.add(viz.TEXT3D,'Recording',viz.SCREEN)
text.alignment(viz.TEXT_CENTER_CENTER)
text.translate(0.5,0.5)
text.visible(0)
text.recording = 0

def mykey(key):
if key == ' ':
text.recording = not text.recording
text.visible(text.recording)
if text.recording:
vizrecorder.record('voice.wav')
else:
vizrecorder.stop()

viz.callback(viz.KEYBOARD_EVENT,mykey)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:24 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC