Closed paralogicdr closed 2 years ago
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 Outlookhttps://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 GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1234637881, or unsubscribehttps://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 Outlookhttps://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 Outlookhttps://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 GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1234637881, or unsubscribehttps://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 Outlookhttps://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 Outlookhttps://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 Outlookhttps://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 GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1234637881, or unsubscribehttps://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: https://github.com/pschatzmann/arduino-audio-tools/issues/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 Outlookhttps://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:
— Reply to this email directly, view it on GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1243650126, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIHE7PAYQKTQTQKDEP7RSFLV54M7TANCNFSM55MFQQRA. You are receiving this because you authored the thread.Message ID: @.***>
If you read https://github.com/espressif/arduino-esp32/issues/4782. They pretend that it is resolved with release 2.0.3. Upgrade if you are on an older release and maybe try other ADC pins...
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 Outlookhttps://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 Outlookhttps://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#4782https://github.com/espressif/arduino-esp32/issues/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 GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1243878893, or unsubscribehttps://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: https://github.com/pschatzmann/TinyHttp/blob/main/examples/serverStream/serverStream.ino
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 Postahttps://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 GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1268051850, or unsubscribehttps://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 Postahttps://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 GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1268448411, or unsubscribehttps://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 Postahttps://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 GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1268460570, or unsubscribehttps://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 Postahttps://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 GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1268460570, or unsubscribehttps://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 Postahttps://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 GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1268483440, or unsubscribehttps://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 Postahttps://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 GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1268698776, or unsubscribehttps://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 Outlookhttps://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#4782https://github.com/espressif/arduino-esp32/issues/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 GitHubhttps://github.com/pschatzmann/arduino-audio-tools/issues/285#issuecomment-1243878893, or unsubscribehttps://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