Adding text-to-speech API methods

parent c90790df
...@@ -552,6 +552,24 @@ classdef itaVA < handle ...@@ -552,6 +552,24 @@ classdef itaVA < handle
[id] = VAMatlab('createSoundSourceExplicitRenderer', this.handle, name,renderer); [id] = VAMatlab('createSoundSourceExplicitRenderer', this.handle, name,renderer);
end end
function [signalSourceID] = createTextToSpeechSignalSource(this, name)
% Creates a text to speech signal
%
% Parameters:
%
% name [string] Displayed name (optional, default: '')
%
% Return values:
%
% signalSourceID [string] Signal source ID
%
if this.handle==0, error('Not connected.'); end;
if ~exist('name','var'), name = ''; end
[signalSourceID] = VAMatlab('createTextToSpeechSignalSource', this.handle, name);
end
function [] = deleteListener(this, listenerID) function [] = deleteListener(this, listenerID)
% Deletes a listener from the scene % Deletes a listener from the scene
% %
...@@ -1280,6 +1298,24 @@ classdef itaVA < handle ...@@ -1280,6 +1298,24 @@ classdef itaVA < handle
[info] = VAMatlab('getSignalSourceInfos', this.handle); [info] = VAMatlab('getSignalSourceInfos', this.handle);
end end
function [params] = getSignalSourceParameters(this, ID,args)
% Returns the current signal source parameters
%
% Parameters:
%
% ID [string] Signal source identifier
% args [mstruct] Requested parameters
%
% Return values:
%
% params [mstruct] Parameters
%
if this.handle==0, error('Not connected.'); end;
[params] = VAMatlab('getSignalSourceParameters', this.handle, ID,args);
end
function [info] = getSoundInfo(this, soundID) function [info] = getSoundInfo(this, soundID)
% Returns information on a loaded sound % Returns information on a loaded sound
% %
...@@ -2350,6 +2386,24 @@ classdef itaVA < handle ...@@ -2350,6 +2386,24 @@ classdef itaVA < handle
VAMatlab('setReproductionModuleMuted', this.handle, sModuleID,bMuted); VAMatlab('setReproductionModuleMuted', this.handle, sModuleID,bMuted);
end end
function [] = setSignalSourceParameters(this, ID,params)
% Sets signal source parameters
%
% Parameters:
%
% ID [string] Signal source identifier
% params [mstruct] Parameters
%
% Return values:
%
% None
%
if this.handle==0, error('Not connected.'); end;
VAMatlab('setSignalSourceParameters', this.handle, ID,params);
end
function [] = setSoundSourceAuralizationMode(this, soundSourceID,auralizationMode) function [] = setSoundSourceAuralizationMode(this, soundSourceID,auralizationMode)
% Returns the auralization mode of a sound source % Returns the auralization mode of a sound source
% %
......
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