Giter Site home page Giter Site logo

novel-sound-signal-detection's Introduction

Novel-Sound-Signal-Detection

Cognitive Remediation Tool for Auditory Hallucinations

  • This script is to be used with an initialized Raspberry Pi (running Raspberry Pi OS 64-bit full) connected to an IQaudIO Codec Zero HAT.
  • This python script interacts with the Raspberry Pi, attached hardware, and Google Gemini to record ambient sound and compare the last 15 seconds of recording versus the prior minute and 45 seconds and determine if a sound signal is present.
  • Google's Gemini API is queried to decide if a sound signal is detected in the final 15 seconds of the recording.
  • If a novel sound signal is detected a green LED on the Codec Zero lights up, if not a red LED lights up.
  • This can be used by an indivual expericing transient auditory hallucinations to differentiate a hallucination from an actual ambient sound.

Raspberry Pi Initialization:

Follow the steps at: https://www.raspberrypi.com/documentation/computers/getting-started.html

I used a RPi Zero 2 W but any model with a standard 40-pin GPIO header will work with the HAT.

Codec Zero Attachment and Configuration:

Follow the steps for the Codec Zero at: https://www.raspberrypi.com/documentation/accessories/audio.html

novel-sound-signal-detection's People

Contributors

andrewhcook avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.