Author Topic: MIDI and SD Card  (Read 4531 times)

Angus Byrne

  • Newbie
  • *
  • Posts: 11
    • View Profile
MIDI and SD Card
« on: November 03, 2019, 03:08:41 PM »
Hi there. Iím gradually getting to know the V2 that I received a week ago. Iím having problems with the microSD card which the Gecho will not read. However I need to check that the card that I have (SanDisk128GB bought new a few days ago) is not faulty. Watch this space!

I am having a problem with MIDI in however. When I send midi into the Gecho it works for a few seconds and then everything seizes up and all I can hear are glitches and high-pitched squeaks! I have to power down and up again to get back to normal. Is the MIDI facility fully implemented yet?

Cheers

mario

  • Administrator
  • Full Member
  • *****
  • Posts: 161
    • View Profile
Re: MIDI and SD Card
« Reply #1 on: November 03, 2019, 06:30:52 PM »
Hi Angus,

In theory 128GB should work but I haven't tested it - only up to 64GB. Hope the card is fine, and it is just not compatible for some reason. What brand is it?

MIDI has a bug where the higher notes may cause this, for example with Keystep I usually need to go down an octave or two to get to the useful range. Does it also happen with lower notes?

Cheers,
Mario

Angus Byrne

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: MIDI and SD Card
« Reply #2 on: November 03, 2019, 07:27:08 PM »
Itís a SanDisk (see my first post).

Iíll try the MIDI again soon and report back.

Thanks.

Angus Byrne

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: MIDI and SD Card
« Reply #3 on: November 05, 2019, 12:21:49 PM »
Iíve tried MIDI in again and now it seems to work without problems right through 3 octaves. I havenít changed anything so I canít account for the sudden lack of problems but of course Iím not complaining! It works very effectively in #34 (MI Clouds).

Iím still having micro SD card failure however. I exchanged the SanDisk 128 GB disk for a 64 but the problem remains the same: the Gecho will just not read it. Iím absolutely sure itís fully inserted and the right way up.


mario

  • Administrator
  • Full Member
  • *****
  • Posts: 161
    • View Profile
Re: MIDI and SD Card
« Reply #4 on: November 06, 2019, 09:23:00 AM »
That's great! I think what might have happened is that as you run certain channel after another which changed settings temporarily, it may affect the behaviour in undesired way, until you restart the machine - more testing required on my part.

About the SD: how does the failure manifest, is the same error indicated as if the card was not even there? Maybe it's an interface problem, from the official ESP32 framework it looks that it should support both SDHC and SDXC cards (your 64GB and 128GB cards would be the SDXC), but it is not clear if this is supposed to "just work" or something needs to be configured in the driver. I'll look for one of these cards and try. 32GB and less would be SDHC type and should work without any problem.

There is not much to configure at the moment and I believe a card with such capacity would be very fast, but anyway, maybe it has a backward-compatibility mode; you can try to change clock speed, that's done in "configuration settings" SET-B2-B3 (2nd red LED means it's set to 20MHz, 4th LED = 40MHz).

synth_player

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: MIDI and SD Card
« Reply #5 on: November 06, 2019, 04:12:42 PM »
Did you format the SD card ?

https://www.sdcard.org/downloads/

I've got a SanDisk 32mb that works fine
I did format it before use...so I don't know if it would've failed without formating

Worth a try !

Angus Byrne

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: MIDI and SD Card
« Reply #6 on: November 10, 2019, 03:37:38 PM »
Hello again

MicroSD card update. Iíve tried different clock speeds on the settings on the Loopsynth without any success. Interestingly however, when I attach a rather old card reader to the USB port on my Microsoft Surface Pro it will not read the microSD card but will read an older standard sized SD card. Contrastingly, a friendís Google laptop with a built in card reader reads the microSD card OK.

This suggests to me that there is an issue about the transfer rate or clock speed of the higher capacity microSD cards.

I guess the next step is to try a slower rate, smaller capacity microSD card in the Loopsynth.


mario

  • Administrator
  • Full Member
  • *****
  • Posts: 161
    • View Profile
Re: MIDI and SD Card
« Reply #7 on: November 12, 2019, 02:46:11 PM »
Hi Guys,

I've tested a 64GB SDXC card and it indeed does not work. This is because SD cards above 32GB do not use FAT32 file system but use exFAT instead. It may not be a good idea to format SDXC cards with FAT32 as you'd probably end up with 32GB of usable space (unless you can somehow create a 2nd partition with the remaining space). If you are not using Windows, there are tools that can format a single FAT32 partition above the 32GB (as that limit is merely imposed by Windows and hard limit for FAT32 is 2-16TB depending on sector size). I'd be careful with using any tool on a SD card that is not made or approved by its manufacturer as improper formatting may result in permanent damage.

I'm investigating how to make these larger cards compatible, as at the hardware level there is no issue, and the software framework is reportedly supporting them. If this works, it will require a firmware upgrade - which, ironically, is also performed by a SD card so you will need to find a working one (32GB or smaller) anyway.

Cheers,
Mario

Angus Byrne

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: MIDI and SD Card
« Reply #8 on: November 13, 2019, 03:01:24 PM »
Thanks for this clarification Mario. 32gb it is then.

yewtreemagic

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: MIDI and SD Card
« Reply #9 on: November 18, 2019, 06:28:16 PM »
I bought myself a 32GB Sansdisk MicroSD card, because I'm sure I noticed Mario mentioning that was the one he used, so it looks as if I'll be OK.

Like most of the others here though, I haven't really had a chance to try out the card as yet ;)


Martin

Angus Byrne

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: MIDI and SD Card
« Reply #10 on: November 19, 2019, 10:52:04 AM »
Well, I now have a SanDisk 32gb microSD card and... it works perfectly well as far as I can tell from the limited testing Iíve done.

Putting it in involves gently pushing it home with a tiny watchmakerís screwdriver and getting it out requires a nudge from this to release it. Final extraction is easily done with the tweezers that come with my ĎClassicí Victorinox Swiss Army penknife.

Still lots to learn. Onward and upward.

mario

  • Administrator
  • Full Member
  • *****
  • Posts: 161
    • View Profile
Re: MIDI and SD Card
« Reply #11 on: November 19, 2019, 10:48:30 PM »
Yes, the SD card slot is unfortunately bit too deep in complete unit (in acrylic it is a lot easier to access). That's mainly thanks to the brass columns that hold the case together, plus the additional 1.6mm of the enclosure... It was not feasible to have two versions of the board to make them fit both versions perfectly. The slot mechanism cannot be any closer to the edge as then the card will stick out too far in acrylic version, plus there are traces in the way that need to go around the edge and nowhere else (analog ground, bias and signal lines for right mic).

Tweezers are handy but I also used a door key with success when I was out in the forest and needed to swap cards (by the way, door key is such a versatile tool, you can use it instead of a coin for supermarket shopping trolleys!) If you hold the case it upside down, chance is the card will be ejected out by the spring mechanism, and if not, gentle knock will help Or a less gentle knock. No worries, the device is sturdy enough. I've dropped mine on tiled floor and nothing happened.

I have a halfway done "sync" app that will allow download the files via USB so you won't need to take the card out too often. Also upload new samples, once that's supported. But the card was mainly meant to be a "temp" space for recorded material. The capability to mangle recordings or use them as a background in some of the meditative channels is in the progress too.

But enough with the promises, here is something new for you guys to try. After you put the SD card in Gecho and power it on at least once, there will be file "update.htm" created. Open it in your browser and follow the instructions - hope that works! :)

synth_player

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: MIDI and SD Card
« Reply #12 on: December 20, 2019, 12:12:06 AM »
Been checking the "update.htm" and.....
The new firmware (1.0.116)  is here !!!!
The first time it didn't work...
second time I used  "save link as" to put the 2 files on the sd card...
worked fine  ;D
Mario... New channels 23 / 24 are just over the top great  !!
Haven't tried the other improvements yet but I'm sure they're all just as good
Very cool installing the new firmware did not erase my chord progressions
Thanks for getting this out for the holidays... hope you'll have some time to relax
Thx again

Goofaman

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: MIDI and SD Card
« Reply #13 on: December 21, 2019, 01:05:09 AM »
@synth_player Where is the update? And did you notice when it posted? I tried looking everywhere I could think of, but it's probably right under my nose somewhere :)

synth_player

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: MIDI and SD Card
« Reply #14 on: December 21, 2019, 10:53:38 AM »
Check the last paragraph of Mario's Nov 19 post directly above mine...follow his instructions