CPCWiki forum

General Category => Amstrad CPC hardware => Topic started by: Prodatron on 23:27, 13 October 17

Title: MP3 player for the Amstrad CPC
Post by: Prodatron on 23:27, 13 October 17
I was dreaming about this for more than 10 years and now it's finally possible:

https://www.youtube.com/watch?v=3xEyNQA6Weg (https://www.youtube.com/watch?v=3xEyNQA6Weg)

The CPC is now able to stream MP3 files of any size from a mass storage device in SymbOS, and it still has a lot of CPU time left.
After testing the AMSDAP (http://www.cpcwiki.eu/forum/amstrad-cpc-hardware/amsdap-amstrad-msx-adapter-connecting-any-msx-io-hardware-to-the-cpc/) (Amstrad MSx aDAPter) prototype two days ago I was able to connect it to the Mother4X board today. SymAmp for SymbOS, which got its MP3 plugin for the MSX in 2007, has been modified for the 16bit CPC port addresses and was directly working fine with the SE-ONE/MP3MSX hardware.

The video also shows the CPU time consumption, which as about 17% for a 96kbps MP3 file - not much more than exactly 1 IRQ. This includes loading the data from the SD-Card (M4Board) or CF-card/harddisc (SYMBiFACE II, X-MASS, CPC-IDE) and sending it to the MP3 decoder hardware, which all still has to be done by the Z80.

The MP3 decoder hardware itself contains an 8KB FIFO-buffer, which makes it possible to use 4KB for the actual playback and the other 4KB for receiving new data from the Z80 in the meantime. In contrast to playing digi samples via the AY/Amdrum/Digiblaster/etc. the Z80 doesn't need to do this job uninterrupted but has some time left (depending on the bitrate), until the MP3 buffer runs out of data and has to be refilled again.

In the video I am using both the MP3MSX hardware (made by Sunrise but not produced anymore) as well as the compatible SE-ONE cartridge (currently produced by TMT Logic and still available). The actual SE-ONE firmware is not providing the data for the VU meter, so I used both to show that in SymAmp as well.
Title: Re: MP3 player for the Amstrad CPC
Post by: Joseman on 01:46, 14 October 17
Oh!! i was waiting for this too since years!!

This adapter is incredible!! i want it!!

there is opl sound boards too for msx??

what other interesting boards the msx has?

Enviado desde mi GT-N7100 mediante Tapatalk

Title: Re: MP3 player for the Amstrad CPC
Post by: mr_lou on 06:29, 14 October 17
Looks like we need to put our CPC's into a tower soon, considering the growing list of expansions.  :)
Title: Re: MP3 player for the Amstrad CPC
Post by: msmthng on 07:35, 14 October 17
Cool, waiting for this devices!
Title: Re: MP3 player for the Amstrad CPC
Post by: shock__ on 17:48, 15 October 17
Playing all the electro-goth classics from the early 2000s :D
Title: Re: MP3 player for the Amstrad CPC
Post by: Bryce on 07:52, 16 October 17
Cool, but the CPC isn't really doing anything other than shovelling the data from A to B. It's not involved in the decoding at all.

Bryce.
Title: Re: MP3 player for the Amstrad CPC
Post by: Sykobee (Briggsy) on 17:23, 16 October 17
Still, shovelling 12KB a second from storage to external hardware in 4KB lumps at 17% load and still having all the other stuff in Symbos running is pretty neat.


Can it do 320kbps MP3s? That's 40KB a second, so around 50% CPU?
Title: Re: MP3 player for the Amstrad CPC
Post by: Prodatron on 20:43, 16 October 17
I didn't test 320kbps MP3s so far, but at least one with 256kbps. Task Manager showed 53% in total,
...which is 42% additional CPU time...
(idle + Task Manager running is about 11% - Task Manager itself with display uses about 3%).

TBH, I am quite happy with these values :) 256kbps is already A LOT. But even a 32kbps MP3 would still sound much better than any AY-/DigiBlaster- etc sample...
Title: Re: MP3 player for the Amstrad CPC
Post by: Bryce on 21:27, 16 October 17
Quote from: Sykobee (Briggsy) on 17:23, 16 October 17
Still, shovelling 12KB a second from storage to external hardware in 4KB lumps at 17% load and still having all the other stuff in Symbos running is pretty neat.


Can it do 320kbps MP3s? That's 40KB a second, so around 50% CPU?

I didn't say it's not impressive at what it does. It certainly is impressive, especially considering all the other tasks SymbOS has to do at the same time! I was just commenting on the fact that the Z80 isn't doing the decoding, which I know isn't possible, but still a shame.

Bryce.
Title: Re: MP3 player for the Amstrad CPC
Post by: ced64k on 22:09, 16 October 17
I remember that back in the 90s at school early Pentium couldn't play mp3 without skipping.
Title: Re: MP3 player for the Amstrad CPC
Post by: Edoz(MSX) on 08:11, 17 October 17
Very cool new feature! I like to see such a development on hardware and software! It's just nice to have things like this.
Next thing is to use the M4 to listen to radio streams on the internet!
Title: Re: MP3 player for the Amstrad CPC
Post by: Gryzor on 10:43, 21 January 18
Yeah, I know the Z80 is just a small tool in this chain, but still it's so impressive!
Title: Re: MP3 player for the Amstrad CPC
Post by: Munchausen on 11:38, 21 January 18
Could you now synchronise sym video files with an mp3 sound track so you can really watch films on your CPC?


If so, perhaps an online service could be made to convert youtube links to CPC format, then you can watch youtube on your CPC  :laugh: :picard:
Title: Re: MP3 player for the Amstrad CPC
Post by: Shaun M. Neary on 12:30, 21 January 18
Holy shit... I want one!
I don't know why, but I want one!
Title: Re: MP3 player for the Amstrad CPC
Post by: TMTLOGIC on 19:27, 28 April 18

New ... SE-ONE CPC card

Has been tested by  SymbOS !


- Music file player MP3 OGG  MID (format 0) etc
- Plays stand alone  files from USB stick (program SEPLAYER.BAS)
- Simply FM tuner
- configurable with AT commands (program AT.BAS)
  for example the radio frequention:  AT+FREQ=100.3 or volume level  AT+DSPVOLL=50
- Software example to emulation the SP0256 Speech systhesizer
- SymbOS software available for music files (symamp) and FM radio by Edo


Hardware is equal to the SE-ONE (MSX), however the address is change:
MSX :        &h20- &h27
CPC:         & FF20- & FF27
Enterprise  &20-&27


For information about the SE-ONE Music player ,  can you go to the website : http://www.tmtlogic.com (http://www.tmtlogic.com/)
Or ask Prodatron



https://youtu.be/Qck64N7hwlY (https://youtu.be/Qck64N7hwlY)






Title: Re: MP3 player for the Amstrad CPC
Post by: XeNoMoRPH on 21:05, 28 April 18
I am impressed at the highest level  :o :o :o :o
Title: Re: MP3 player for the Amstrad CPC
Post by: LambdaMikel on 14:52, 29 April 18
Quite nice!
With the SPO256 emulation, can you make it emulate DK'tronics / SSA-1 as well?
It would be cool if it had "authentic" SSA-1 and DK'tronics emulation. LambdaSpeak's
emulation is not authentic (it sounds too good). I know that some of the emulators
are doing that. I was thinking of adding SPO 256 samples to LambdaSpeak as well,
but probably won't, because I own the originals.
Title: Re: MP3 player for the Amstrad CPC
Post by: GUNHED on 16:57, 29 April 18
It's ok if it sounds too good, the other way around it would be bad.  :)
Title: Re: MP3 player for the Amstrad CPC
Post by: GUNHED on 17:09, 29 April 18
Quote from: TMTLOGIC on 19:27, 28 April 18
For information about the SE-ONE Music player ,  can you go to the website : http://www.tmtlogic.com

Very nice homepage, but let me please ask two quick questions.  :)

1. Is the SE-ONE card directly for the CPC (with MX4 connector or Centonics?) or does it need the AMSDAP card to run with the CPC?

2. Can you tell something about the Symbiface 3 I have seen on your homepage. Some technical specs would be very nice to have.

Thanks in advance!  :) :) :)
Title: Re: MP3 player for the Amstrad CPC
Post by: TMTLOGIC on 17:50, 29 April 18


About the SP0256

I do not have technical data from the DK'tronics / SSA-1
but if I'm interested, I want to investigate it.




The example software play in sequence the sounds of the sp0256, that are stored in mp3 format on a USB stick.

About the SE-ONE:

SE-ONE (MSX)               can be used on the CPC with an AMSDAP slotexpander
SE-ONE (CPC)               (see photo above)   is made for the CPC and can be used whit the Mother X4 board or AMSDAP (CPC slot)
Title: Re: MP3 player for the Amstrad CPC
Post by: GUNHED on 17:52, 29 April 18
Thanks!  :) :) :)  Any information about the Symbiface 3. What does it provide?
Title: Re: MP3 player for the Amstrad CPC
Post by: TMTLOGIC on 18:13, 29 April 18
about the Symbiface III

We are working on the development.

At this moment there is:

- driver for the USB stick (FAT32) for SymbOS
- RTC
- Wireless USB Mouse
- 512 KB memory
- oled display

Title: Re: MP3 player for the Amstrad CPC
Post by: Bryce on 07:37, 30 April 18
Top marks... Just for the old-school antenna! :)

Bryce.
Title: Re: MP3 player for the Amstrad CPC
Post by: SOS on 07:47, 30 April 18
Quote from: TMTLOGIC on 18:13, 29 April 18
about the Symbiface III

...
- 512 KB memory
...

RAM and ROM?
Title: Re: MP3 player for the Amstrad CPC
Post by: rpalmer on 11:02, 30 April 18
The SymbiFace-II only had 512K RAM, as for the III, i suspect it did not have a flash rom (it would be quite difficult have it given that the board has so much on it). I could be wrong as I have not seen a III and only a II.

rpalmer
Title: Re: MP3 player for the Amstrad CPC
Post by: CraigsBar on 11:47, 30 April 18
Quote from: TMTLOGIC on 19:27, 28 April 18
New ... SE-ONE CPC card

Has been tested by  SymbOS !


- Music file player MP3 OGG  MID (format 0) etc
- Plays stand alone  files from USB stick (program SEPLAYER.BAS)
- Simply FM tuner
- configurable with AT commands (program AT.BAS)
  for example the radio frequention:  AT+FREQ=100.3 or volume level  AT+DSPVOLL=50
- Software example to emulation the SP0256 Speech systhesizer
- SymbOS software available for music files (symamp) and FM radio by Edo


Hardware is equal to the SE-ONE (MSX), however the address is change:
MSX :        &h20- &h27
CPC:         & FF20- & FF27
Enterprise  &20-&27


For information about the SE-ONE Music player ,  can you go to the website : http://www.tmtlogic.com (http://www.tmtlogic.com/)
Or ask Prodatron



https://youtu.be/Qck64N7hwlY (https://youtu.be/Qck64N7hwlY)






Will the msx version of this cart work in your adaptor, or do I need to buy a 2nd fm/mp3 card?

Do I want the adaptor or the card! Decisions decisions lol

Sent from my ONEPLUS 3t using Tapatalk

Title: Re: MP3 player for the Amstrad CPC
Post by: GUNHED on 12:18, 30 April 18
Quote from: rpalmer on 11:02, 30 April 18
The SymbiFace-II only had 512K RAM, as for the III, i suspect it did not have a flash rom (it would be quite difficult have it given that the board has so much on it). I could be wrong as I have not seen a III and only a II.

rpalmer


The SF2 has 512 KB RAM, and 512 KB PseudoROM (simulated by battery buffered SRAM), also an RTC, an PS-2 mouse port and an IDE interface.
Title: Re: MP3 player for the Amstrad CPC
Post by: LambdaMikel on 17:54, 30 April 18
Did you get the SPO256 samples from here?
http://little-scale.blogspot.com/2009/02/sp0256-al2-creative-commons-sample-pack.html (http://little-scale.blogspot.com/2009/02/sp0256-al2-creative-commons-sample-pack.html)
Title: Re: MP3 player for the Amstrad CPC
Post by: TMTLOGIC on 20:03, 30 April 18
We have used the samples from this site, but have re-edited them
Title: Re: MP3 player for the Amstrad CPC
Post by: Joseman on 21:55, 30 April 18
Quote from: TMTLOGIC on 19:27, 28 April 18
New ... SE-ONE CPC card

Has been tested by  SymbOS !


- Music file player MP3 OGG  MID (format 0) etc
- Plays stand alone  files from USB stick (program SEPLAYER.BAS)
- Simply FM tuner
- configurable with AT commands (program AT.BAS)
  for example the radio frequention:  AT+FREQ=100.3 or volume level  AT+DSPVOLL=50
- Software example to emulation the SP0256 Speech systhesizer
- SymbOS software available for music files (symamp)

Hi, can i buy 20 units please?

thanks

P.S.  :o
Title: Re: MP3 player for the Amstrad CPC
Post by: zhulien on 06:01, 01 May 18
are they ready to order?
Title: Re: MP3 player for the Amstrad CPC
Post by: LambdaMikel on 06:40, 01 May 18
Quote from: TMTLOGIC on 20:03, 30 April 18
We have used the samples from this site, but have re-edited them

Do you mind sharing the edited PCM samples? I down-sampled them to 8 Bit 6kZ, but the combined sample size still exceeds the amount of flash memory that I have available for LambdaSpeak. I guess you guys are not that short on memory, right  ;) Maybe I will try to add an external serial ROM for storing the samples, then I could probably also do a sample-based SPO256 emulation.

Seems ARM / Cortex is really the way to go these days  :) Need to read up on this.

Anybody has a good suggestion for an ARM / Cortex development board? 
Title: Re: MP3 player for the Amstrad CPC
Post by: TMTLOGIC on 06:49, 01 May 18

samples can be found on my site at support SE-ONE SETALK

Yes, the ARM has enough memory.

if you want to start with ARM, I recommend your arduino due
there is much known about this
Title: Re: MP3 player for the Amstrad CPC
Post by: LambdaMikel on 07:06, 01 May 18
I see, you mean the Due.. well that's not quite what I had in mind, but thanks for the suggestion.
(Most people think ATmega / AVR when the hear Arduino)
Title: Re: MP3 player for the Amstrad CPC
Post by: TMTLOGIC on 22:01, 01 May 18



Joseman,

Please , like no more than 3 per order  ::)





zhulien.



I am very busy with various projects. I want to make a new batch soon


Title: Re: MP3 player for the Amstrad CPC
Post by: zhulien on 09:13, 02 May 18
Quote from: TMTLOGIC on 22:01, 01 May 18
Please , like no more than 3 per order  ::)
zhulien.


The few times i did buy many of one thing, i asked to have all but the first put to the end of queue so others can get theirs.  I think that is fair.
Title: Re: MP3 player for the Amstrad CPC
Post by: TMTLOGIC on 19:06, 17 June 18

In consultation with Prodatron, we stop producing the SE-ONE / CPC


This decision was made because an MP3 chip was installed on the Symbiface III.


There are still a few in stock, Prodatron can inform you about this
For users who still want to have an SE-ONE, in combination with an AMSDAP + SE-ONE / MSX this can still be solved

Title: Re: MP3 player for the Amstrad CPC
Post by: Gryzor on 14:10, 18 June 18
Interested!


How do I order one?
Title: Re: MP3 player for the Amstrad CPC
Post by: radu14m on 16:43, 18 June 18
im interested too :)
Title: Re: MP3 player for the Amstrad CPC
Post by: TMTLOGIC on 20:06, 18 June 18

Hey,


I do not sell the products that I develop to users.
Each product is a person who distributes it.
For questions you can contact me. I will forward the order to the distributors


For ordering  the  AMSDAP42 , please contact with Prodatron

For ordering the SE-ONE/MSX , please contact with Rinus S.    Email: seone.tmt@gmail(dot)com


For questions : tmtlogic@gmail (dot) com
Powered by SMFPacks Menu Editor Mod