Is there a sound card input on the Pinephone which can be used by Python software?
#1
Bitalino has low cost ECG devices with Open Signals or Matlab software. Both OpenSignals software and Matlab does not run on the Pinephone.

Alternatively, Scott Hardens, PhD. Sound Card ECG device could be used. Scott s Sound card ECG is an excellent research grade device, he spend more than years in developing it.

I asked Scott:
Is it possible to integrate your free and open source custom software which is written in C#, which graphs the signal in real time and displays heart rate over time into Python?

Scott s answer:

Check the link in the description to my one opamp ECG circuit video. That project makes a similar graph using Python software and you may find that useful

And here my question to the Pinephone community. Is there a sound card input on the Pinephone which can be used by Python software?

Scott Hardens Sound Card ECG:

https://www.youtube.com/watch?v=sP_-f5nsOEo
  Reply
#2
https://www.tutorialspoint.com/matlab/ma...octave.htm - octave will probably run.

The only external sound input is the headset mic so probably not suitable. In theory you could use a USB sound device, but as with the ANT+ USB dongle there may be issues due to the USB hardware bug.
  Reply
#3
Bitalino biomedical toolkit pairs over Bluetooth and has a Matlab Toolbox. You mean the Bitalino Matlab Toolbox would eventuallly run in Octave? Great idea, and needs to tested.

Also Scott s device is a great low-cost hiqh quality device, and the idea of a usb sound card is also great. Sound cards have normally a 16 bit resulution, but there are sound cards with e.g. 32 bit, which is great for instance to use it for respiratory sensors.

Also the problem with the usb issue needs to be tested.
  Reply
#4
There's a chance it'll run in octave at least.

There are sound devices that return 32 bit data, but I'm not aware of any with anywhere near actual 32 bit resolution. If you go for something as portable as a phone you'll be lucky to get much beyond 16 bit actual resolution. What sort of respiratory sensor are you using that requires that sort of resolution anyway?
  Reply
#5
Sorry I meant (Mic-in): of the Sound BlasterX G6 is 32-bit maximal value for ADC :

https://us.creative.com/p/amplifiers/sou...x-g6#specs

I ve got Adinstruments respiratory sensors:

https://www.youtube.com/watch?v=vtT_tKEEWOE&t=42s

Dr. Evan Matthews has ADCs of 16 bit, but 32 bit would be better.I v got also an Adinstruments 16 sp channel recorder, but without Labchart software. So I never got the setup working. For breath meditation I m looking for a device with high value of ADC. Also Bitalino has excellent respiratory sensors.
  Reply
#6
(06-23-2020, 08:39 PM)Peter Gamma Wrote: Sorry I meant (Mic-in): of the Sound BlasterX G6 is 32-bit maximal value for ADC :

https://us.creative.com/p/amplifiers/sou...x-g6#specs

I ve got Adinstruments respiratory sensors:

https://www.youtube.com/watch?v=vtT_tKEEWOE&t=42s

Dr. Evan Matthews has ADCs of 16 bit, but 32 bit would be better.I v got also an Adinstruments 16 sp channel recorder, but without Labchart software. So I never got the setup working. For breath meditation I m looking for a device with high value of ADC. Also Bitalino has excellent respiratory sensors.
The DAC part's pretty good, although not as good as their claims. The ADC is further from the spec:
https://www.audiosciencereview.com/forum...x-g6.7016/
The claimed 114dB dynamic range is 19 effective bits.

I can't see why you'd need >16 bits for that data - even 12 bits is 0.015mm resolution given the 60mm measurement range. 16 bit is ~1um resolution, assuming it's not below the electrical noise floor which would surprise me. What are you looking for in that signal? I used to do instrumentation and signal analysis for fatigue and vehicle dynamics so I've some idea of what's involved.
http://m-cdn.adinstruments.com/product-d...CW-18A.pdf
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Office applications for the Pinephone Peter Gamma 2 524 09-05-2024, 09:22 AM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 50 35,083 07-26-2024, 10:35 PM
Last Post: Peter Gamma
  Why does Pine64 sabotage office on the Pinephone? Peter Gamma 5 977 07-04-2024, 07:34 AM
Last Post: Kevin Kofler
  Which word processor to choose for the Pinephone? Peter Gamma 16 5,272 06-22-2024, 07:28 AM
Last Post: Peter Gamma
  Samba share on the Pinephone? Peter Gamma 0 636 06-16-2024, 10:26 PM
Last Post: Peter Gamma
  Possible Free Backup Carrier for PinePhone PineFone 0 446 06-13-2024, 03:45 PM
Last Post: PineFone
  Using Signal on PinePhone in mid-2023? dante404 47 22,275 05-03-2024, 02:19 AM
Last Post: dragonhospital
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 38 32,707 04-23-2024, 10:29 AM
Last Post: donchurch
Wink PINEPHONE not booting Touchwood 2 1,203 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 6,475 12-20-2023, 07:20 AM
Last Post: nickolas

Forum Jump:


Users browsing this thread: 1 Guest(s)