Static Public Member Functions | Static Private Member Functions | List of all members
ai.picovoice.porcupinedemo.MicDemo Class Reference

Static Public Member Functions

static void main (String[] args)
 
static void runDemo (String accessKey, String libPath, String modelPath, String[] keywordPaths, float[] sensitivities, int audioDeviceIndex, String outputPath)
 

Static Private Member Functions

static Options BuildCommandLineOptions ()
 
static TargetDataLine getAudioDevice (int deviceIndex, DataLine.Info dataLineInfo) throws LineUnavailableException
 
static TargetDataLine getDefaultCaptureDevice (DataLine.Info dataLineInfo) throws LineUnavailableException
 
static void showAudioDevices ()
 

Detailed Description

Definition at line 29 of file porcupine/demo/java/src/ai/picovoice/porcupinedemo/MicDemo.java.

Member Function Documentation

◆ BuildCommandLineOptions()

static Options ai.picovoice.porcupinedemo.MicDemo.BuildCommandLineOptions ( )
inlinestaticprivate

◆ getAudioDevice()

static TargetDataLine ai.picovoice.porcupinedemo.MicDemo.getAudioDevice ( int  deviceIndex,
DataLine.Info  dataLineInfo 
) throws LineUnavailableException
inlinestaticprivate

◆ getDefaultCaptureDevice()

static TargetDataLine ai.picovoice.porcupinedemo.MicDemo.getDefaultCaptureDevice ( DataLine.Info  dataLineInfo) throws LineUnavailableException
inlinestaticprivate

◆ main()

static void ai.picovoice.porcupinedemo.MicDemo.main ( String[]  args)
inlinestatic

◆ runDemo()

static void ai.picovoice.porcupinedemo.MicDemo.runDemo ( String  accessKey,
String  libPath,
String  modelPath,
String[]  keywordPaths,
float[]  sensitivities,
int  audioDeviceIndex,
String  outputPath 
)
inlinestatic

◆ showAudioDevices()

static void ai.picovoice.porcupinedemo.MicDemo.showAudioDevices ( )
inlinestaticprivate

The documentation for this class was generated from the following file:


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:20