Plugins / ptp / AudioToolbox Plugin

AudioToolbox Plugin

Allows EZBuilder to use UWP speech voices, change default audio devices, capture sound and route to an EZB.

Register   Download Plugin

This plugin is version 5, was last modified on 7/17/2017, and is 89,853 Bytes. The author is ptp.

Requirements

This plugin requires EZ-Builder for Microsoft Windows PC.

  Get EZ-Builder for Windows

Plugin Details

*** Version 5

Cortana Voice Added

*** Version 4 : New Features

Code:


ControlCommand("AudioToolbox plugin", "ImportUWPVoices")



The above script command allows EZ-Builder to access the UWP Voices.

How to use quick video:



*** Version 2 : New Features

Set Default Devices:

User-inserted image

Select the desired devices and press "Set Default" button

Set Default Devices via EZ-Script:

First configure the devices:

User-inserted image

script:

Code:


#SetDefault takes in consideration the device type (input or output)

#Set device 0 as default
ControlCommand("AudioToolbox plugin", "SetDefault", 0)
SayWait("Hello Device 0")

#Set device 1 as default
ControlCommand("AudioToolbox plugin", "SetDefault", 1)
SayWait("Hello Device 1")




*** Version 1

1) Start Capturing sound on device #1:

Code:


ControlCommand("AudioToolbox plugin", "StartCapture", 1)



2) Set EZB #0 to listen to device #1:

Code:


#0 = EZB Controller Index (0..4)
#1 = Device Index (0..2)
#75 = Volume
ControlCommand("AudioToolbox plugin", "StartEZBListen", 0, 1, 75)



2.1) Add EZB #1 to listen to device #1:

Code:


ControlCommand("AudioToolbox plugin", "StartEZBListen", 1, 1, 100)



3) Stop EZB #0 to listen

Code:


ControlCommand("AudioToolbox plugin", "StopEzbListen", 0)



4) Stop Capture on device #1

Code:


ControlCommand("AudioToolbox plugin", "StopCapture", 1)



*****
Note:

You have the option to configure the 3 devices (device num: 0 .. 2):

User-inserted image