Updating python binding

parent d01ebfd5
......@@ -523,7 +523,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.2"
"version": "3.6.6"
}
},
"nbformat": 4,
......
......@@ -12,18 +12,15 @@ va.connect() # localhost
va.reset()
va.add_search_path( current_exec_dir ) # add current working path to find any file lying around here
signal_source_id = va.create_signal_source_buffer_from_file( 'Audiofiles/lang_short.wav' ) # Provide this file or modify file name and use your own
dir_id = va.create_directivity_from_file( '$(Trumpet)' )
signal_source_id = va.create_signal_source_buffer_from_file( '$(DemoSound)' ) # Provide this file or modify file name and use your own
sound_source_id = va.create_sound_source( 'PySoundSource' )
va.set_sound_source_signal_source( sound_source_id, signal_source_id )
va.set_sound_source_directivity( sound_source_id, dir_id )
va.set_sound_source_position( sound_source_id, ( 1, 1.2, -1 ) ) # OpenGL axes convention, direction is lower front-right from listener pos (s.b.)
hrir_id = va.create_directivity_from_file( '$(DefaultHRIR)' )
sound_receiver_id = va.create_sound_receiver( "PyListener" )
sound_receiver_id = va.create_sound_receiver( 'PyListener' )
va.set_sound_receiver_directivity( sound_receiver_id, hrir_id )
va.set_sound_receiver_position( sound_receiver_id, ( 0, 1.7, 0 ) ) # Ear height at 1.7m
......
......@@ -10,7 +10,7 @@ module1 = Extension('va',
( 'VISTAASPECTS_STATIC',0 ) ],
include_dirs = [ '../VABase/include', '../VANet/include' ],
libraries = [ 'VABase', 'VANet', 'VistaBase', 'VistaAspects', 'VistaInterProcComm', 'winmm', 'ws2_32' ],
library_dirs = [ '../build_win32-x64.vc14/lib','../../ViSTA/build_win32-x64.vc14/lib' ],
library_dirs = [ '../build_win32-x64.vc14_static/lib','../../ViSTA/build_win32-x64.vc14_static/lib' ],
sources = [ 'src/vasingleton.cpp' ] )
setup ( name = 'va',
......@@ -22,6 +22,6 @@ setup ( name = 'va',
long_description = '''
Virtual Acoustics (VA) is a real-time auralization framework for Virtual Reality. This module is an interface to interact with a VA server.
''',
license = "Copyright 2017. Apache License Version 2.0",
license = "Copyright 2017-2019. Apache License Version 2.0",
ext_modules = [ module1 ]
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment