English Amiga Board


Go Back   English Amiga Board > Other Projects > project.WHDLoad

 
 
Thread Tools
Old 27 December 2010, 15:07   #1
thanius
Registered User
 
Join Date: Aug 2010
Location: Umeå, Sweden
Posts: 31
CD32 WHDLoad-slaves and mp3?

I just had a thought. The CD32 slaves don't actually include the audio tracks, right? There should be a way to play the audio tracks through mp3, even on non-accelerated systems.
One could build and install a hardware mp3 player (there are a couple of DIY kits out there) which decodes and plays the audio without the use of the computers memory or CPU through the serial port of the Amiga.
When the game tries to load a CD track, it sends off a file to the player (which is hardwired to the audio of the Amiga) and plays the music. If the transfer speed is too slow, perhaps there's a way to stream the files?
Just a thought.
thanius is offline  
Old 07 February 2011, 04:01   #2
MethodGit
Junior Member
 
MethodGit's Avatar
 
Join Date: Dec 2002
Location: The Streets
Age: 39
Posts: 2,731
This has been an on-and-off thought to me for many years now.

I've always worried that attempting to mix both background MP3 streaming and CD³² emulation would need an awful lot of horsepower somehow.
MethodGit is offline  
Old 07 February 2011, 07:49   #3
Zetr0
Ya' like it Retr0?
 
Zetr0's Avatar
 
Join Date: Jul 2005
Location: United Kingdom
Age: 49
Posts: 9,768
Hello Thanius

As far as I understand WHDLoad takes over the entire system - to do this it essentially saves the current state (i.e. workbench) and then starts a new state for the game. The game has no knowledge of the state before (i.e. workbench) nor can it interact with that state.

Quote:
Originally Posted by thanius View Post
I just had a thought. The CD32 slaves don't actually include the audio tracks, right? There should be a way to play the audio tracks through mp3, even on non-accelerated systems.
On a fundamental level one would have to write a player as well as heavily modify the game to use said player - I am afraid this is not possible - even the 020@14Mhz cannot achieve this - as well as play a game.

The ability to play CD audio tracks, on a CDTV or CD32 is because its an off-load - the Amiga sends a command (not a file) and the CD player performs that command.

This could and is essentially emulated under any Amiga with a CDROM drive, however you would need to mix the audio from the CD device and the Native Amiga..

you see somewhere in the game/application it would command the CDROM with something like

"STOP" "PLAY 8" }= stop playing, play track 8

There is no error checking, there is no processing - just issuing commands, the Game/Application expects its own ROM structure - if it doesn't have it - then the command is simply ignored.


Quote:
Originally Posted by thanius View Post
One could build and install a hardware mp3 player (there are a couple of DIY kits out there) which decodes and plays the audio without the use of the computers memory or CPU through the serial port of the Amiga.
When the game tries to load a CD track, it sends off a file to the player (which is hardwired to the audio of the Amiga) and plays the music. If the transfer speed is too slow, perhaps there's a way to stream the files?
Just a thought.
To do what you suggest here you would need a bit of hadware much like (or in fact) a MP3@64 - this is a clock-port device that is an offload engine for MP3's - it acts in a similar way as you describe - however it doesn't send the whole file, it instead sends a file stream - i.e. feeds its the bits as progresses thought the file it plays the bits that it has been sent.

but even the above method is not possible without re-writing the games themselves to use it - and that is just not possible in some cases.

I hope that ramble helps.
Zetr0 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
some WHDLOAD slaves supposedly working on plain 68000 don't work: is that normal? Gaula92 support.Games 21 01 November 2011 01:05
Running WHDLoad slaves under Opus 4.x plankton support.Apps 1 28 November 2009 00:07
Idea for a new feature in whdload/slaves JohnnyBeGood project.WHDLoad 11 29 July 2009 18:48
Good WHDload games, bad written slaves? rkauer support.Games 10 06 May 2008 20:49
How good is JST at running WHDLoad slaves nowadays? MethodGit project.WHDLoad 3 28 February 2006 21:41

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:02.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13534 seconds with 13 queries