Jump to content

Photo

FujiConvert 0.1


172 replies to this topic

#126 Mathy OFFLINE  

Mathy

    River Patroller

  • 2,679 posts
  • Location:Heerlen, NL

Posted Thu Jun 7, 2018 5:58 PM

Hallo Andreas

 

As promised:

 

Attached File  Chi Mai pcm4+4 stereo 32760Hz atarimax pal.zip   385.74KB   30 downloads

 

Attached File  The Man With The Harmonica pcm4+4 stereo 32760Hz atarimax pal.zip   598.29KB   30 downloads

 

Sincerely

 

Mathy

 



#127 flashjazzcat OFFLINE  

flashjazzcat

    Quadrunner

  • 13,751 posts
  • Location:United Kingdom

Posted Thu Jun 7, 2018 6:09 PM

AVG should also handle the PDM player perfectly well, given the positive direction taken with firmware development there. ;)

#128 Mathy OFFLINE  

Mathy

    River Patroller

  • 2,679 posts
  • Location:Heerlen, NL

Posted Thu Jun 7, 2018 6:23 PM

Hello guys

 

Just tried to FujiConvert the theme from James Bond.  Don't know what happened, but the resulting sample sounds way different from the original.  I've just now FujiConverted eight songs.  Seven of them sound just like the original, "James Bond" sounds different.

 

If anybody is interested to check out what went wrong during FujiConversion, I can send you the original and the sample file.

 

Sincerely

 

Mathy


Edited by Mathy, Thu Jun 7, 2018 6:23 PM.


#129 Xuel OFFLINE  

Xuel

    Dragonstomper

  • Topic Starter
  • 718 posts
  • Location:US

Posted Thu Jun 7, 2018 8:47 PM

Hello guys
 
Just tried to FujiConvert the theme from James Bond.  Don't know what happened, but the resulting sample sounds way different from the original.  I've just now FujiConverted eight songs.  Seven of them sound just like the original, "James Bond" sounds different.
 
If anybody is interested to check out what went wrong during FujiConversion, I can send you the original and the sample file.
 
Sincerely
 
Mathy


I'd be interested in taking a look.

#130 Xuel OFFLINE  

Xuel

    Dragonstomper

  • Topic Starter
  • 718 posts
  • Location:US

Posted Thu Jun 7, 2018 8:53 PM

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


Good point. This happened because I added space as a play/pause toggle. I'll fix the keyboard routine so it doesn't think the "any key" keypress is a keydown event for the play routine.

I'll also put a loop/stop toggle on the todo list. And Escape to return to the splash screen.

#131 Mathy OFFLINE  

Mathy

    River Patroller

  • 2,679 posts
  • Location:Heerlen, NL

Posted Fri Jun 8, 2018 2:25 PM

Hello Xuel

 

The mp3 I used is 5.5 MB, the resulting sample is (when zipped) just under 0.9 MB.  How do I get them to you?

 

Sincerely

 

Mathy



#132 Stephen OFFLINE  

Stephen

    Quadrunner

  • 7,128 posts
  • A8 Gear Head
  • Location:No longer in Crakron, Ohio

Posted Fri Jun 8, 2018 3:27 PM

Hello Xuel

 

The mp3 I used is 5.5 MB, the resulting sample is (when zipped) just under 0.9 MB.  How do I get them to you?

 

Sincerely

 

Mathy

Fairly sure you can just ZIP them both to a single file, and attach to a post here.



#133 Mathy OFFLINE  

Mathy

    River Patroller

  • 2,679 posts
  • Location:Heerlen, NL

Posted Fri Jun 8, 2018 3:30 PM

Hello Stephen

 

A yes, 6.5 MB should fit inside the 50 MB maximum.   :roll:

 

Sincerely

 

Mathy



#134 Mathy OFFLINE  

Mathy

    River Patroller

  • 2,679 posts
  • Location:Heerlen, NL

Posted Fri Jun 8, 2018 3:37 PM

Hello Xuel

 

Attached File  The James Bond Theme.zip   5.7MB   25 downloads

 

Sincerely

 

Mathy

 

 



#135 Xuel OFFLINE  

Xuel

    Dragonstomper

  • Topic Starter
  • 718 posts
  • Location:US

Posted Fri Jun 8, 2018 4:04 PM

Hello Xuel

 

attachicon.gifThe James Bond Theme.zip

 

Sincerely

 

Mathy

 

The only thing I would suggest is reducing the Gain parameter to 1 for this song. This song spends most of the time using the full dynamic range, so by using FujiConvert's default gain of 1.5, you get a lot of clipping. Here it is with Gain set to 1:

 

Attached File  The James Bond Theme pcm4+4 stereo 32760Hz atarimax pal.zip   850.07KB   33 downloads



#136 Mathy OFFLINE  

Mathy

    River Patroller

  • 2,679 posts
  • Location:Heerlen, NL

Posted Fri Jun 8, 2018 4:15 PM

Hello Xuel

 

Thanks.  It sounds better, but still isn't anything near "perfect".  Would values like 0.9 or 0.8 work?

 

Sincerely

 

Mathy



#137 Xuel OFFLINE  

Xuel

    Dragonstomper

  • Topic Starter
  • 718 posts
  • Location:US

Posted Fri Jun 8, 2018 4:52 PM

Hello Xuel

 

Thanks.  It sounds better, but still isn't anything near "perfect".  Would values like 0.9 or 0.8 work?

 

Sincerely

 

Mathy

 

Perhaps. Are you listening on real hardware? It could be that you're hitting the saturation that phaeron described here. Going below unity gain could help in that case.

 

This song also has a lot of low bass. So perhaps that is interacting badly somehow. The Atari's audio circuit has a high-pass filter to get rid of any DC offset. Maybe it's attenuating the bass.



#138 Mathy OFFLINE  

Mathy

    River Patroller

  • 2,679 posts
  • Location:Heerlen, NL

Posted Fri Jun 8, 2018 5:18 PM

Hello Xuel

 

Yes, real hardware.  I've tried 0.9 and 0.8.  It seems to work.  I'm not sure if it gets better.

 

Do you have an example of a piece of music that has a lot of bass?

 

Sincerely

 

Mathy



#139 phaeron OFFLINE  

phaeron

    River Patroller

  • 2,560 posts
  • Location:USA

Posted Fri Jun 8, 2018 11:56 PM

Source wave vs. recorded wave from 130XE. Looks like a combination of noise from hi/lo channels not quite matching up either in time/amplitude and distortion from the output circuitry.

 

Attached Thumbnails

  • bond.png


#140 rdea6 OFFLINE  

rdea6

    River Patroller

  • 2,723 posts
  • Location:Arizona USA

Posted Tue Jun 12, 2018 8:07 AM

Good point. This happened because I added space as a play/pause toggle. I'll fix the keyboard routine so it doesn't think the "any key" keypress is a keydown event for the play routine.

I'll also put a loop/stop toggle on the todo list. And Escape to return to the splash screen.

Talking about a todo list... I would like to see colored waveforms instead of just the white ish grey ... Either a Rust or a Kelly green.

 

I don't even know if a color could be added, but since I played the FairyPDM.xex by phaeron I started to wonder.

 

http://atariage.com/...-pcm/?p=4041309


Edited by rdea6, Tue Jun 12, 2018 8:13 AM.


#141 Stephen OFFLINE  

Stephen

    Quadrunner

  • 7,128 posts
  • A8 Gear Head
  • Location:No longer in Crakron, Ohio

Posted Tue Jun 12, 2018 11:49 AM

Talking about a todo list... I would like to see colored waveforms instead of just the white ish grey ... Either a Rust or a Kelly green.

 

I don't even know if a color could be added, but since I played the FairyPDM.xex by phaeron I started to wonder.

 

http://atariage.com/...-pcm/?p=4041309

Pretty sure that is possible.  The waveform is just a single PM register, using FF for data (with all DMA turned off).  So I believe by setting the colour register for that player, you can get any single colour you like.



#142 Stephen OFFLINE  

Stephen

    Quadrunner

  • 7,128 posts
  • A8 Gear Head
  • Location:No longer in Crakron, Ohio

Posted Tue Jun 12, 2018 11:52 AM

Tried another conversion today (been listening to a ton of Jonathan Moffet via youtube).  I'm not pleased with the results.  I tried various gain settings from 0.75 up to 2.0 and there is always a "fuzziness" through the entire song, not just the quiet parts.  It's not clipping.  I am thinking it's a distortion related to the high dynamic range, and the quiet parts will always have this noise.

 

Attached File  06 - Billie Jean pcm4+4 mono 44270Hz ide pal gain 2.0.zip   11.13MB   23 downloads


Edited by Stephen, Tue Jun 12, 2018 11:52 AM.


#143 Mathy OFFLINE  

Mathy

    River Patroller

  • 2,679 posts
  • Location:Heerlen, NL

Posted Tue Jun 12, 2018 5:47 PM

Hello guys

 

The following sample of a Barry White song mixes high notes (the instruments) with very low notes (Barry's voice):

 

Attached File  Can't Get Enough Of Your Love, Babe pcm4+4 stereo 32760Hz atarimax pal.zip   625.24KB   31 downloads

 

Doesn't seem to create any problems.

 

Sincerely

 

Mathy

 

 



#144 Lastic OFFLINE  

Lastic

    Star Raider

  • 51 posts

Posted Sat Jun 23, 2018 2:03 AM

Hi folks,

 

Since the 013 update of the AVG cart, I can now load the SIDE loader and the PDM player to playback PDM files from SD Card.

 

However I seem to be unable to convert an MP3 to PDM no matter which option I try in FujiConvert.

Options used :

artist:

channels: mono
dither: false
duration: -1
freq: 44270.27027027027
frequency: 44kHz
gain: 1.5
maxsize: 128M
media: ide
method: pcm4+4
offset: 0
period: 37
region: pal
title: 

 

Attached File  07 Wanderlust.mp3   11.85MB   17 downloads

 

I also tried using sox ( OS X ) to create a RAW file but no luck either in the PDM player , am I using the wrong options ?

 

sox --no-dither --norm 07\ Wanderlust.mp3 --encoding un --channels 1 --rate 44000 --bits 8 07\ Wanderlust_44000.pdm

 

If I playback the raw file using play ( OS X ) the output sounds good.

 

play -e unsigned -t raw -r 44k -b 8 -c 1 07\ Wanderlust_44000.pdm

 

 



#145 tmp OFFLINE  

tmp

    Star Raider

  • 89 posts
  • Location:Slovakia

Posted Sat Jun 23, 2018 2:36 AM

not sure if that's related but fjc's IDE PDM player has currently file size limitation (due to sector table it builds) so be sure to experiment with shorter tracks first

#146 Lastic OFFLINE  

Lastic

    Star Raider

  • 51 posts

Posted Sat Jun 23, 2018 4:33 AM

Thanks for the tip , trimmed down the MP3 to 2 minutes and now I'm able to playback the PDM.

 

Still trying to accomplish the same with sox but using these parameters

sox --no-dither --norm Wanderlust_trimmed.mp3 --type raw --encoding un --channels 1 --rate 44000 --bits 8 Wanderlust_44000.pdmpv 

 

I get a very loud , way too fast (Chipmunk style) PDM.

 

Anybody has a clue how to convert to IDE PDM format using sox ?



#147 Xuel OFFLINE  

Xuel

    Dragonstomper

  • Topic Starter
  • 718 posts
  • Location:US

Posted Sat Jun 23, 2018 5:14 PM

Thanks for the tip , trimmed down the MP3 to 2 minutes and now I'm able to playback the PDM.
 
Still trying to accomplish the same with sox but using these parameters

sox --no-dither --norm Wanderlust_trimmed.mp3 --type raw --encoding un --channels 1 --rate 44000 --bits 8 Wanderlust_44000.pdmpv 
 
I get a very loud , way too fast (Chipmunk style) PDM.
 
Anybody has a clue how to convert to IDE PDM format using sox ?


You need to interleave the pcm samples in a specific way.

Mono:

http://atariage.com/...-5#entry4032449

Stereo:

http://atariage.com/...-1#entry4037039

#148 _The Doctor__ ONLINE  

_The Doctor__

    River Patroller

  • 4,803 posts
  • Location:10-0-11-00:02

Posted Sat Jun 23, 2018 10:32 PM

ugh pal pal pal pal, pow!!!



#149 Mclaneinc ONLINE  

Mclaneinc

    Quadrunner

  • 5,878 posts
  • Location:Northolt, UK

Posted Sun Jun 24, 2018 3:35 AM

Gents and ladies. lets not get too carried away after perfection, remember these old machines use hardware not really looking to produce CD quality sound :)

 

I am awestruck at the quality of the noise coming out of my 130XE and Altirra, its so much better than the stuff from back in the day but its also using resources that we didn't have then or it was in its very infancy (ram upgrades).

 

Tune away but I saw the words "its not perfect" and I just wanted to remind folk that there's 40yr old design factors in the way :)

 

It sounds amazing though and I love the vigour from all the folks putting time in to this and I'm proud that its the Atari doing the work, it would be so easy to add a sound producing board but then its not the Atari itself..



#150 Lastic OFFLINE  

Lastic

    Star Raider

  • 51 posts

Posted Sun Jun 24, 2018 5:49 AM

You need to interleave the pcm samples in a specific way.

Mono:

http://atariage.com/...-5#entry4032449

Stereo:

http://atariage.com/...-1#entry4037039

 

 

Thanks, I wasn't complety following the technical details so sox is out of the question to do batch-processing, no worries your excellent tool provided what I needed to do some testing.






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users