audio module

AudioImpulseRunner

class edge_impulse_linux.audio.AudioImpulseRunner(
		model_path: str
)

Parameters

  • model_path: str

Bases

  • edge_impulse_linux.runner.ImpulseRunner

Methods

classifier

edge_impulse_linux.audio.classifier(
		self,
		device_id=None
)

Parameters

  • self

  • device_id=None

classify

edge_impulse_linux.audio.classify(
		self,
		data
)

Parameters

  • self

  • data

init

edge_impulse_linux.audio.init(
		self
)

Parameters

  • self

Microphone

class edge_impulse_linux.audio.Microphone(
		rate,
		chunk_size,
		device_id=None,
		channels=1
)

Parameters

  • rate

  • chunk_size

  • device_id=None

  • channels=1

Methods

checkDeviceModelCompatibility

edge_impulse_linux.audio.checkDeviceModelCompatibility(
		self,
		device_id
)

Parameters