Fixed VAVec3 to Python sequence parser problem for all setter/getter

parent 532dc2d0
...@@ -40,7 +40,9 @@ ...@@ -40,7 +40,9 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"metadata": {}, "metadata": {
"collapsed": true
},
"outputs": [], "outputs": [],
"source": [ "source": [
"va.connect( \"localhost\" );" "va.connect( \"localhost\" );"
...@@ -56,7 +58,9 @@ ...@@ -56,7 +58,9 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"metadata": {}, "metadata": {
"collapsed": true
},
"outputs": [], "outputs": [],
"source": [ "source": [
"va.reset()" "va.reset()"
...@@ -72,7 +76,9 @@ ...@@ -72,7 +76,9 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"metadata": {}, "metadata": {
"collapsed": true
},
"outputs": [], "outputs": [],
"source": [ "source": [
"va.set_output_gain( 0.25 )" "va.set_output_gain( 0.25 )"
...@@ -89,7 +95,9 @@ ...@@ -89,7 +95,9 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"metadata": {}, "metadata": {
"collapsed": true
},
"outputs": [], "outputs": [],
"source": [ "source": [
"va.add_search_path( os.getcwd() );" "va.add_search_path( os.getcwd() );"
...@@ -110,8 +118,8 @@ ...@@ -110,8 +118,8 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"signal_source_id = va.create_audio_file_signal_source( 'Audiofiles/Bauer.wav' )\n", "signal_source_id = va.create_audio_file_signal_source( 'Audiofiles/Bauer.wav' )\n",
"va.set_audiofile_signal_source_playback_action( signal_source_id, 'play' )\n", "va.set_audio_file_signal_source_playback_action_str( signal_source_id, 'play' )\n",
"va.set_audiofile_signal_source_is_looping( signal_source_id, True )" "va.set_audio_file_signal_source_playback_is_looping( signal_source_id, True )"
] ]
}, },
{ {
...@@ -129,7 +137,7 @@ ...@@ -129,7 +137,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"sound_source_id = va.create_sound_source( 'PySoundSource' )\n", "sound_source_id = va.create_sound_source( 'PySoundSource' )\n",
"va.set_sound_source_position( sound_source_id, ( 1.5 1.7, -1.1 ) )" "va.set_sound_source_position( sound_source_id, ( 1.5, 1.7, -1.1 ) )"
] ]
}, },
{ {
...@@ -143,7 +151,9 @@ ...@@ -143,7 +151,9 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"metadata": {}, "metadata": {
"collapsed": true
},
"outputs": [], "outputs": [],
"source": [ "source": [
"va.set_sound_source_signal_source( sound_source_id, signal_source_id )" "va.set_sound_source_signal_source( sound_source_id, signal_source_id )"
...@@ -199,7 +209,9 @@ ...@@ -199,7 +209,9 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"metadata": {}, "metadata": {
"collapsed": true
},
"outputs": [], "outputs": [],
"source": [ "source": [
"va.set_active_listener( listener_id )" "va.set_active_listener( listener_id )"
......
...@@ -39,8 +39,8 @@ static struct PyMethodDef va_methods[] = ...@@ -39,8 +39,8 @@ static struct PyMethodDef va_methods[] =
{ "get_signal_source_info", ( PyCFunction ) va_get_signal_source_info, METH_FASTCALL, va_no_doc }, { "get_signal_source_info", ( PyCFunction ) va_get_signal_source_info, METH_FASTCALL, va_no_doc },
{ "get_signal_source_infos", (PyCFunction)va_get_signal_source_infos, METH_FASTCALL, va_no_doc }, { "get_signal_source_infos", (PyCFunction)va_get_signal_source_infos, METH_FASTCALL, va_no_doc },
{ "get_audio_file_signal_source_playback_state", (PyCFunction)va_get_audio_file_signal_source_playback_state, METH_FASTCALL, va_no_doc }, { "get_audio_file_signal_source_playback_state", (PyCFunction)va_get_audio_file_signal_source_playback_state, METH_FASTCALL, va_no_doc },
{ "set_audio_file_signal_source_playback_action", (PyCFunction)va_set_audio_file_signal_source_playback_action, METH_FASTCALL, va_no_doc },
{ "get_audio_file_signal_source_playback_state_str", (PyCFunction)va_get_audio_file_signal_source_playback_state_str, METH_FASTCALL, va_no_doc }, { "get_audio_file_signal_source_playback_state_str", (PyCFunction)va_get_audio_file_signal_source_playback_state_str, METH_FASTCALL, va_no_doc },
{ "set_audio_file_signal_source_playback_action", (PyCFunction)va_set_audio_file_signal_source_playback_action, METH_FASTCALL, va_no_doc },
{ "set_audio_file_signal_source_playback_action_str", (PyCFunction)va_set_audio_file_signal_source_playback_action_str, METH_FASTCALL, va_no_doc }, { "set_audio_file_signal_source_playback_action_str", (PyCFunction)va_set_audio_file_signal_source_playback_action_str, METH_FASTCALL, va_no_doc },
{ "set_audio_file_signal_source_playback_position", (PyCFunction)va_set_audio_file_signal_source_playback_position, METH_FASTCALL, va_no_doc }, { "set_audio_file_signal_source_playback_position", (PyCFunction)va_set_audio_file_signal_source_playback_position, METH_FASTCALL, va_no_doc },
{ "get_audio_file_signal_source_playback_is_looping", (PyCFunction)va_get_audio_file_signal_source_playback_is_looping, METH_FASTCALL, va_no_doc }, { "get_audio_file_signal_source_playback_is_looping", (PyCFunction)va_get_audio_file_signal_source_playback_is_looping, METH_FASTCALL, va_no_doc },
......
This diff is collapsed.
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