Search found 20 matches

by spikey1
Thu 2015-03-12 16:44
Forum: Microcontroller Software
Topic: Adafruit VS1053B Breakout using interrupts
Replies: 3
Views: 1267

Re: Adafruit VS1053B Breakout using interrupts

Thanks for reply I posted on the VSDSP forum because I thought the problem was my understanding of how the VS1053B works regarding use of interrupts. If I post on the Adafruit forum it is more about the working of the microcontroller coding. I am only using the breakout board because it gives me con...
by spikey1
Wed 2015-03-11 17:54
Forum: Microcontroller Software
Topic: Adafruit VS1053B Breakout using interrupts
Replies: 3
Views: 1267

Adafruit VS1053B Breakout using interrupts

Below is two procedures I use to play sounds using the Adafruit VS1053B breakout board controlled by a teensy3.1 microcontroller. The procedures as written work well and play fast short sounds (wav files) OK. but when detecting more touch pads the delay I imagine gets too long and the sounds get bro...
by spikey1
Sun 2015-03-01 16:53
Forum: Microcontroller Software
Topic: Adafruit VS1053B v2 Audio Breakout Board problem
Replies: 24
Views: 6864

Re: Adafruit VS1053B v2 Audio Breakout Board problem

This is a cleaned up version playing short sounds by stopping play midfile of a longer sound file and playing another immediately after it. It plays OK ....no distortion and no gap. The minimum duration I can get is about 60 ms. Any shorter than that I start to get glitches again. My programming ski...
by spikey1
Fri 2015-02-27 13:53
Forum: Microcontroller Software
Topic: Adafruit VS1053B v2 Audio Breakout Board problem
Replies: 24
Views: 6864

Re: Adafruit VS1053B v2 Audio Breakout Board problem

Thanks for your help. I have I think at last figured out how to write to the rsync register 0x1e29 I have used this........... sciInput(0x07, 0x1e29); //xxxxxxxxxxxxxxxxxxxx Setting rsync to Zero sciInput(0x06, 0); And it seems to work.....the distortion between file has stopped OK Files are now pla...
by spikey1
Wed 2015-02-25 13:59
Forum: Microcontroller Software
Topic: Adafruit VS1053B v2 Audio Breakout Board problem
Replies: 24
Views: 6864

Re: Adafruit VS1053B v2 Audio Breakout Board problem

If I send CANCEL I get gaps of approx 400 ms. Attached screendump.....and code below......... while(1) { //delay(10); p = rawData; // Point "p" to the beginning of array int playcount; while (p <= &rawData[sizeof(rawData)-1]) { while(! digitalRead(DREQ)); playcount = playcount + 1; digitalWrite(BREA...
by spikey1
Wed 2015-02-25 13:21
Forum: Microcontroller Software
Topic: Adafruit VS1053B v2 Audio Breakout Board problem
Replies: 24
Views: 6864

Re: Adafruit VS1053B v2 Audio Breakout Board problem

I have been trying to read some registers to see what happens..... This is the code I have been using....... Just at the start of loop run this code, serial print the values and wait while(1); xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx void loop() { sciInput(0,0x4800); delay(1); for (int i = 0; i<=15; i++)...
by spikey1
Tue 2015-02-24 16:49
Forum: Microcontroller Software
Topic: Adafruit VS1053B v2 Audio Breakout Board problem
Replies: 24
Views: 6864

Re: Adafruit VS1053B v2 Audio Breakout Board problem

The problem I have is I don't understand the fine detail of the programming. I have read through the datasheet, youe web pages and I am using the adafruit breakout board with arduino IDE and Teensy3.1.I posted my sketch code together with the array and screen dump of audacity recording on this threa...
by spikey1
Mon 2015-02-23 17:10
Forum: Microcontroller Software
Topic: Adafruit VS1053B v2 Audio Breakout Board problem
Replies: 24
Views: 6864

Re: Adafruit VS1053B v2 Audio Breakout Board problem

Thanks for reply... How do I check that?? I am using the data array as attached to my last post. I generated the wav one from Audacity and used Bin2C to covert them to an array Do you have any example wav arrays that plays cleanly. The only examples I can get on your web pages are mp3 arrays. I thin...
by spikey1
Mon 2015-02-23 2:54
Forum: Microcontroller Software
Topic: Adafruit VS1053B v2 Audio Breakout Board problem
Replies: 24
Views: 6864

Re: Adafruit VS1053B v2 Audio Breakout Board problem

I have tried various options with this but still cannot get wave files to play close after one another without a glitch of approx 20 samples of "random" waveform in between. I think it happens as the next file is starting. I tried it playing SD wav files and also tried wav files as a data array. Att...
by spikey1
Tue 2015-02-10 19:27
Forum: Microcontroller Software
Topic: Adafruit VS1053B v2 Audio Breakout Board problem
Replies: 24
Views: 6864

Re: Adafruit VS1053B v2 Audio Breakout Board problem

I have checked further. The play times between the large gaps seem to be related to the length of the files being played although I am not playing any file until the end of file. I am stopping in one case at 300ms of each file and playing the next immediately and repeating, and in the other case sto...