ZXpand+ A/V player

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
nollkolltroll
Posts: 188
Joined: Sat Sep 27, 2014 7:02 pm
Location: Stockholm, Sweden

ZXpand+ A/V player

Post by nollkolltroll » Fri Nov 03, 2017 10:56 am

I've worked on an audio/video player for some time now, but have moved on to other projects lately. I've now decided to release the project as is, rather than just bury it. I consider the code stable and readable, but the demo audio and video file is not as good as it could be. The audio conversion completely borked the middle channel, it does not sound right at all.
Source is included, so have at it, ask questions and play around as you like. Have fun!

What is it? An audio/video player that uses the ZXpand+ with fw 1.12 or later to stream a 128x94 pixel b/w video file @25fps and AY audio @50 updates per second. The .p and .bin files should be placed on an empty FAT16 formatted SD-card, FAT32 did not work for me.
Attachments
zxavpp.zip
(1.01 MiB) Downloaded 12 times
/Adam

Moggy
Posts: 1503
Joined: Wed Jun 18, 2008 1:00 pm

Re: ZXpand+ A/V player

Post by Moggy » Fri Nov 03, 2017 2:03 pm

WOW WHAT A PIECE OF WORK!!! :ugeek: :ugeek: :ugeek:

Excellent work my friend a pity you cannot continue with it, :( how did you create the video? So smooth and a good story line too, although I had to adjust the vertical hold on my monitor as at first the image was flipping like crazy but after that all good.

I hope somebody runs with this (Charlie,Andy c'mon guys you know you want to) :lol:



Once again great work. :D

User avatar
sirmorris
Posts: 2652
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: ZXpand+ A/V player

Post by sirmorris » Fri Nov 03, 2017 2:48 pm

Congratulations Adam!
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

nollkolltroll
Posts: 188
Joined: Sat Sep 27, 2014 7:02 pm
Location: Stockholm, Sweden

Re: ZXpand+ A/V player

Post by nollkolltroll » Fri Nov 03, 2017 4:07 pm

Moggy: The video is not mine, just a conversion of Bad Apple, search youtube. It has been converted to all the old platforms. Have a look at the BBC micro edition ;)
The audio is an AY cover of the original song, which sounds really good originally, but as I wrote, the middle channel is mangled in the conversion somehow.
I could continue polishing this product, but I find the tech aspect of programming the interesting part. The polishing to get a really nice final product is not my thing...

It would be possible to write a semi-simple script to take an AY-song and a video-file that is converted automatically to a zxavpp-compatible file if anyone would spend the time.

Of note is the fact that the zxpand+ is capable of streaming 37.5kb per second continuously to the poor old ZX81!!! (25fps, 1.5kb/frame)
/Adam

Moggy
Posts: 1503
Joined: Wed Jun 18, 2008 1:00 pm

Re: ZXpand+ A/V player

Post by Moggy » Fri Nov 03, 2017 4:09 pm

sirmorris wrote:
Fri Nov 03, 2017 2:48 pm
Congratulations Adam! I will make it my life's work to finish this for you.
FTFY. :lol:

Sorry Charlie just had to. :D
Last edited by Moggy on Fri Nov 03, 2017 4:16 pm, edited 1 time in total.

Moggy
Posts: 1503
Joined: Wed Jun 18, 2008 1:00 pm

Re: ZXpand+ A/V player

Post by Moggy » Fri Nov 03, 2017 4:13 pm

nollkolltroll wrote:
Fri Nov 03, 2017 4:07 pm
Moggy: The video is not mine, just a conversion of Bad Apple, search youtube. It has been converted to all the old platforms. Have a look at the BBC micro edition ;)
The audio is an AY cover of the original song, which sounds really good originally, but as I wrote, the middle channel is mangled in the conversion somehow.
I could continue polishing this product, but I find the tech aspect of programming the interesting part. The polishing to get a really nice final product is not my thing...

It would be possible to write a semi-simple script to take an AY-song and a video-file that is converted automatically to a zxavpp-compatible file if anyone would spend the time.

Of note is the fact that the zxpand+ is capable of streaming 37.5kb per second continuously to the poor old ZX81!!! (25fps, 1.5kb/frame)
Thanks for the info Adam I will seek it out and I'm sure others will take up the challenge as unfortunately I don't posses the skills needed. :(

nollkolltroll
Posts: 188
Joined: Sat Sep 27, 2014 7:02 pm
Location: Stockholm, Sweden

Re: ZXpand+ A/V player

Post by nollkolltroll » Fri Nov 03, 2017 4:18 pm

Someone could probably spend WAY too much time just fixing the greyscale conversion just right and syncing the notes to the videoframes. Not to mention actually rearrange the musical piece...
/Adam

User avatar
Andy Rea
Posts: 1263
Joined: Fri May 09, 2008 1:48 pm
Location: notts UK

Re: ZXpand+ A/V player

Post by Andy Rea » Fri Nov 03, 2017 4:27 pm

very cool, indeed, i shall download and when i get down my list of 7561327 things to do i might have a tinker...

great work

regards Andy
6 x ZX81, 1 x TS1500 , 1 x +3e, 1 x timex 2040 printer, 1 x timex 2020 cassette deck, siclair printer and some spectrum

User avatar
sirmorris
Posts: 2652
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: ZXpand+ A/V player

Post by sirmorris » Fri Nov 03, 2017 4:28 pm

If you want to mail me the converter you used for the audio I will have a look, Adam. I've just noticed a turbo ay version of the song with 6 channels... :twisted:
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

Moggy
Posts: 1503
Joined: Wed Jun 18, 2008 1:00 pm

Re: ZXpand+ A/V player

Post by Moggy » Fri Nov 03, 2017 4:32 pm

Andy Rea wrote:
Fri Nov 03, 2017 4:27 pm
very cool, indeed, i shall download and when i get down my list of 7561327 things to do i might have a tinker...

great work

regards Andy
That's an unusual number Andy, try the bug fixed issue 2 ROM instead, the number might be smaller then ( that's after doing number 1 on the list writing the decompiler :twisted: )

@Charlie Wherefore can yon 6 chunnle beesty beef hound good sir knight?

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest