-
-
Notifications
You must be signed in to change notification settings - Fork 286
SD card recording #285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just create a file and use it as copy destination |
Can a StreamCopy class be used for this? Can I use filename as destination? |
StreamCopy should work: The destination should be a File object or an EncodedAudioStream where you pass the file object and an Encoder... |
Thank you Phil |
I finally added some file based recording example |
Thank you Phil, I admire your passion for your work
Android için Outlook<https://aka.ms/AAb9ysg> edinin
…________________________________
From: Phil Schatzmann ***@***.***>
Sent: Thursday, September 1, 2022 9:30:09 PM
To: pschatzmann/arduino-audio-tools ***@***.***>
Cc: paralogicdr ***@***.***>; Author ***@***.***>
Subject: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
I finally added some file based recording examplehttps://github.com/pschatzmann/arduino-audio-tools/blob/main/examples/examples-audiokit/streams-audiokit-sd-audiokit/streams-audiokit-sd-audiokit.ino
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PG3KH35QCX5OTXZ63LV4DY3DANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi Phil, I am working on my project, I am using ac101 based audiokit. I want to collect electrocardiogram (with ad8232 heart rate module) data to my boards io13 and ppg data(with pulse sensor https://pulsesensor.com/) to io 4. My new problem is like this:
Android için Outlook<https://aka.ms/AAb9ysg> edinin
…________________________________
From: Fatih KÖKSAL ***@***.***>
Sent: Friday, September 2, 2022 11:46:28 AM
To: pschatzmann/arduino-audio-tools ***@***.***>; pschatzmann/arduino-audio-tools ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
Thank you Phil, I admire your passion for your work
Android için Outlook<https://aka.ms/AAb9ysg> edinin
________________________________
From: Phil Schatzmann ***@***.***>
Sent: Thursday, September 1, 2022 9:30:09 PM
To: pschatzmann/arduino-audio-tools ***@***.***>
Cc: paralogicdr ***@***.***>; Author ***@***.***>
Subject: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
I finally added some file based recording examplehttps://github.com/pschatzmann/arduino-audio-tools/blob/main/examples/examples-audiokit/streams-audiokit-sd-audiokit/streams-audiokit-sd-audiokit.ino
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PG3KH35QCX5OTXZ63LV4DY3DANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
When I try to use webserver to send audio data, it seems ADC ports cannot read analog values. When I delete the server.Begin(kit,config) method on the sketch then sensors are able to collect readings. What can be the reason
Android için Outlook<https://aka.ms/AAb9ysg> edinin
…________________________________
From: Fatih KÖKSAL ***@***.***>
Sent: Monday, September 12, 2022 3:02:34 PM
To: pschatzmann/arduino-audio-tools ***@***.***>; pschatzmann/arduino-audio-tools ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
Hi Phil, I am working on my project, I am using ac101 based audiokit. I want to collect electrocardiogram (with ad8232 heart rate module) data to my boards io13 and ppg data(with pulse sensor https://pulsesensor.com/) to io 4. My new problem is like this:
Android için Outlook<https://aka.ms/AAb9ysg> edinin
________________________________
From: Fatih KÖKSAL ***@***.***>
Sent: Friday, September 2, 2022 11:46:28 AM
To: pschatzmann/arduino-audio-tools ***@***.***>; pschatzmann/arduino-audio-tools ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
Thank you Phil, I admire your passion for your work
Android için Outlook<https://aka.ms/AAb9ysg> edinin
________________________________
From: Phil Schatzmann ***@***.***>
Sent: Thursday, September 1, 2022 9:30:09 PM
To: pschatzmann/arduino-audio-tools ***@***.***>
Cc: paralogicdr ***@***.***>; Author ***@***.***>
Subject: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
I finally added some file based recording examplehttps://github.com/pschatzmann/arduino-audio-tools/blob/main/examples/examples-audiokit/streams-audiokit-sd-audiokit/streams-audiokit-sd-audiokit.ino
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PG3KH35QCX5OTXZ63LV4DY3DANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I have never tried, but somebody has the same issue: #346 |
Thank you Phil, in my case I encounter this problem only server runs. When I try to Stream audiokit to audiokit there is no problem, do you have any suggestuons?
Android için Outlook<https://aka.ms/AAb9ysg> edinin
…________________________________
From: Phil Schatzmann ***@***.***>
Sent: Monday, September 12, 2022 3:13:45 PM
To: pschatzmann/arduino-audio-tools ***@***.***>
Cc: paralogicdr ***@***.***>; Author ***@***.***>
Subject: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
I have never tried, but somebody has the same issue:
#346<#346>
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PAYQKTQTQKDEP7RSFLV54M7TANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
If you read espressif/arduino-esp32#4782. They pretend that it is resolved with release 2.0.3. The latest release is 2.0.4 now... |
Hi Phil
I hope you are doing well
I have a question
As you know I want to make an electronic sthetoscope like device which can collect simultaneous heart sounds, ecg and pulse oxymetry.
Ecg and pulse oxymetry sensors are analog, and I can collect signals with ADC s without problem.
I can Stream sounds Via webserver.
İt would be so useful for me to be able to stream ecg and oxymetry signals as third and fourth channels of i2s
Is it possible? if it is possible, how can I do this
Thank you
Android için Outlook<https://aka.ms/AAb9ysg> edinin
…________________________________
From: Fatih KÖKSAL ***@***.***>
Sent: Monday, September 12, 2022 6:08:16 PM
To: pschatzmann/arduino-audio-tools ***@***.***>; pschatzmann/arduino-audio-tools ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
Thank you Phil, I tahinli this problem is about adc2 group pins. I will use io34
Android için Outlook<https://aka.ms/AAb9ysg> edinin
________________________________
From: Phil Schatzmann ***@***.***>
Sent: Monday, September 12, 2022 6:05:24 PM
To: pschatzmann/arduino-audio-tools ***@***.***>
Cc: paralogicdr ***@***.***>; Author ***@***.***>
Subject: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
If you read espressif/arduino-esp32#4782<espressif/arduino-esp32#4782>. They pretend that it is resolved with release 2.0.3.
Upgrade and maybe try other ADC pins...
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PG3ITQTP4WJ4473T2DV55BDJANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
To keep things consistent, I would suggest that you try to create a second webserver (on a differerent port) and publish the Ecg and pulse oxymetry data (e.g. as csv or html values). Here is a html example with my TinyHttp library: If this is working you could use this library for the sound as well, so that all works on the same port, just with different urls... |
Thank you Phil
I try to upload your TinyHttp example sketches and I had library issues,” 'Log' was not declared in this scope “ like messages. Should I include more files?
Windows için Posta<https://go.microsoft.com/fwlink/?LinkId=550986> ile gönderildi
Kimden: Phil ***@***.***>
Gönderilme: 5 Ekim 2022 Çarşamba 10:24
Kime: ***@***.***>
Bilgi: ***@***.***>; ***@***.***>
Konu: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
To keep things consistent, I would suggest that you try to create a second webserver (on a differerent port) and publish the Ecg and pulse oxymetry data (e.g. as csv or html values)
Here is a html example with my TinyHttp library:
https://github.com/pschatzmann/TinyHttp/blob/main/examples/serverStream/serverStream.ino
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PCS7MSAFDKORHEAERLWBUULPANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Did you install the TinyHttp library ? |
Yes, I did.
Windows için Posta<https://go.microsoft.com/fwlink/?LinkId=550986> ile gönderildi
Kimden: Phil ***@***.***>
Gönderilme: 5 Ekim 2022 Çarşamba 16:33
Kime: ***@***.***>
Bilgi: ***@***.***>; ***@***.***>
Konu: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
Did you install the TinyHttp library ?
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PGBHX6N3NFOV4ASQWLWBV7TLANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Oh, I see: Log has been renamed to HttpLogger |
Thank you Phil,
There can be a similar issue with “stream”
Windows için Posta<https://go.microsoft.com/fwlink/?LinkId=550986> ile gönderildi
Kimden: Phil ***@***.***>
Gönderilme: 5 Ekim 2022 Çarşamba 16:44
Kime: ***@***.***>
Bilgi: ***@***.***>; ***@***.***>
Konu: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
Oh, I see: Log has been renamed to HttpLogger
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PBZP75H2KI5QDVYWLTWBWA4ZANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I think you should correct the class definition for httpLogger
'class tinyhttp::HttpLoggerClass' has no member named 'setLogger'; did you mean 'setLevel'?
Windows için Posta<https://go.microsoft.com/fwlink/?LinkId=550986> ile gönderildi
Kimden: Phil ***@***.***>
Gönderilme: 5 Ekim 2022 Çarşamba 16:44
Kime: ***@***.***>
Bilgi: ***@***.***>; ***@***.***>
Konu: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
Oh, I see: Log has been renamed to HttpLogger
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PBZP75H2KI5QDVYWLTWBWA4ZANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Your right: I have updated all example and tested the log server example agin... |
Hi Phil,
I tried to merge your audiokit-multioutput-server and serverstream from tinyhttp sketches, and received “reference to 'GET' is ambiguous” error on “ExtensionStream stream("/",GET, mime, htmlHeader, htmlEnd );”
Line.
I cannot find GET method in both libraries.
How can I fix this issue
Windows için Posta<https://go.microsoft.com/fwlink/?LinkId=550986> ile gönderildi
Kimden: Phil ***@***.***>
Gönderilme: 5 Ekim 2022 Çarşamba 17:05
Kime: ***@***.***>
Bilgi: ***@***.***>; ***@***.***>
Konu: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
Your right: I have updated all example and tested the log server example agin...
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PBE3M7PFLORZOP47MLWBWDMFANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I think you need to upgrade the AudioTools as well... |
I upgraded audioTools but it is still the same
Windows için Posta<https://go.microsoft.com/fwlink/?LinkId=550986> ile gönderildi
Kimden: Phil ***@***.***>
Gönderilme: 5 Ekim 2022 Çarşamba 20:04
Kime: ***@***.***>
Bilgi: ***@***.***>; ***@***.***>
Konu: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
I think you need to upgrade the AudioTools as well...
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PGXVIW2RC4MK57LMWLWBWYLDANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Oh, I see. GET is defined twice, so you need to specify which GET you mean: In this case if would be tinyhttp::GET |
Thank you Phil, I tahinli this problem is about adc2 group pins. I will use io34
Android için Outlook<https://aka.ms/AAb9ysg> edinin
…________________________________
From: Phil Schatzmann ***@***.***>
Sent: Monday, September 12, 2022 6:05:24 PM
To: pschatzmann/arduino-audio-tools ***@***.***>
Cc: paralogicdr ***@***.***>; Author ***@***.***>
Subject: Re: [pschatzmann/arduino-audio-tools] SD card recording (Issue #285)
If you read espressif/arduino-esp32#4782<espressif/arduino-esp32#4782>. They pretend that it is resolved with release 2.0.3.
Upgrade and maybe try other ADC pins...
—
Reply to this email directly, view it on GitHub<#285 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PG3ITQTP4WJ4473T2DV55BDJANCNFSM55MFQQRA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi everyone,
I searched the codes and examples but could not find how to record audio to SD card, would you help me
The text was updated successfully, but these errors were encountered: