Welcome to esp32_drum_computer Discussions! #2
Replies: 22 comments 44 replies
-
Hi Marcel, here the public start of a discussion. As I already tested some Audio-Libraries with the ESP32, ESP8266 and the Teensy. I was impressed by the good sound-quality of the Drums. As I don´t have the right MIDI-Controller with the implemented CC to test it, I decided to copy Your Repository and modified it a bit to get a way to trigger the samples with a keyboard. I removed the Sequencer and added a standard Arduino Midi Library to make it a bit more readable for other developers. You did a great job. As I had tested the ESP8266 Audio Library from Earlee Phil Hower and the Teensy Audio Library, - I would say, Your Arduino Sketches provide the best Price/Sound-Ratio. To make it easier for other developers to use Your sketches, try to use the Arduino MIDI Library which works well with the ESP32 on serial ports too. My modified code is here:
As Your are updating Your Code with bigger steps, I believe my version will be "old" in some weeks. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm using a variety of devices. I'm an ex-musician and software developer. I've been out of it but got back into arduino/microcontrollers. I bought this Esp32-A1S-audiokit 2.2 board and I want to create my own processing, spectrum analysis. I've already got some projects i built up that do spectrum analysis on an ESP8266 and use it to do a VU of 8 neopixel with color related to frequency and amplitude. I've got various midi-devices and would be more than stoked to be able to modify and extend software related to sampling keys, synth etc. Yes, start from a sine wave. I'm also building a lot of amplifier, eq analogue circuits. Headphone amps - so I'm interested in i2s audio and DAC so I can perhaps eventually have onboard dac and filters DSP etc as part of a headphone amp box that links directly to something digitally Ok - i got it to compile and load - now I got to figure out the rest of the implementation or a test harness. So now i'm moving over the midi USB host SLR Development Module MAX3421 type thing. So basically I'm looking for the hardware side of what you have going on over on another youtube. |
Beta Was this translation helpful? Give feedback.
-
Hello Marcel, hope you are well. I have installed this library on one of my ESP32-A1S v2.2(ES8388 chip), I do hear the metronome. that's great! |
Beta Was this translation helpful? Give feedback.
-
Isn't there a headphone jack already soldered on your pcm5102 DAC?
Fabien Dostie
Monteur Online / Coloriste Numérique (AQTIS)
Datawrangler-DIT-Video Assist
(AQTIS/IATSE)
…On Sun., Mar. 6, 2022, 08:28 Maitresinh ***@***.***> wrote:
I've got more or less the same problem. I think the hardware part need to
be more documented, at least for newbies in electronics (i didn't found out
how to connect a jack audio out).
—
Reply to this email directly, view it on GitHub
<#2 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM22A2IIDH5NV2QUI6IXZP3U6SXJHANCNFSM42COKIGA>
.
You are receiving this because you commented.Message ID:
<marcel-licence/esp32_drum_computer/repo-discussions/2/comments/2303307@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
I also have not found that diagram easily, it took me at least one month to
accidentally fall on it by accident and it was not actually working for my,
seemingly identical setup.
I also have extremely great respect for all the efforts, time and love that
Marcel put in these projects.
I also understand that it might be easy or seem like it's so obvious for
people with previous knowledge and a great understanding of c++ and coding
in general, but for people like me that have only a self-taught knowledge
and been using code for a few years, or months only.
It really isn't that obvious at all.
I have been trying to understand the workings of marcel's code for the
better part of the past two years and I still am barely able to write my
own very simple code.
About Marcel's pinout diagram
I had this working with what I thought was the same breakout 5201 and esp32
but no, I found a different pinout which was working for my models (which
look identical as Marcel's pictures) so it's really a tricky thing I'm
finding out with i2s and pcm DACs...
I am now able to run every code from Marcels libraries, but unfortunately
for me.
The volca beats mod still produces no audio for me.
It's really not as simple as experienced coders seem to think so. I'm a
musician and video editor, code has not been part of my life before 2 years
ago.
I'd be glad to offer any help I can or that you need to help with a proper
wiki.
Let me know Marcel!
Fabien Dostie
Monteur Online / Coloriste Numérique (AQTIS)
Datawrangler-DIT-Video Assist
(AQTIS/IATSE)
…On Sat., Mar. 12, 2022, 13:02 Erich ***@***.***> wrote:
You can find out the pinout of the DAC via the Code too. I have great
respect for Marcel's work, but you also have to do something yourself.
Otherwise nobody would start a OpenSource-Project. I have found the
schematic in a few seconds ....
—
Reply to this email directly, view it on GitHub
<#2 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM22A2JU4UZVM46PSXQD3EDU7TLZTANCNFSM42COKIGA>
.
You are receiving this because you commented.Message ID:
<marcel-licence/esp32_drum_computer/repo-discussions/2/comments/2347532@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
I guess my writing was not clear enough, my language is french normally. That one does not work I tested the DAC tested the boards, tried different variants... It does compile but no sound. I'm 100% positive esp32dev kit and 5201pcm DAC are both working because they were tested...Today! |
Beta Was this translation helpful? Give feedback.
-
I have been fiddling around with microcomputers and stuff for 5-6 years it's not so new to me but I'm not a big fan of code, I'm getting there slowly but... I'm 46 it's not as easy to learn this types of stuff now! |
Beta Was this translation helpful? Give feedback.
-
Hi Fabien,
try to send me the code .. upload ist somewhere and I will check it in my Volca….
Regards
Erich
… Am 13.03.2022 um 15:03 schrieb fabiendostie ***@***.***>:
I guess my writing was not clear enough, my language is french normally.
All Marcel's project compile and work perfectly with all my esp32 A1S v2.2 And all the various variants of esp32 8 have some with DAC's some without. My issue is with the forked version of the Drum machine, the one that has integrated it in a Volca beats:
https://github.com/ErichHeinemann/ESP32-Audio-Tests-ML <https://github.com/ErichHeinemann/ESP32-Audio-Tests-ML>
That one does not work I tested the DAC tested the boards, tried different variants... It does compile but no sound.
I'm 100% positive esp32dev kit and 5201pcm DAC are both working because they were tested...Today!
—
Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIR2GNI67EOFK7ISZUUAIVLU7X7T3ANCNFSM42COKIGA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Hi Fabien,
the Code which You mentioned was not based on my code…
You took the code from marcel and modified it.
Your Answers don’t belong to my code.
Sorry…
Example:
You used Audio.h
.. my version, which was based on code from Marcel from 2021 doesn’t use Audio.h.
I don´t have the time to check Your code.
Excuse me.
best Regards
Erich
… Am 27.03.2022 um 11:47 schrieb fabiendostie ***@***.***>:
Hi Fabien, try to send me the code .. upload ist somewhere and I will check it in my Volca…. Regards Erich
Hello @ErichHeinemann <https://github.com/ErichHeinemann> did you have time to take a look at it?
I can't wait to be able to move on to another thing in my head. I'm really stuck on this one.
—
Reply to this email directly, view it on GitHub <#2 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIR2GNNZWIN4XAIJFPAJ5NDVCAVDZANCNFSM42COKIGA>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
That's quite rude of you to first offer me help but then just say, that without even looking at the code!! YOU asked me to upload my code and that you would take a look?
Obviously, I started with your code but I modified the pins used to make it work with my specific DAC, but that is only the pinout and naming scheme that was modified.
It's IS 99.999% your code I did not use marcel's code, I was just desperately trying stuff out to maybe make it work with my i2s DAC and I guess I forgot to remove that "#include "Audio.h” line from your code I’m sorry.
I DID have to change the pinout and naming scheme of the i2s interface to fit my I2S DAC to work… It did not work at all with your original code, It actually wouldn’t even compile!!!
All the rest is 100% your untouched code. And it is NOT working on 2 other different setups (i2s DAC’s + esp32’s) I’ve tried, even though I’ve tested the DAC’s and the board’s with other codes like all marcel's synths and samplers for example, which all work perfectly. And have audio coming out.
I really think there is something wrong there is with your code+my dac+esp32: it’s definitely not easily applicable to other people than your exact setup it seems. It seems that it is only applicable to your exact brand and model and that it doesn’t work on any other that I've tried (I tried 3 different combination of brands and makers!!)
that’s why I’m asking for your help because I've been trying to make it work for a WHOLE YEAR now!!!
Actually drilled holes and installed pots and everything! (I know I should have tested your code before, but since it was based on Marcel’s code I figured It would work as all of his code works with no issues!!!)
Please would you be kind enough to take a quick look and hopefully find something that might be the cause of it not producing sound?
Please would you, I really am desperate by now.
… On Apr 2, 2022, at 8:15 AM, Erich ***@***.***> wrote:
Hi Fabien,
the Code which You mentioned was not based on my code…
You took the code from marcel and modified it.
Your Answers don’t belong to my code.
Sorry…
Example:
You used Audio.h
.. my version, which was based on code from Marcel from 2021 doesn’t use Audio.h.
I don´t have the time to check Your code.
Excuse me.
best Regards
Erich
> Am 27.03.2022 um 11:47 schrieb fabiendostie ***@***.***>:
>
>
> Hi Fabien, try to send me the code .. upload ist somewhere and I will check it in my Volca…. Regards Erich
>
> Hello @ErichHeinemann <https://github.com/ErichHeinemann> did you have time to take a look at it?
> I can't wait to be able to move on to another thing in my head. I'm really stuck on this one.
>
> —
> Reply to this email directly, view it on GitHub <#2 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIR2GNNZWIN4XAIJFPAJ5NDVCAVDZANCNFSM42COKIGA>.
> You are receiving this because you were mentioned.
>
—
Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM22A2LHD2VUFZFEMPW4OFTVDA277ANCNFSM42COKIGA>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Hi Fabien,
Download my repository „ESP-Audio_Test-ML“
Unzip it
go into the folder „ESP-Volca-Beats-PCM-MOD“.
Open the File „ESP-Volca-Beats-PCM-MOD.ino“ in the Arduino IDE
Upload the folder „data“ using the LittleFS-Tool.
I checked it 2 minutes ago with the same code from the website.
I have used a simple ESP32-DEVKit-Module…
If You have to change the Pinout for the PCM5102-Module, change the Pins in the Code of the File „i2s_interface“ in Line 17,18,19
I didn´t test the code without the I2S-Codec…
If this doesn’t work on Your side, then take the newest code from Marcel und ignore my code. take the MIDI-Notenumbers which I took from the Volca-Beats MIDI-Implementation and do Your own implementation.
Which I2S-DAC did You use?
Which Pots did You use, because I used 3 Potentiometers to control the Filter and Bitcrush and Sample-Speed.
If these are not connected You cannot hear anything because the Filter will kill all - as a Lowpass or Highpass.
Sorry, i did not work with the code for a year now.
My Setup is simply the ESP32-Devkit and a PCM5102 DAC wired as described by Marcel.
I am really not hiding any secrets!!
I will take a second look at Your code …
Regards
Erich
… Am 02.04.2022 um 15:12 schrieb fabiendostie ***@***.***>:
That's quite rude of you to first offer me help but then just say, that without even looking at the code!! YOU asked me to upload my code and that you would take a look?
Obviously, I started with your code but I modified the pins used to make it work with my specific DAC, but that is only the pinout and naming scheme that was modified.
It's IS 99.999% your code I did not use marcel's code, I was just desperately trying stuff out to maybe make it work with my i2s DAC and I guess I forgot to remove that "#include "Audio.h” line from your code I’m sorry.
I DID have to change the pinout and naming scheme of the i2s interface to fit my I2S DAC to work… It did not work at all with your original code, It actually wouldn’t even compile!!!
All the rest is 100% your untouched code. And it is NOT working on 2 other different setups (i2s DAC’s + esp32’s) I’ve tried, even though I’ve tested the DAC’s and the board’s with other codes like all marcel's synths and samplers for example, which all work perfectly. And have audio coming out.
I really think there is something wrong there is with your code+my dac+esp32: it’s definitely not easily applicable to other people than your exact setup it seems. It seems that it is only applicable to your exact brand and model and that it doesn’t work on any other that I've tried (I tried 3 different combination of brands and makers!!)
that’s why I’m asking for your help because I've been trying to make it work for a WHOLE YEAR now!!!
Actually drilled holes and installed pots and everything! (I know I should have tested your code before, but since it was based on Marcel’s code I figured It would work as all of his code works with no issues!!!)
Please would you be kind enough to take a quick look and hopefully find something that might be the cause of it not producing sound?
Please would you, I really am desperate by now.
> On Apr 2, 2022, at 8:15 AM, Erich ***@***.***> wrote:
>
>
> Hi Fabien,
> the Code which You mentioned was not based on my code…
>
> You took the code from marcel and modified it.
>
> Your Answers don’t belong to my code.
> Sorry…
>
> Example:
> You used Audio.h
> .. my version, which was based on code from Marcel from 2021 doesn’t use Audio.h.
>
> I don´t have the time to check Your code.
>
> Excuse me.
>
> best Regards
> Erich
>
>
>
> > Am 27.03.2022 um 11:47 schrieb fabiendostie ***@***.***>:
> >
> >
> > Hi Fabien, try to send me the code .. upload ist somewhere and I will check it in my Volca…. Regards Erich
> >
> > Hello @ErichHeinemann <https://github.com/ErichHeinemann> did you have time to take a look at it?
> > I can't wait to be able to move on to another thing in my head. I'm really stuck on this one.
> >
> > —
> > Reply to this email directly, view it on GitHub <#2 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIR2GNNZWIN4XAIJFPAJ5NDVCAVDZANCNFSM42COKIGA>.
> > You are receiving this because you were mentioned.
> >
>
> —
> Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM22A2LHD2VUFZFEMPW4OFTVDA277ANCNFSM42COKIGA>.
> You are receiving this because you were mentioned.
>
—
Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIR2GNLGT5HIVJZ5V4QZ7MLVDBBUBANCNFSM42COKIGA>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Hi Fabien,
I have tested Your code but swapped the i2s_interface back to my version.
It compiles and works.
Perhaps You could try to get a simple PCM5102 - DAC.
I cannot help more because I do not own the same DAC which You have used.
perhaps it is a problem with the conversion from Float to Integer.
In my code, the Pinout for the DAC was defined in the i2s_interface.ino.
In Your code, it was defined twice, once in i2s_interface.ino and in the ESP32-Volca-Beats-PCM-FABMOD.ino.
This is perhaps bad for Your DAC.
As I don´t have the same I2S-DAC as You mentioned, I replaced the i2s_interface.ino back to my version.
If You are using another DAC, You have to change this file to get a special version for Your DAC.
As it is difficult for others to follow us, - Your and my code is different to the code from Marcel.
perhaps it would be better for You to create Your own repository on Github to discuss it there.
To get Your version compiled and working, I only disabled all the lines of code for the „Audio“ - Setup for Your DAC and replaced i2s_interface.h with my version from my GitHub-repo..
My Code is slightly different to the code from marcel, he did not use any MIDI-Library. My Code uses the MIDI-Library from FourtysevenEffects! perhaps You have to install this to get it compiled.
Best Regards
Erich
… Am 02.04.2022 um 15:12 schrieb fabiendostie ***@***.***>:
That's quite rude of you to first offer me help but then just say, that without even looking at the code!! YOU asked me to upload my code and that you would take a look?
Obviously, I started with your code but I modified the pins used to make it work with my specific DAC, but that is only the pinout and naming scheme that was modified.
It's IS 99.999% your code I did not use marcel's code, I was just desperately trying stuff out to maybe make it work with my i2s DAC and I guess I forgot to remove that "#include "Audio.h” line from your code I’m sorry.
I DID have to change the pinout and naming scheme of the i2s interface to fit my I2S DAC to work… It did not work at all with your original code, It actually wouldn’t even compile!!!
All the rest is 100% your untouched code. And it is NOT working on 2 other different setups (i2s DAC’s + esp32’s) I’ve tried, even though I’ve tested the DAC’s and the board’s with other codes like all marcel's synths and samplers for example, which all work perfectly. And have audio coming out.
I really think there is something wrong there is with your code+my dac+esp32: it’s definitely not easily applicable to other people than your exact setup it seems. It seems that it is only applicable to your exact brand and model and that it doesn’t work on any other that I've tried (I tried 3 different combination of brands and makers!!)
that’s why I’m asking for your help because I've been trying to make it work for a WHOLE YEAR now!!!
Actually drilled holes and installed pots and everything! (I know I should have tested your code before, but since it was based on Marcel’s code I figured It would work as all of his code works with no issues!!!)
Please would you be kind enough to take a quick look and hopefully find something that might be the cause of it not producing sound?
Please would you, I really am desperate by now.
> On Apr 2, 2022, at 8:15 AM, Erich ***@***.***> wrote:
>
>
> Hi Fabien,
> the Code which You mentioned was not based on my code…
>
> You took the code from marcel and modified it.
>
> Your Answers don’t belong to my code.
> Sorry…
>
> Example:
> You used Audio.h
> .. my version, which was based on code from Marcel from 2021 doesn’t use Audio.h.
>
> I don´t have the time to check Your code.
>
> Excuse me.
>
> best Regards
> Erich
>
>
>
> > Am 27.03.2022 um 11:47 schrieb fabiendostie ***@***.***>:
> >
> >
> > Hi Fabien, try to send me the code .. upload ist somewhere and I will check it in my Volca…. Regards Erich
> >
> > Hello @ErichHeinemann <https://github.com/ErichHeinemann> did you have time to take a look at it?
> > I can't wait to be able to move on to another thing in my head. I'm really stuck on this one.
> >
> > —
> > Reply to this email directly, view it on GitHub <#2 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIR2GNNZWIN4XAIJFPAJ5NDVCAVDZANCNFSM42COKIGA>.
> > You are receiving this because you were mentioned.
> >
>
> —
> Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM22A2LHD2VUFZFEMPW4OFTVDA277ANCNFSM42COKIGA>.
> You are receiving this because you were mentioned.
>
—
Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIR2GNLGT5HIVJZ5V4QZ7MLVDBBUBANCNFSM42COKIGA>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Hello sir!
First, thank you for this answer.
That is exactly what I did (downloaded your code from exactly that GitHub
repo, I then only modified the name of the i2s pins which I discovered have
to be different on my model of WCMCU DAC (PCM5102) and also the pinout is
slightly different. But other than that all is 💯 your code.
So I did EXACTLY as you just wrote and followed your how- to very
precisely. The only difference is the pinout that I changed in the
i2s_interface.ino file in Arduino IDE obviously.
Also I have discovered to NOT do the solder bridges you are mentioning in
your "how to guide" for it to make sound (tried many other sketches to make
sure it works)
BUT, the pits aren't wired right now, so this gives me hope that this could
be the solution to my problem. Would make sense since I'm using the same
board and DAC as you are!
I'll let you know how it goes.
Thanks again!!!
Fabien Dostie
DIT/VR & Direction Technique - Coloriste Numérique -
DataWrangler, DIT & V/A
(AQTIS/IATSE)
…On Sat., Apr. 2, 2022, 13:00 Erich ***@***.***> wrote:
Hi Fabien,
I have tested Your code but swapped the i2s_interface back to my version.
It compiles and works.
Perhaps You could try to get a simple PCM5102 - DAC.
I cannot help more because I do not own the same DAC which You have used.
perhaps it is a problem with the conversion from Float to Integer.
In my code, the Pinout for the DAC was defined in the i2s_interface.ino.
In Your code, it was defined twice, once in i2s_interface.ino and in the
ESP32-Volca-Beats-PCM-FABMOD.ino.
This is perhaps bad for Your DAC.
As I don´t have the same I2S-DAC as You mentioned, I replaced the
i2s_interface.ino back to my version.
If You are using another DAC, You have to change this file to get a
special version for Your DAC.
As it is difficult for others to follow us, - Your and my code is
different to the code from Marcel.
perhaps it would be better for You to create Your own repository on Github
to discuss it there.
To get Your version compiled and working, I only disabled all the lines of
code for the „Audio“ - Setup for Your DAC and replaced i2s_interface.h with
my version from my GitHub-repo..
My Code is slightly different to the code from marcel, he did not use any
MIDI-Library. My Code uses the MIDI-Library from FourtysevenEffects!
perhaps You have to install this to get it compiled.
Best Regards
Erich
> Am 02.04.2022 um 15:12 schrieb fabiendostie ***@***.***>:
>
>
> That's quite rude of you to first offer me help but then just say, that
without even looking at the code!! YOU asked me to upload my code and that
you would take a look?
>
> Obviously, I started with your code but I modified the pins used to make
it work with my specific DAC, but that is only the pinout and naming scheme
that was modified.
>
> It's IS 99.999% your code I did not use marcel's code, I was just
desperately trying stuff out to maybe make it work with my i2s DAC and I
guess I forgot to remove that "#include "Audio.h” line from your code I’m
sorry.
>
> I DID have to change the pinout and naming scheme of the i2s interface
to fit my I2S DAC to work… It did not work at all with your original code,
It actually wouldn’t even compile!!!
>
> All the rest is 100% your untouched code. And it is NOT working on 2
other different setups (i2s DAC’s + esp32’s) I’ve tried, even though I’ve
tested the DAC’s and the board’s with other codes like all marcel's synths
and samplers for example, which all work perfectly. And have audio coming
out.
>
> I really think there is something wrong there is with your code+my
dac+esp32: it’s definitely not easily applicable to other people than your
exact setup it seems. It seems that it is only applicable to your exact
brand and model and that it doesn’t work on any other that I've tried (I
tried 3 different combination of brands and makers!!)
>
> that’s why I’m asking for your help because I've been trying to make it
work for a WHOLE YEAR now!!!
> Actually drilled holes and installed pots and everything! (I know I
should have tested your code before, but since it was based on Marcel’s
code I figured It would work as all of his code works with no issues!!!)
>
>
> Please would you be kind enough to take a quick look and hopefully find
something that might be the cause of it not producing sound?
>
> Please would you, I really am desperate by now.
>
> > On Apr 2, 2022, at 8:15 AM, Erich ***@***.***> wrote:
> >
> >
> > Hi Fabien,
> > the Code which You mentioned was not based on my code…
> >
> > You took the code from marcel and modified it.
> >
> > Your Answers don’t belong to my code.
> > Sorry…
> >
> > Example:
> > You used Audio.h
> > .. my version, which was based on code from Marcel from 2021 doesn’t
use Audio.h.
> >
> > I don´t have the time to check Your code.
> >
> > Excuse me.
> >
> > best Regards
> > Erich
> >
> >
> >
> > > Am 27.03.2022 um 11:47 schrieb fabiendostie ***@***.***>:
> > >
> > >
> > > Hi Fabien, try to send me the code .. upload ist somewhere and I
will check it in my Volca…. Regards Erich
> > >
> > > Hello @ErichHeinemann <https://github.com/ErichHeinemann> did you
have time to take a look at it?
> > > I can't wait to be able to move on to another thing in my head. I'm
really stuck on this one.
> > >
> > > —
> > > Reply to this email directly, view it on GitHub <
#2 (reply in thread)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AIR2GNNZWIN4XAIJFPAJ5NDVCAVDZANCNFSM42COKIGA
>.
> > > You are receiving this because you were mentioned.
> > >
> >
> > —
> > Reply to this email directly, view it on GitHub <
#2 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AM22A2LHD2VUFZFEMPW4OFTVDA277ANCNFSM42COKIGA
>.
> > You are receiving this because you were mentioned.
> >
>
> —
> Reply to this email directly, view it on GitHub <
#2 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AIR2GNLGT5HIVJZ5V4QZ7MLVDBBUBANCNFSM42COKIGA
>.
> You are receiving this because you were mentioned.
>
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM22A2MZ32UJBVO7FKUIRDTVDB4MRANCNFSM42COKIGA>
.
You are receiving this because you were mentioned.Message ID:
<marcel-licence/esp32_drum_computer/repo-discussions/2/comments/2491844@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
It is the same DAC though
Fabien Dostie
DIT/VR & Direction Technique - Coloriste Numérique -
DataWrangler, DIT & V/A
(AQTIS/IATSE)
…On Sat., Apr. 2, 2022, 13:00 Erich ***@***.***> wrote:
Hi Fabien,
I have tested Your code but swapped the i2s_interface back to my version.
It compiles and works.
Perhaps You could try to get a simple PCM5102 - DAC.
I cannot help more because I do not own the same DAC which You have used.
perhaps it is a problem with the conversion from Float to Integer.
In my code, the Pinout for the DAC was defined in the i2s_interface.ino.
In Your code, it was defined twice, once in i2s_interface.ino and in the
ESP32-Volca-Beats-PCM-FABMOD.ino.
This is perhaps bad for Your DAC.
As I don´t have the same I2S-DAC as You mentioned, I replaced the
i2s_interface.ino back to my version.
If You are using another DAC, You have to change this file to get a
special version for Your DAC.
As it is difficult for others to follow us, - Your and my code is
different to the code from Marcel.
perhaps it would be better for You to create Your own repository on Github
to discuss it there.
To get Your version compiled and working, I only disabled all the lines of
code for the „Audio“ - Setup for Your DAC and replaced i2s_interface.h with
my version from my GitHub-repo..
My Code is slightly different to the code from marcel, he did not use any
MIDI-Library. My Code uses the MIDI-Library from FourtysevenEffects!
perhaps You have to install this to get it compiled.
Best Regards
Erich
> Am 02.04.2022 um 15:12 schrieb fabiendostie ***@***.***>:
>
>
> That's quite rude of you to first offer me help but then just say, that
without even looking at the code!! YOU asked me to upload my code and that
you would take a look?
>
> Obviously, I started with your code but I modified the pins used to make
it work with my specific DAC, but that is only the pinout and naming scheme
that was modified.
>
> It's IS 99.999% your code I did not use marcel's code, I was just
desperately trying stuff out to maybe make it work with my i2s DAC and I
guess I forgot to remove that "#include "Audio.h” line from your code I’m
sorry.
>
> I DID have to change the pinout and naming scheme of the i2s interface
to fit my I2S DAC to work… It did not work at all with your original code,
It actually wouldn’t even compile!!!
>
> All the rest is 100% your untouched code. And it is NOT working on 2
other different setups (i2s DAC’s + esp32’s) I’ve tried, even though I’ve
tested the DAC’s and the board’s with other codes like all marcel's synths
and samplers for example, which all work perfectly. And have audio coming
out.
>
> I really think there is something wrong there is with your code+my
dac+esp32: it’s definitely not easily applicable to other people than your
exact setup it seems. It seems that it is only applicable to your exact
brand and model and that it doesn’t work on any other that I've tried (I
tried 3 different combination of brands and makers!!)
>
> that’s why I’m asking for your help because I've been trying to make it
work for a WHOLE YEAR now!!!
> Actually drilled holes and installed pots and everything! (I know I
should have tested your code before, but since it was based on Marcel’s
code I figured It would work as all of his code works with no issues!!!)
>
>
> Please would you be kind enough to take a quick look and hopefully find
something that might be the cause of it not producing sound?
>
> Please would you, I really am desperate by now.
>
> > On Apr 2, 2022, at 8:15 AM, Erich ***@***.***> wrote:
> >
> >
> > Hi Fabien,
> > the Code which You mentioned was not based on my code…
> >
> > You took the code from marcel and modified it.
> >
> > Your Answers don’t belong to my code.
> > Sorry…
> >
> > Example:
> > You used Audio.h
> > .. my version, which was based on code from Marcel from 2021 doesn’t
use Audio.h.
> >
> > I don´t have the time to check Your code.
> >
> > Excuse me.
> >
> > best Regards
> > Erich
> >
> >
> >
> > > Am 27.03.2022 um 11:47 schrieb fabiendostie ***@***.***>:
> > >
> > >
> > > Hi Fabien, try to send me the code .. upload ist somewhere and I
will check it in my Volca…. Regards Erich
> > >
> > > Hello @ErichHeinemann <https://github.com/ErichHeinemann> did you
have time to take a look at it?
> > > I can't wait to be able to move on to another thing in my head. I'm
really stuck on this one.
> > >
> > > —
> > > Reply to this email directly, view it on GitHub <
#2 (reply in thread)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AIR2GNNZWIN4XAIJFPAJ5NDVCAVDZANCNFSM42COKIGA
>.
> > > You are receiving this because you were mentioned.
> > >
> >
> > —
> > Reply to this email directly, view it on GitHub <
#2 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AM22A2LHD2VUFZFEMPW4OFTVDA277ANCNFSM42COKIGA
>.
> > You are receiving this because you were mentioned.
> >
>
> —
> Reply to this email directly, view it on GitHub <
#2 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AIR2GNLGT5HIVJZ5V4QZ7MLVDBBUBANCNFSM42COKIGA
>.
> You are receiving this because you were mentioned.
>
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM22A2MZ32UJBVO7FKUIRDTVDB4MRANCNFSM42COKIGA>
.
You are receiving this because you were mentioned.Message ID:
<marcel-licence/esp32_drum_computer/repo-discussions/2/comments/2491844@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
You do understand that I have exactly the same DAC PCM5102, esp32devkit v1,
the same midi libraries installed and that I followed every step of your
guide which is in your repo with the code?
Also that it is compiling and sending midi out which I can read on the
serial monitor if the Arduino IDE.
So my guess is that it's either an issue with LittleFS since, as Marcel
mentioned, it's reading the samples directly from littleFS, and I suspect a
problem there or the potentiometers not being hooked.
I'll completely re-install littleFS tools and solder the potentiometers to
the board, they already are glued and installed and wired in the Volca
just not to the esp32.
If after all those painful efforts and long nights it still doesn't work.
I'll give this up and concentrate on modifying Marcel's project to work
with the Volca. But it'll be hard for me, I'm tenacious and I want to
learn! The learning curve is really steep for me as I'm from a really
different background but I'll succeed in the end. I'm real patient and
tenacious ASI said.
Fabien Dostie
DIT/VR & Direction Technique - Coloriste Numérique -
DataWrangler, DIT & V/A
(AQTIS/IATSE)
…On Sat., Apr. 2, 2022, 13:00 Erich ***@***.***> wrote:
Hi Fabien,
I have tested Your code but swapped the i2s_interface back to my version.
It compiles and works.
Perhaps You could try to get a simple PCM5102 - DAC.
I cannot help more because I do not own the same DAC which You have used.
perhaps it is a problem with the conversion from Float to Integer.
In my code, the Pinout for the DAC was defined in the i2s_interface.ino.
In Your code, it was defined twice, once in i2s_interface.ino and in the
ESP32-Volca-Beats-PCM-FABMOD.ino.
This is perhaps bad for Your DAC.
As I don´t have the same I2S-DAC as You mentioned, I replaced the
i2s_interface.ino back to my version.
If You are using another DAC, You have to change this file to get a
special version for Your DAC.
As it is difficult for others to follow us, - Your and my code is
different to the code from Marcel.
perhaps it would be better for You to create Your own repository on Github
to discuss it there.
To get Your version compiled and working, I only disabled all the lines of
code for the „Audio“ - Setup for Your DAC and replaced i2s_interface.h with
my version from my GitHub-repo..
My Code is slightly different to the code from marcel, he did not use any
MIDI-Library. My Code uses the MIDI-Library from FourtysevenEffects!
perhaps You have to install this to get it compiled.
Best Regards
Erich
> Am 02.04.2022 um 15:12 schrieb fabiendostie ***@***.***>:
>
>
> That's quite rude of you to first offer me help but then just say, that
without even looking at the code!! YOU asked me to upload my code and that
you would take a look?
>
> Obviously, I started with your code but I modified the pins used to make
it work with my specific DAC, but that is only the pinout and naming scheme
that was modified.
>
> It's IS 99.999% your code I did not use marcel's code, I was just
desperately trying stuff out to maybe make it work with my i2s DAC and I
guess I forgot to remove that "#include "Audio.h” line from your code I’m
sorry.
>
> I DID have to change the pinout and naming scheme of the i2s interface
to fit my I2S DAC to work… It did not work at all with your original code,
It actually wouldn’t even compile!!!
>
> All the rest is 100% your untouched code. And it is NOT working on 2
other different setups (i2s DAC’s + esp32’s) I’ve tried, even though I’ve
tested the DAC’s and the board’s with other codes like all marcel's synths
and samplers for example, which all work perfectly. And have audio coming
out.
>
> I really think there is something wrong there is with your code+my
dac+esp32: it’s definitely not easily applicable to other people than your
exact setup it seems. It seems that it is only applicable to your exact
brand and model and that it doesn’t work on any other that I've tried (I
tried 3 different combination of brands and makers!!)
>
> that’s why I’m asking for your help because I've been trying to make it
work for a WHOLE YEAR now!!!
> Actually drilled holes and installed pots and everything! (I know I
should have tested your code before, but since it was based on Marcel’s
code I figured It would work as all of his code works with no issues!!!)
>
>
> Please would you be kind enough to take a quick look and hopefully find
something that might be the cause of it not producing sound?
>
> Please would you, I really am desperate by now.
>
> > On Apr 2, 2022, at 8:15 AM, Erich ***@***.***> wrote:
> >
> >
> > Hi Fabien,
> > the Code which You mentioned was not based on my code…
> >
> > You took the code from marcel and modified it.
> >
> > Your Answers don’t belong to my code.
> > Sorry…
> >
> > Example:
> > You used Audio.h
> > .. my version, which was based on code from Marcel from 2021 doesn’t
use Audio.h.
> >
> > I don´t have the time to check Your code.
> >
> > Excuse me.
> >
> > best Regards
> > Erich
> >
> >
> >
> > > Am 27.03.2022 um 11:47 schrieb fabiendostie ***@***.***>:
> > >
> > >
> > > Hi Fabien, try to send me the code .. upload ist somewhere and I
will check it in my Volca…. Regards Erich
> > >
> > > Hello @ErichHeinemann <https://github.com/ErichHeinemann> did you
have time to take a look at it?
> > > I can't wait to be able to move on to another thing in my head. I'm
really stuck on this one.
> > >
> > > —
> > > Reply to this email directly, view it on GitHub <
#2 (reply in thread)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AIR2GNNZWIN4XAIJFPAJ5NDVCAVDZANCNFSM42COKIGA
>.
> > > You are receiving this because you were mentioned.
> > >
> >
> > —
> > Reply to this email directly, view it on GitHub <
#2 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AM22A2LHD2VUFZFEMPW4OFTVDA277ANCNFSM42COKIGA
>.
> > You are receiving this because you were mentioned.
> >
>
> —
> Reply to this email directly, view it on GitHub <
#2 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AIR2GNLGT5HIVJZ5V4QZ7MLVDBBUBANCNFSM42COKIGA
>.
> You are receiving this because you were mentioned.
>
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM22A2MZ32UJBVO7FKUIRDTVDB4MRANCNFSM42COKIGA>
.
You are receiving this because you were mentioned.Message ID:
<marcel-licence/esp32_drum_computer/repo-discussions/2/comments/2491844@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
It was saying upload successful, but also that the folders couldn’t be created … and I updated the littleFS then everything broke… couldn’t upload anymore. I really don’t know what is happening! I don’t think I’ve ever had so many problems with any project, it’s crazy like I’m cursed on that one!
I am in the process of re-installing it, but I’m apparently having issues, looks like it’s related to python 3.9 is the version I’m using but Arduino is using python 2 or something, ill keep you guys posted for sure… I’m onto something now…
Hopefully soon ill be able to re-test again...
… On Apr 3, 2022, at 4:07 AM, Marcel ***@***.***> wrote:
What does appear in your arduino output when executing the "ESP32 LittleFS Data Upload"? Please ensure that verbose output is activated that helps finding the issues
—
Reply to this email directly, view it on GitHub <#2 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM22A2JN47QYK3TNKI3KRHDVDFGULANCNFSM42COKIGA>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
If Upload with littles does not work:
- Check the ErrorMessage
these are the 2 known problems:
1. Serial Monitor is active and blocking access to serial port
2. You have to format littleFS first > ESP32 Sketch Data Upload - Menü „!Erase Flash!“
3. Little FS isn’t well installed.
In Your case, concentrate on 1 and option 2.
Regards
Erich
… Am 03.04.2022 um 14:03 schrieb fabiendostie ***@***.***>:
It was saying upload successful, but also that the folders couldn’t be created … and I updated the littleFS then everything broke… couldn’t upload anymore. I really don’t know what is happening! I don’t think I’ve ever had so many problems with any project, it’s crazy like I’m cursed on that one!
I am in the process of re-installing it, but I’m apparently having issues, looks like it’s related to python 3.9 is the version I’m using but Arduino is using python 2 or something, ill keep you guys posted for sure… I’m onto something now…
Hopefully soon ill be able to re-test again...
> On Apr 3, 2022, at 4:07 AM, Marcel ***@***.***> wrote:
>
>
> What does appear in your arduino output when executing the "ESP32 LittleFS Data Upload"? Please ensure that verbose output is activated that helps finding the issues
>
> —
> Reply to this email directly, view it on GitHub <#2 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM22A2JN47QYK3TNKI3KRHDVDFGULANCNFSM42COKIGA>.
> You are receiving this because you were mentioned.
>
—
Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIR2GNIFGGBSYGZPK5RHBZDVDGCJVANCNFSM42COKIGA>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I don't have any extra diodes on my implementations of midi interfaces ..
yet, but probably will add if i make a printed circuit.
…On Sun, Mar 27, 2022 at 1:43 AM Marcel ***@***.***> wrote:
Sehr gerne, you are welcome.
I tried to explain the usage of the components. It should work without the
diodes.
Does the description help to understand why there are two voltages?
Otherwise an update of the description is necessary.
You can try to apply ~3V for both.
—
Reply to this email directly, view it on GitHub
<#2 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALTDOQ4KLRHW5BOBUIWQ7OTVB5LFTANCNFSM42COKIGA>
.
You are receiving this because you commented.Message ID:
<marcel-licence/esp32_drum_computer/repo-discussions/2/comments/2443922@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
I had similar errors I'll put some info in near future. I installed
pyserial ...
…On Mon, Apr 4, 2022, 01:22 fabiendostie ***@***.***> wrote:
Hello again sir,
Obviously, the serial monitor isn't running while trying to upload using
the serial port ;)
I also, of course, had formatted the flash using the tool prior to
uploading as it's the procedure and I always read all the documentation
before starting to use a new tool.
that is precisely why I had put the blame on LittleFS, actually on me
having NOT installed it correctly.. but now... it's even worse!!!
These littleFS errors are new because I have been able to upload
successfully for the last 2 months at least, they weren't happening a few
days ago, but I did update a bunch of stuff in Arduino, trying to help my
problems turns out I made them worse.
I removed the littleFS install and started the install process from
scratch. all went well except... I still get this error about Pyserial!!!
The thing is that I do have it installed (pySerial and serial), but on my
python3 path, since python2 is deprecated, I can't install it using
something like:
pip2 install Pyserial Serial
git cloned : LITTLEFS-master
got: LittleFS_esp32, mklittlefs, the littleFS-tools, arduino-esp32fs-plugin
got the files in /Applications/Arduino.app/Contents/Java/tools/
[image: Screen Shot 2022-04-03 at 1 34 43 PM]
<https://user-images.githubusercontent.com/53846121/161440757-a1cebe6d-e495-4c97-bccd-d987f7cd7a60.png>
and
[image: Screen Shot 2022-04-03 at 1 53 56 PM]
<https://user-images.githubusercontent.com/53846121/161441329-de6a27b9-e0d9-4b09-8442-f07676a5e27a.png>
I have just spent the last 3 hours on stack overflow and other sites to
try to find the way to tell Arduino IDE to look for Serial but in the
Python3 PATH, many different suggestions, but none worked because as I
said, I have Pyserial installed on python3.9 and it won't let me install it
on python2.7.... where Arduino looks for pyserial
for example, i tried so many commands here are a few of them:
sudo pip install python-is-python3
or
ls -l /usr/local/bin/python*
ln -s -f /usr/local/bin/python3 /usr/local/bin/python
exec $SHELL -l
or
brew install pyserial
etc... etc... etc...
None will work...
and this is the IDE output:
Chip: esp32
Using partition scheme from Arduino IDE.
Start: 0x110000
Size : 0x2f0000
mklittlefs : /Users/lefab/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/mklittlefs/mklittlefs
esptool: /Users/lefab/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/esptool.py
[LittleFS] data : /Users/lefab/Documents/Arduino/Projects/LittleFS-SPIFS/LITEULEFES/data
[LittleFS] offset : 0
[LittleFS] start : 1114112
[LittleFS] size : 3008
[LittleFS] page : 256
[LittleFS] block : 4096
_>skipping .DS_Store
->/1/GateKeeper_Helper.command
_>skipping .DS_Store
->/4/README.md
->/3/1st_test.rns
->/2/87097072.pdf
[LittleFS] upload : /var/folders/k0/hjpsy66n3hg335tq13ylq_jc0000gn/T/arduino_build_91207/LITEULEFES.littlefs.bin
[LittleFS] address: 1114112
[LittleFS] port : /dev/cu.SLAB_USBtoUART
[LittleFS] speed : 921600
[LittleFS] mode : dio
[LittleFS] freq : 80m
->Pyserial is not installed for /Library/Developer/CommandLineTools/usr/bin/python3. Check the README for installation instructions.
_>Traceback (most recent call last):
_> File "/Users/lefab/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/esptool.py", line 38, in <module>
_> import serial
_>ModuleNotFoundError: No module named 'serial'
LittleFS Upload failed!
Maybe someone here has the solution for me. I realized that this is really
a problem that a LOT of people have, i could go for hours reading Reddit ,
blog posts, stack overflow and Arduino board etc... many are Offering
supposedly THE "solution" but none of the 20-30 ones I've tried had any
positive effect on my situation...
why does it have to be so complicated for this project, I<m telling you...
it feels almost as it's cursed for me! lol!
I Am going to, eventually see the end of this... soon hopefully!!!
Open to ANY suggestions really...
thanks again
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALTDOQ2QYD7MVVLX6JXNBSLVDHOU5ANCNFSM42COKIGA>
.
You are receiving this because you commented.Message ID:
<marcel-licence/esp32_drum_computer/repo-discussions/2/comments/2495766@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Hello Marcel, first of all congratulations for this great project and a thousand thanks for publishing the source code, it's freaking amazing !
do you have any idea what the problem could be ? for all those who want to use the project in platform io with vscode : platformio.ini
|
Beta Was this translation helpful? Give feedback.
-
Hello Marcel, I like your work very much and would like to make a donation to you |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions