AudioLogger (version 1.0.0)
index
AudioLogger.html

This package implements a SpyWare to record from microphone.
 
~# python3 AudioLogger.py audioSpy.conf
 
>>> from os import environ
>>> environ['audioSpy.conf'] = 'audioSpy.conf'
>>> from SpyWare.AudioLogger import audioSpy
>>> audioSpy()                  # (using env) OR
>>> audioSpy('audioSpy.conf') # (using config file name) OR
>>> audioSpy(argv=["AudioLogger.py", "audioSpy.conf"]) # (using argv)

 
Classes
       
builtins.object
Daemon

 
class Daemon(builtins.object)
    This class implements a loop to record from microphone.
 
  Methods defined here:
__init__(self)
Initialize self.  See help(type(self)) for accurate signature.
run_for_ever(self) -> None
This function record from microphone and sleep for ever.
save_record(self, filename: str, time: int) -> None
This function records from microphone and save in wave file.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
config_load(filename: str = None, argv: List[str] = ['C:\\Program Files\\Python\\lib\\pydoc.py', '-w', 'AudioLogger']) -> None
This function loads the configuration using a the configuration file.
main(config_filename: str = None, argv: List[str] = ['C:\\Program Files\\Python\\lib\\pydoc.py', '-w', 'AudioLogger']) -> int
This function starts the recorder
daemon from the command line.

 
Data
        __all__ = ['main', 'Daemon', 'config_load']
__author_email__ = 'mauricelambert434@gmail.com'
__copyright__ = '\nSpyWare Copyright (C) 2021, 2022 Maurice Lamb...ome to redistribute it\nunder certain conditions.\n'
__description__ = '\nThis module implements a SpyWare to record from microphone.\n'
__license__ = 'GPL-3.0 License'
__maintainer__ = 'Maurice Lambert'
__maintainer_email__ = 'mauricelambert434@gmail.com'
__url__ = 'https://github.com/mauricelambert/SpyWare'

 
Author
        Maurice Lambert