- Top Stats

Top Posters Top Topic Starters Top Topics
Bryce 5284
TFM 2507
Gryzor 2256
arnoldemu 1273
TotO 1186
Bryce 90
arnoldemu 70
Gryzor 42
LambdaMike... 37
CraigsBar 35
Amstrad CPC WiFi - 287588 Views Duke 09:36, 07 May 16
CPC Plus cartr... - 209623 Views gerald 17:39, 01 November 14
ACID chip inside - 81913 Views MacDeath 15:52, 23 October 09
Gotek USB in a... - 70723 Views gryzor 18:01, 18 March 14
Pros & Con... - 58802 Views CPCIak 15:07, 11 May 10


Author Topic: CPC - 4 Dollar MP3 Player over USART  (Read 1188 times)

0 Members and 1 Guest are viewing this topic.

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.318
  • Country: us
    • Homepage
  • Liked: 693
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #25 on: 23:43, 02 May 19 »
Hum...

Reducing the CPC to a remote control is a pity...  :-\


See, this is exacly why I don't like DMA either  :laugh:
Reducing the Z80 to a remote control for the sound chip is a pity as well  - every component should work as hard as it could, even if it exceeds its capabilities (just kidding...) ;)

Online TotO

  • 6128 Plus
  • ******
  • Posts: 3.264
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2427
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #26 on: 00:09, 03 May 19 »
Yes, that's an impressive demo that uses 4Bit DMA... played on the emulator.
I don't have a real CPC Plus here, so I cannot try it. The uploader claims it sounds better on a real CPC Plus.
Yes, it is. (and display better too)
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline kawickboy

  • CPC6128
  • ****
  • Posts: 167
  • Country: fr
  • Liked: 92
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #27 on: 11:21, 03 May 19 »
Even the Prehistorik 2 DMA track was (and is still) quite impressive for 1992.

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.318
  • Country: us
    • Homepage
  • Liked: 693
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #28 on: 17:30, 03 May 19 »
... let's add PCM channels a la Amdrum type of sample playing to a tracker for the non-DMA CPC also. If that's at all possible.

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.109
  • Country: de
  • Reincarnation of TFM
  • Liked: 581
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #29 on: 17:59, 03 May 19 »
Using the Z80 as remote control? Maybe that's a bit harsh. Else CRTC, PIO, PSG, FDC must get out of the CPC ;-)
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.01.14)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Ver.: 2018.08.15)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.318
  • Country: us
    • Homepage
  • Liked: 693
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #30 on: 18:49, 03 May 19 »
Using the Z80 as remote control? Maybe that's a bit harsh. Else CRTC, PIO, PSG, FDC must get out of the CPC ;-)
... and DMA! Damn DMA it makes the Z80 CPU lazy!!  ;D

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.109
  • Country: de
  • Reincarnation of TFM
  • Liked: 581
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #31 on: 19:43, 03 May 19 »
Take Slim fast!  :P
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.01.14)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Ver.: 2018.08.15)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.318
  • Country: us
    • Homepage
  • Liked: 693
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #32 on: 20:04, 03 May 19 »
... and in principle I agree that MP3 playing over a module such that the MP3 data is not streamed from the CPC is lame, but the serial interface / UART of LS 3 is not lame. So the MP3 module is just one application. I hope that the SF3 will allow to stream the MP3 data from the CPC, or at least allow to upload from the CPC to the SDCard such that it can be played from there then.


For sample playing, for decent quality (and this depends on your notion of PCM quality - as I said, I am a snob in that regard and consider 4bit insufficent, given that I have a couple of high end synthesizers at home), there is no other choice IMHO as well.


Of course it is more impressive and nicer if everything could be done with the on board hardware of the CPC. But the point of hardware extensions is to go beyond what is possible with the CPC hardware alone, right?


In the same sense, the RTC is also lame... but it offers some functionality which elsewise would not be available. So that's the point of hardware extensions.  ;)

Online TotO

  • 6128 Plus
  • ******
  • Posts: 3.264
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2427
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #33 on: 21:17, 03 May 19 »
Using the Z80 as remote control? Maybe that's a bit harsh. Else CRTC, PIO, PSG, FDC must get out of the CPC ;-)
I don't remember the CRTC, PIO, PSG, FDC to only have to acknolage "play", "stop", "prev track", "next track" commands to work.  :-\
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.318
  • Country: us
    • Homepage
  • Liked: 693
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #34 on: 21:46, 03 May 19 »
I don't think that discussion leads to anywhere besides annoying each other.
Maybe enough is enough and we can stop here.  :-\
I think we all understand each other's point of view. More is unnecessary.
I consider this thread closed.
« Last Edit: 21:49, 03 May 19 by LambdaMikel »

Online TotO

  • 6128 Plus
  • ******
  • Posts: 3.264
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2427
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #35 on: 22:36, 03 May 19 »
Annoying?  :o

Nec engineers was not anoyed because the PCE was a remote for the Super CD-ROM.
What is important is how it is used (inside cartridge, game slots, audio boards, ...) And this topic if fine for that.
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.318
  • Country: us
    • Homepage
  • Liked: 693
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #36 on: 22:42, 03 May 19 »
Yes but I would find it more constructive and more beneficial if somebody tried to connect the MP3 module to the usifac which could result in a cheap lame MP3 solution for all of CPCkind

Online TotO

  • 6128 Plus
  • ******
  • Posts: 3.264
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2427
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #37 on: 22:51, 03 May 19 »
Sure, it is always better to have the time to prototype... Hope to be able to do some test with the MiniBooster after the MegaSound.
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.318
  • Country: us
    • Homepage
  • Liked: 693
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #38 on: 23:00, 03 May 19 »
Sure, it is always better to have the time to prototype... Hope to be able to do some test with the MiniBooster after the MegaSound.


I think any working UART / serial should do. But USIfAC would still be considerably cheaper than MiniBooster, or?


In the end, we are all going to want that SymbiFACE 3 anyhow, so....


As I said, ideally this gets soldered into the next version of Dandantor Mini, this one seems to be the most feasible solution for game cartridge developers if they wanted to add MP3 music to their games. Wondering if @Dandare is thinking about this already.


« Last Edit: 23:02, 03 May 19 by LambdaMikel »

Online TotO

  • 6128 Plus
  • ******
  • Posts: 3.264
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2427
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #39 on: 23:34, 03 May 19 »
A MiniBosster module on the SPI port cost few euros and can be used by 100+ peoples.
But sure, for a standalone expansion there is probably better to do!

SymbiFace 3 is just an other way to do it with many extra features for SymbOS users.
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.318
  • Country: us
    • Homepage
  • Liked: 693
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #40 on: 23:37, 03 May 19 »
A MiniBosster module on the SPI port cost few euros and can be used by 100+ peoples.
But sure, for a standalone expansion there is probably better to do!

SymbiFace 3 is just an other way to do it with many extra features for SymbOS users.


... most mini MP3 modules are UART / serial though... SPI MP3 is not so common, and the ones I saw are more expensive (> 20 $). Which one did you see? SPI != UART...


UPDATE: if I search on Amazon or Ebay for MP3 SPI, I dont get any matches.
« Last Edit: 23:43, 03 May 19 by LambdaMikel »

Online TotO

  • 6128 Plus
  • ******
  • Posts: 3.264
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2427
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #41 on: 23:43, 03 May 19 »
... most mini MP3 modules are UART / serial though... SPI MP3 is not so common, and the ones I saw are more expensive (> 20 $). Which one did you see? SPI != UART...
OK! (I have not checked that)
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.318
  • Country: us
    • Homepage
  • Liked: 693
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #42 on: 23:44, 03 May 19 »
OK! (I have not checked that)




Right... so you will have to find a way to either use a MiniBooster SPI port as UART TX, or connect to the UART of MiniBooster, then you will have many many options for cheap MP3 boards.


Online TotO

  • 6128 Plus
  • ******
  • Posts: 3.264
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2427
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #44 on: 23:48, 03 May 19 »
Right... so you will have to find a way to either use a MiniBooster SPI port as UART TX, or connect to the UART of MiniBooster, then you will have many many options for cheap MP3 boards.
The module can use SPI or UART. Well... It is not for tomorrow.  ;)
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.318
  • Country: us
    • Homepage
  • Liked: 693
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #45 on: 23:48, 03 May 19 »
And this one mentions "SPI" in its name, but that only refers to the storage, not the MP3 player itself, which is again UART controlled:


https://www.ebay.com/itm/MP3-Voice-Module-USB-Multi-Channel-Voice-Control-SPI-FLASH-Amplifier-for-Arduino/271915187358?hash=item3f4f687c9e:g:3sUAAOSwT6pVkCyj

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.318
  • Country: us
    • Homepage
  • Liked: 693
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #46 on: 23:48, 03 May 19 »
The module can use SPI or UART. Well... It is not for tomorrow.  ;)


Yes I know that... UART is better for cheap MP3 as explained.

Offline Dandare

  • CPC664
  • ***
  • Posts: 96
  • Country: es
  • Liked: 206
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #47 on: 01:46, 04 May 19 »

I think any working UART / serial should do. But USIfAC would still be considerably cheaper than MiniBooster, or?


In the end, we are all going to want that SymbiFACE 3 anyhow, so....


As I said, ideally this gets soldered into the next version of Dandantor Mini, this one seems to be the most feasible solution for game cartridge developers if they wanted to add MP3 music to their games. Wondering if @Dandare is thinking about this already.


Hi, thanks for the suggestion. Ill check with game developers to get their input.

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.109
  • Country: de
  • Reincarnation of TFM
  • Liked: 581
Re: CPC - 4 Dollar MP3 Player over USART
« Reply #48 on: 19:31, 04 May 19 »
I don't remember the CRTC, PIO, PSG, FDC to only have to acknolage "play", "stop", "prev track", "next track" commands to work.  :-\

Yes, they need even less service, they just do their job.  :)  It's the old discussion: Where you like to draw the line?  :)


EDIT: Ah, we're back on MP3 topic. Very well!  :)
« Last Edit: 19:36, 04 May 19 by GUNHED »
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.01.14)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Ver.: 2018.08.15)