Poster | Thread |
DAX
|  |
Re: UberCassette V0.02 for ALL Amigalikes! Posted on 8-Mar-2011 22:03:45
| | [ #1 ] |
|
|
 |
Elite Member  |
Joined: 30-Sep-2009 Posts: 2790
From: Italy | | |
|
| Cool  _________________ SamFlex Complete 800Mhz System + AmigaOS 4.1 Update 4 Amiga 2000 DKB 2MB ChipRam GVP G-Force040 Picasso 2 OS3.9 BB2 AmigaCD 32
|
|
Status: Offline |
|
|
klx300r
|  |
Re: UberCassette V0.02 for ALL Amigalikes! Posted on 8-Mar-2011 22:31:20
| | [ #2 ] |
|
|
 |
Elite Member  |
Joined: 4-Mar-2008 Posts: 3859
From: Toronto, Canada | | |
|
| thank !damn cool Ian ..i gotta dig up my old dattasette for my 64
btw, any news on the joystick drivers for CWMK4+ for AOS ? _________________ ____________________________ c64-2sids, A1000, A1200T-060@50(finally working!),A4000-CSMKIII ! My Master Miggies- Amiga 1000 & AmigaOne X1000 ! mancave-ramblings X1000 I BELIEVE 
|
|
Status: Offline |
|
|
TiredofLife
|  |
Re: UberCassette V0.02 for ALL Amigalikes! Posted on 8-Mar-2011 22:43:58
| | [ #3 ] |
|
|
 |
Super Member  |
Joined: 6-Jul-2005 Posts: 1704
From: Here | | |
|
| Nice work.  _________________ If your nose runs and your feet smell, you're upside down.
|
|
Status: Offline |
|
|
pavlor
|  |
Re: UberCassette V0.02 for ALL Amigalikes! Posted on 8-Mar-2011 23:06:21
| | [ #4 ] |
|
|
 |
Elite Member  |
Joined: 10-Jul-2005 Posts: 9680
From: Unknown | | |
|
| |
Status: Offline |
|
|
Varthall
|  |
Re: UberCassette V0.02 for ALL Amigalikes! Posted on 9-Mar-2011 8:25:26
| | [ #5 ] |
|
|
 |
Super Member  |
Joined: 17-Feb-2004 Posts: 1559
From: Up Rough | | |
|
| Very nice! I have loads of Spectrum tapes I'd like to dump someday, is support for Spectrum tapes and TZX format planned? What about direct audio-in to file support, skipping the WAV file creation and reading? And lastly, does anybody know if the AmigaOne's AC97 or a Soundblaster PCI128 support a 96KHz audio-in sampling rate?
Varthall _________________ AmigaOne XE - AmigaOS 4.1 - Freescale 7457 1GHz - 1GB ram
|
|
Status: Offline |
|
|
Daedalus
|  |
Re: UberCassette V0.02 for ALL Amigalikes! Posted on 9-Mar-2011 8:54:29
| | [ #6 ] |
|
|
 |
Super Member  |
Joined: 14-Jul-2003 Posts: 1680
From: Glasgow - UK, Irish born | | |
|
| Excellent! What a great piece of software... Any chance it might support Atari tapes though? I have dozens of games for my dead 800XL which I'd like to convert. Tried with limited success with a PC utility, would be great to use the Amiga... _________________ RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X
|
|
Status: Offline |
|
|
Spirantho
 |  |
Re: UberCassette V0.02 for ALL Amigalikes! Posted on 9-Mar-2011 10:35:11
| | [ #7 ] |
|
|
 |
Super Member  |
Joined: 4-Jun-2004 Posts: 1045
From: Aberystwyth, Wales | | |
|
| That's exactly what this program will be for. Spectrum support is planned Real Soon Now, and Atari cassettes I can do too. I want this to do everything... and because it can use the same wave detection it's just a matter of writing new exporters for the different formats.
As for doing it on the fly... I could do that, yes, but that'd be very non-portable. Maybe I could hook AHI into it if it's fast enough and parse a double-buffered AHI input stream. Hmm...
That's for the future, though. First priority is to get it reading and writing all my tapes! |
|
Status: Offline |
|
|
g_kraszewski
|  |
Re: UberCassette V0.02 for ALL Amigalikes! Posted on 9-Mar-2011 17:29:09
| | [ #8 ] |
|
|
 |
Regular Member  |
Joined: 3-Sep-2010 Posts: 343
From: Unknown | | |
|
| I guess memory requirements can be lowered a bit. I've analysed the source and found that you first load the whole WAV to memory in LoadData(), then you convert it to raw 8-bit to another memory table. For 20 minutes tape sampling into typical 16-bit WAVE @ 44.1 kHz it will take 100 MB for WAVE + 50 MB for RAW. And there is also a 16 MB global table "gRawCycles".
My advice is to read WAVE file incrementally and convert it to RAW on-the-fly. Then you do not need these 100 MB from the above example. Converting it with 64 kB buffer will not decrease performance. It is also possible to not keep the whole raw data into memory, unless your algorithm needs random access to the whole audio data at the same time.
BTW I've thought about adding Reggae input support to your code. It is MorphOS-specific, so it will be compiled conditionally, but will provide support for over 20 audio formats. Of course it supports incremental decoding, so if your processing algorithm is stream-based or block-based, the second, raw table will be not needed too. _________________ RastPort
|
|
Status: Offline |
|
|
Spirantho
 |  |
Re: UberCassette V0.02 for ALL Amigalikes! Posted on 9-Mar-2011 23:22:03
| | [ #9 ] |
|
|
 |
Super Member  |
Joined: 4-Jun-2004 Posts: 1045
From: Aberystwyth, Wales | | |
|
| Thanks for the feedback - you're absolutely right about the memory footprint, at the moment it's doing it the easy (read: "lazy") way, just for speed of coding. Hence the version number (0.02).
There's absolutely nothing to stop the program using 1KB buffers or similar, except speed. It [/i]is[/i] faster running all within RAM, of course, and most machines have easily enough for this... in fact it's only AmigaOS 3 which is likely to struggle, and even that will probably run on 128MB machines.
I'll probably put in an option for buffer size at some point, but for now it's just a luxury/
New version coming soon, by the way - including the ability to output WAV files! I even managed to load the Exolon TAP file on c64files.org on my C64 today, after using UberCassette. You can even pass in a WAV as an input and output filename and it'll read the file and re-output it using generated waves - good if the original recording is weak but just about readable.
CSW format added now (input and output) too but the generated WAV sounds a bit high-pitch. Will look into that. Still managed to load a Spectrum game ok though! TZX support next.... that'll sort the Spectrum out! |
|
Status: Offline |
|
|
Spirantho
 |  |
Re: UberCassette V0.02 for ALL Amigalikes! Posted on 16-Mar-2011 19:09:43
| | [ #10 ] |
|
|
 |
Super Member  |
Joined: 4-Jun-2004 Posts: 1045
From: Aberystwyth, Wales | | |
|
| |
Status: Offline |
|
|