Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:23 27 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PicoMite - adventures in sound

     Page 3 of 3    
Author Message
crazycloud
Newbie

Joined: 20/08/2023
Location: United States
Posts: 37
Posted: 04:50pm 17 Dec 2023
Copy link to clipboard 
Print this post

I just looked at the schematic again.  I do have a GBUFF signal in the audio output.
Maybe I blew out the audio output circuit when I connected it to my bluetooth speaker. I have about 4 of these boards. I will try another. thank you for the advice.
 
crazycloud
Newbie

Joined: 20/08/2023
Location: United States
Posts: 37
Posted: 04:59pm 17 Dec 2023
Copy link to clipboard 
Print this post

In response to GOC30's comment about my option list for the VS1053

my very first configuration DID HAVE option system spi GP10 Gp11,gp12.

It did not produce sound.  I didn't think it was necessary because I only had one SPI
device namely the VS1053. I think you are saying that because I'm using a webmite
I need option system spi GP10,GP11,GP12.  What do these 3 pins run? is it the wifi?
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 864
Posted: 05:13pm 17 Dec 2023
Copy link to clipboard 
Print this post

Only just picked-up on this thread and have downloaded the data-sheet.

Trying to imagine the possibilities here.

Let's say a solo musician uses this to play mp3 backing tracks for his guitar/vocal performance. At a certain point, during playback, he needs to trigger a MIDI change (maybe a guitar effect). Can this be programmed and thus eliminate the floor-pedal tap-dancing routine?

If so, we are talking about some serious possibilities here.
 
goc30

Guru

Joined: 12/04/2017
Location: France
Posts: 427
Posted: 05:52pm 17 Dec 2023
Copy link to clipboard 
Print this post

  crazycloud said  In response to GOC30's comment about my option list for the VS1053

my very first configuration DID HAVE option system spi GP10 Gp11,gp12.

It did not produce sound.  I didn't think it was necessary because I only had one SPI
device namely the VS1053. I think you are saying that because I'm using a webmite
I need option system spi GP10,GP11,GP12.  What do these 3 pins run? is it the wifi?


You have to ask Pete about the way he manages the SPI signals with the VS1053, obviously between the first version and the second, he separated the two SPIs
Also pay attention to one detail, at home with the Chinese VS1053 card (the same as Pete's), the sound output is very weak, I have to increase the level of my amp
 
crazycloud
Newbie

Joined: 20/08/2023
Location: United States
Posts: 37
Posted: 06:05pm 17 Dec 2023
Copy link to clipboard 
Print this post

thank you everyone. I got it working. the sound quality through crystal type high impedance headphones is awesome!  I gave it a 100k mp3 file to play.  It doesn't seem to play the entire file, BUT I GET SOUND!!
 
crazycloud
Newbie

Joined: 20/08/2023
Location: United States
Posts: 37
Posted: 06:06pm 17 Dec 2023
Copy link to clipboard 
Print this post

now I have to figure out how to input it into an amplifier without blowing up the circuit.  Maybe couple it into 2 high impedance audio transformers?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9119
Posted: 06:07pm 17 Dec 2023
Copy link to clipboard 
Print this post

This thread is out of date - see here for the final version of VS1053 support.
If you aren't getting an error when using audio with the vs1053 then pretty much everything is working. It is only XDCS that could be faulty if you don't see an error. Try using a different pin for XDCS or make sure the wiring is OK end-to-end and teat the pin isn't being held by anything else in the circuit
 
cosmic frog
Senior Member

Joined: 09/02/2012
Location: United Kingdom
Posts: 284
Posted: 06:16pm 17 Dec 2023
Copy link to clipboard 
Print this post

  crazycloud said  now I have to figure out how to input it into an amplifier without blowing up the circuit.  Maybe couple it into 2 high impedance audio transformers?


Have you tried this -




The Ground should come from the "-" connection of the power supply DO NOT USE GBUF.

Dave.
 
crazycloud
Newbie

Joined: 20/08/2023
Location: United States
Posts: 37
Posted: 06:19pm 17 Dec 2023
Copy link to clipboard 
Print this post

I just saw that online, thank you. my next project.
 
crazycloud
Newbie

Joined: 20/08/2023
Location: United States
Posts: 37
Posted: 06:23pm 17 Dec 2023
Copy link to clipboard 
Print this post

you folks are awesome.
 
damos
Regular Member

Joined: 15/04/2016
Location: Australia
Posts: 63
Posted: 10:27pm 17 Dec 2023
Copy link to clipboard 
Print this post

Has anyone measured the latency on these MP3 players? I tried doing this a while ago and the MP3 player I was using had a 600ms latency, making it completely useless for the task. Ideally you need less than 20ms latency to make it worthwhile and even then a good musician would be complaining when playing in an ensemble.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9119
Posted: 10:43pm 17 Dec 2023
Copy link to clipboard 
Print this post

mp3 is analysed and buffered frame by frame. The number of millisecond of sound in a frame varies depending on the compression but cannot be less than 25-50 mSec so it is completely inappropriate for this use. MIDI is real- time hence why it is used and not MP3
 
damos
Regular Member

Joined: 15/04/2016
Location: Australia
Posts: 63
Posted: 11:14pm 18 Dec 2023
Copy link to clipboard 
Print this post

It would be ok to use WAV which should have lower latency. A lot of music samples are quite short, so for percussion or non-sustained notes WAV would be fine. The idea was to create a cheap MIDI player that interprets MIDI commands using stored samples. This approach could not be used for sustained notes.

I have always found the instruments on most MIDI systems (apart from high-end DAW) to not sound very good. Jeremy's additive synth project (published in Silicon Chip) is now very good. They are good enough for simple systems and non-musical (or toy) applications.
 
     Page 3 of 3    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024