News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Prodatron

MP3 player for the Amstrad CPC

Started by Prodatron, 23:27, 13 October 17

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Prodatron

I was dreaming about this for more than 10 years and now it's finally possible:


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 (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.

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Joseman

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


mr_lou

Looks like we need to put our CPC's into a tower soon, considering the growing list of expansions.  :)

msmthng

Cool, waiting for this devices!

shock__

Playing all the electro-goth classics from the early 2000s :D

Bryce

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.

Sykobee (Briggsy)

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?

Prodatron

#7
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...

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Bryce

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.

ced64k

I remember that back in the 90s at school early Pentium couldn't play mp3 without skipping.

Edoz(MSX)

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!

Gryzor

Yeah, I know the Z80 is just a small tool in this chain, but still it's so impressive!

Munchausen

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:

Shaun M. Neary

Holy shit... I want one!
I don't know why, but I want one!
Currently playing on: 2xCPC464, 1xCPC6128, 1x464Plus, 1x6128Plus, 2xGX4000. M4 board, ZMem 1MB and still forever playing Bruce Lee.
No cheats, snapshots or emulation. I play my games as they're intended to be played. What about you?

TMTLOGIC

#14

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
Or ask Prodatron




https://youtu.be/Qck64N7hwlY







XeNoMoRPH

I am impressed at the highest level  :o :o :o :o
your amstrad news source in spanish language : https://auamstrad.es

LambdaMikel

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.

GUNHED

It's ok if it sounds too good, the other way around it would be bad.  :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

GUNHED

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!  :) :) :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

TMTLOGIC

#19


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)

GUNHED

Thanks!  :) :) :)  Any information about the Symbiface 3. What does it provide?
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

TMTLOGIC

#21
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


Bryce

Top marks... Just for the old-school antenna! :)

Bryce.

SOS

Quote from: TMTLOGIC on 18:13, 29 April 18
about the Symbiface III

...
- 512 KB memory
...

RAM and ROM?

rpalmer

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

Powered by SMFPacks Menu Editor Mod