Jump to content
IGNORED

FujiConvert 0.1


Xuel

Recommended Posts

In Altirra I learned that PDM files 12 MB sized or smaller will play fine. Files 13 MB or larger will play only as static. This is true for SIDE 2 emulation. It may be true for The!Cart emulation but I only tried one large file on The!Cart and heard only the static. If I truncate a large file to 12MB the shortened file will also play (from Side 2).

 

I don't own either of these cartridges so I cannot test them on real hardware.

 

I assume this is the issue that Xuel has discussed.

Edited by a8isa1
Link to comment
Share on other sites

In Altirra I learned that PDM files 12 MB sized or smaller will play fine. Files 13 MB or larger will play only as static. This is true for SIDE 2 emulation. It may be true for The!Cart emulation but I only tried one large file on The!Cart and heard only the static. If I truncate a large file to 12MB the shortened file will also play (from Side 2).

 

I don't own either of these cartridges so I cannot test them on real hardware.

 

I assume this is the issue that Xuel has discussed.d

Ran out of time to modify my post.

 

Sorry, I must have done something wrong when converting a file for The!Cart usage. I tried again and it worked fine. Not sure how long the PDM data is but the original song is 11:59 in length.

Link to comment
Share on other sites

So... I download some .pdm file and then WHAT? :) I don't know anything about SIDE/SIDE2.. how it works, what it needs etc.

your Side/Side2 will be using a CFcard ?

if so, remove CFcard, connect to your pc

copy FJC's pdmplayer to the FAT/FAT32 partition on your CFcard

 

do the same for any .PDM files you create from audio track

 

re-insert into Side/Side2 and play via pdm.xex via XEXLoader on your Atari8

Link to comment
Share on other sites

your Side/Side2 will be using a CFcard ?

if so, remove CFcard, connect to your pc

copy FJC's pdmplayer to the FAT/FAT32 partition on your CFcard

 

do the same for any .PDM files you create from audio track

 

re-insert into Side/Side2 and play via pdm.xex via XEXLoader on your Atari8

Thanks, but I wanted to know how to play it in Altirra emulator ;)

Link to comment
Share on other sites

So... I download some .pdm file and then WHAT? :) I don't know anything about SIDE/SIDE2.. how it works, what it needs etc.

 

See flashjazzcat's instructions here.

 

To create a VHD file you can use Windows -> Start -> Disk Management -> Create VHD

 

To put files on the VHD use Windows -> Start -> Disk Management -> Attach VHD. This should add a drive letter that you can open in Explorer like any other disk. Drag PDM.XEX and the *.PDM files to this disk.

 

Then you have to eject or Detach VHD.

 

Then you can attach the VHD to Altirra with System -> Configure System... -> Devices -> SIDE 2 -> Add... -> Hard disk -> File...

 

In Altirra, make sure you *disable* System -> Console Switches -> Enable Cart SDX.

  • Like 1
Link to comment
Share on other sites

OK.. now I§m able to load something and play it, but all I hear is noise... tried official Altirra 3.0 and Altirra 3.10 test 28 (with timings like on real hw) and in both versions your edit in debugger but nothing helps.

Link to comment
Share on other sites

well thanks to Jon [FJC] and Xuel, i now have this working on both real and virtual hardware!

 

respect to both, and mega thanks

Link to comment
Share on other sites

OK.. now I§m able to load something and play it, but all I hear is noise... tried official Altirra 3.0 and Altirra 3.10 test 28 (with timings like on real hw) and in both versions your edit in debugger but nothing helps.

Try one these two of brenski's shorter files

 

http://atariage.com/forums/topic/279232-fujiconvert-01/page-4?do=findComment&comment=4042381

Link to comment
Share on other sites

Hello Xuel

 

Have you fixed the noise problem CharlieChaplin described yet? If not, please do so as soon as possible. PLEASE!!!

 

Sincerely

 

Mathy (who's trying to be patient, but not having a lot of succes...)

 

Fixed in FujiConvert 0.2.1. Change log here.

  • Loop at end of audio
  • Support for XEGS cartridges
  • Simple dither
  • Like 5
Link to comment
Share on other sites

Ran a 44KHz chirp through the converter targeting 8KHz, and it looks like both Chrome and Edge are using pretty bad resampling filters -- no low pass filtering, sine wave frequency sweep gives textbook aliasing. Quick web search suggests they are doing linear interpolation. Firefox does a better job and appears to have a proper downsampling filter, but it also fails to convert from 44KHz to 8KHz entirely, throwing an Operation not supported error when creating the OfflineAudioContext.

  • Like 1
Link to comment
Share on other sites

at some point in the 1970/80s most classic rock artists dabbled in a little bit of a reggae vibe - some much less than others (Rush/Jefferson Starship) - merely a few bars of the bridge.

seems.

seems that the time used in the Caribbean recording albums certainly "rubbed off" on some., here's a few of my faves:

 

Brenski's Unlikely Rock Reggae Mix

brenski's unlikely rock reggae mix pcm4+4 mono 44270Hz ide pal.zip

 

Eagles/Zeppelin/Costello/Rush/Clash/Scorpions/Animals/Travelling Wilburys/Jefferson Starship/3 Dog Night/Joe Walsh/Paul McCartney

Link to comment
Share on other sites

Ran a 44KHz chirp through the converter targeting 8KHz, and it looks like both Chrome and Edge are using pretty bad resampling filters -- no low pass filtering, sine wave frequency sweep gives textbook aliasing. Quick web search suggests they are doing linear interpolation. Firefox does a better job and appears to have a proper downsampling filter, but it also fails to convert from 44KHz to 8KHz entirely, throwing an Operation not supported error when creating the OfflineAudioContext.

 

Ugh. Thanks for testing! Looks like some have proposed adding a resampling-method option to WebAudio (example issue thread) but so far the decision has been to leave it up to the individual browser. Looks like the WebAudio spec also states that browsers must support at least 8000Hz to 96000Hz sample rates. FujiConvert's 8kHz rate is actually two scanlines so comes in at 7800Hz or 7860Hz, just under the supported range.

 

I'll look into adding explicit sinc resampling code to FujiConvert.

Edited by Xuel
  • Like 2
Link to comment
Share on other sites

 

 

Fixed in FujiConvert 0.2.1. Change log here.

  • Loop at end of audio
  • Support for XEGS cartridges
  • Simple dither

 

 

Works great now! Alas, 1MB is not much for 8Bit 44khz mono or 22khz stereo sounds. So now I would like to see bigger carts (atarimax, Megacart, XEGS) and cart emulation (e.g. with the Ultimate Cart.) to become reality. 16MB or more would be nice... ;-) "All you have to do is dream..."

Edited by CharlieChaplin
  • Like 1
Link to comment
Share on other sites

Why design ever bigger carts just for this purpose when you have IDE devices currently available which can handle 128GB disks?

 

I agree that HDD like devices (IDE, CF, SD, USB Stick) are best way to go as we head down this path. Imagine if the iPod had required flashing a severely limited memory footprint device when downloading music, I doubt it would have been very successful. Even cooler still would be on-the-fly MP3 to PDM conversion from a FAT directory, although the current PDM player that Jon made is pretty darn good, and likely the most practical approach due to hardware limitations/CPU speed.

 

Feature Request for PDM Player:

 

  • ESC key to allow exiting a currently playing song and go back to the main menu (also exits/deactivates shuffle mode -- see below).
  • CTRL+Right/Left Arrow key to skip to NEXT, or go back to PREVIOUS song in directory. The order of which could either be by a numeric PDM file name and/or alphabetical order.
  • CTRL+S = enable 'shuffle' mode playback (random automatically load & play songs in directory)

 

On a side note; I notice that many of the PDM files have an ever so slight background 'crackle' when playing quiet passages. Is this to be expected? Perhaps a limitation of the available dynamic range?

 

Also thinking that perhaps some additional hardware audio filtering might help things out :ponder: .

  • Like 5
Link to comment
Share on other sites

 

Kyle,

I have an Incognito also but Jon's PDM.xex will not find any content.

Have you tried to run it yet.

Sadly, I have not been able to try it yet. The fan on my laptop died so I can only turn it on for a few minutes. That's not long enough to transfer files to the Atari.

 

Edit: fix typo.

Edited by Kyle22
Link to comment
Share on other sites

Hello Jon

 

Would be nice if that player would be ready by the time the Fujiama 2018 starts. :grin:

 

And it should be able to use the Ultimate Cart. :D

 

Not sure what the biggest SD card is, that the Ultimate Cart can handle. But at the moment I'm using it with a 16GB card. They should be enough (for now).

 

Sincerely

 

Mathy

 

PS ever considered coming to the Fujiama? Shuiming Lai visited the location way back when the meeting was called "Unconventional". He seemed to like it.

Link to comment
Share on other sites

Unfortunately the Ultimate Cart provides no direct access to the SD card, but I have the PDM player (standard SIDE version) working here just fine with a custom UNO Cart firmware.

 

I'll see what I can do regarding player refinements, although I have many things competing for my time and the player is not open source, since it is essentially my SIDE XEX loader.

 

As for Fujiyama: I'd love to, but I just don't have the bus fare right now. ;)

Link to comment
Share on other sites

Hello Jon

 

Re: Ultimate Cart: Not even with a firmware rewrite? (I'm not saying that YOU should do that!)

 

Will there be a player for the AVG cart?

 

Re: Fujiama: Maybe next year? Next year the Fujiama will last for a whole week!

 

Sincerely

 

Mathy

Link to comment
Share on other sites

Hello Xuel

 

Just tried FujiConvert 0.2.1. At first I thought I had done something wrong. But if you press the space bar when asked to press any key, the sample won't play until you hit the space bar again. Oops.

 

And could you please add the option to choose between "start over" and "stop" when the end of the sample is reached?

 

Sincerely

 

Mathy

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...