Git Product home page Git Product logo

hearing's People

Contributors

connerza avatar halfnhalf avatar jms1621 avatar

Watchers

 avatar  avatar  avatar

Forkers

srishti20409

hearing's Issues

if a threshold over 40db is found then start of bone conduction tests causes error

If a threshold over 40dB is found then the start of the bone conduction (or end of the air conduction?) causes the following error:

LENGTH OF LEFT THRESHOLDS: 1
 Exception in thread Thread-4:
 Traceback (most recent call last):
   File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
     self.run()
   File "/usr/lib/python2.7/threading.py", line 763, in run
     self.__target(*self.__args, **self.__kwargs)
   File "/home/sysop/capstone/audiometer/screens/hearingscreen.py", line 54, in test_thread
     self.audiometer.test.start_test_sequence()
   File "/home/sysop/capstone/audiometer/hearing/hearingtest.py", line 60, in start_test_sequence
     self.rightBoneThresholds[i] = self.find_threshold(test_freqs[i], False, True)
 NameError: global name 'test_freqs' is not defined

This happens regardless which ear has a threshold of over 40dB

alsa underrun occurs

It looks like the pi is too slow to generate enough samples for the alsa lib in time. Stepping down the sampling frequency doesn't make it much better. There's probably some configuration I need to change.

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.