VS1053 MP3 Shield RealTimeMidi

Post Reply
pitchoilcan
Posts: 6
Joined: Fri Aug 29, 2014 9:50 pm

VS1053 MP3 Shield RealTimeMidi

Post by pitchoilcan » Sun Sep 07, 2014 10:03 am

Dear Friend:
Hi Folks I need some help setting up my Geeetech Mp3 Shield. Please!
The code offered for download is no good. I had to use other libraries of test but I'm newbie and this is way too hard.
So here are my questions:

1
I've been trying to test my Geeetech MP3 shield for almost a week now with limited success. I've gotten the button demo to work (playing .mp3 files from the SDcard, but can't figure out how to do the RealTime Midi setup. I've tried several sketches but so far have heard no sound. I took a look at https://learn.adafruit.com/adafruit-vs1 ... onnections and it seemed like it would work but so far no such luck.
From what I've read I need to pull GPIO-0 High and GPIO- LOW. The problem is there is no pin labeled GPIO-0. GPIO-1 is pin4 on the shield. I read somewhere that GPIO-0 is SD-CS pin9 but when I try tying that to GND and pin4 to 3.5v there is still no sound coming out of the speakers. Can Adafruit_VS1053_Library_Master/Example/player_miditest be used with this shield http://www.geeetech.com/wiki/index.php/ ... th_TF_card and what if any modification need to be made. I am using an Arduino Uno I was hoping to simply snap the shield onto the board, upload the sketch and hear the midi capabilities of the VS1053 but it doesn't seem to be that simple. Can anyone offer some help and or advice?

2
I'm trying to test a geetech vs1053 MP3 shield

trying to play middle C from the IDE serial window I send
noteOn(0,60,127) expecting to hear C with velocity of 127. but nothing plays.

Quote
* MIDI data can be sent with two different methods as well, controlled by USE_SPI_MIDI
* (0) Through a (software) serial connection on pin 3, at 31250 baud
* (1) Through SPI, at an arbitrary data rate. For SPI, each byte of MIDI data needs to be prefixed by a 0 byte
* (The V1053b data sheet erroneously states that the padding should be a 0xFF byte).
Do I need to send 0xFFnoteOn(0,60,127) or something else.? I've tried so many things I've lost track

Can anyone offer some help and or advice?
Thanks much

Star
Posts: 42
Joined: Wed Jun 11, 2014 3:32 pm

Re: VS1053 MP3 Shield RealTimeMidi

Post by Star » Tue Sep 09, 2014 11:24 am

Dear pitchoilca,
I am sorry to tell you that the Adafruit_VS1053_Library_Master/Example/player_miditest can not be used with this shield.I suggest you refering to the data sheet of vs1053 for the question that you can not find the pins of GPIO-0 and GPIO-1.Then you will see the GPIO-0 is the 33th pin of vs1035 and the GPIO-1 is the 34th pin.We connected GPIO-0 and GPIO-1 to ground through a 104 resistor respectively.

pitchoilcan
Posts: 6
Joined: Fri Aug 29, 2014 9:50 pm

Re: VS1053 MP3 Shield RealTimeMidi

Post by pitchoilcan » Tue Sep 09, 2014 5:10 pm

How then do I get the vs1053 shield into Real time midi mode? I do you have a midi player example. I saw one mentioned at http://www.geeetech.com/wiki/index.php/ ... hield_V2.0 but didn't find it in the download.

Star
Posts: 42
Joined: Wed Jun 11, 2014 3:32 pm

Re: VS1053 MP3 Shield RealTimeMidi

Post by Star » Fri Sep 12, 2014 10:30 am

Dear pitchoilca,
I am sorry to tell you that i also do not have a midi player example.I suggest you to visit the following web page:
http://www.seeedstudio.com/wiki/Music_Shield_V2.0
https://github.com/jdkoftinoff/jdksmidi
http://www.seeedstudio.com/wiki/index.p ... uselang=zh
http://www.seeedstudio.com/wiki/File:MIDI_demo.zip
I hope they are helpful to you.

cadcoke5
Posts: 1
Joined: Wed Dec 07, 2016 1:36 pm

Re: VS1053 MP3 Shield RealTimeMidi

Post by cadcoke5 » Wed Dec 07, 2016 2:18 pm

I am having the same issue. In my case, I want to send MIDI data to the chip via an Arduino.

As I read the VS1053 user manual, and see the hook-up schematic you have on your Wiki, I am starting to fear that I made a bad purchase decision. The VS1053 manual says,
10.10 Real-Time MIDI

If GPIO0 is low and GPIO1 is high during boot, real-time MIDI mode is activated. In this mode
the PLL is configured to 4.0×, the UART is configured to the MIDI data rate 31250 bps, and
real-time MIDI data is then read from UART and SDI...cut...

Real-Time MIDI can also be started with a small patch code using SCI.
From earlier in this thread, I see that we cannot enable MIDI with the GPIO pins 0 and 1, because both are connected to ground already.

However, the final line I quoted from the VS1053 manual indicates that we can start the Real-time MIDI with some sort of patch code over SPI. But, I have not been able to find any information on how to do that. If I were to somehow find out how to do this, can that MIDI data come over the SPI port? The manual indicates that it is expecting the MIDI data to come over the UART. Is this perhaps the same as the MOSI and MOSO lines?

-Joe

Victoria Nope
Posts: 3
Joined: Mon Nov 16, 2020 10:53 pm

Re: VS1053 MP3 Shield RealTimeMidi

Post by Victoria Nope » Tue Nov 17, 2020 1:08 am

cadcoke5 wrote:
Wed Dec 07, 2016 2:18 pm
10.10 Real-Time MIDI

Real-Time MIDI can also be started with a small patch code using SCI.
From earlier in this thread, I see that we cannot enable MIDI with the GPIO pins 0 and 1, because both are connected to ground already.

However, the final line I quoted from the VS1053 manual indicates that we can start the Real-time MIDI with some sort of patch code over SPI.
One can load a patch code over SCI to start the real time MIDI mode. Follow "VS1053b Realtime MIDI Start code" term from VS10XX Patches.

How to load a patch code should learn everybody because through them are amongst extensions distributed chip bug fixes, so essentially every application should initialize the chip by loading a patch code.

jangdong
Posts: 1
Joined: Mon Aug 02, 2021 11:34 am

Re: VS1053 MP3 Shield RealTimeMidi

Post by jangdong » Mon Aug 02, 2021 11:37 am

This game has absolutely no ads. and that's perfect. slope unblocked

Post Reply