Schrijver
| Playing WAV-files on MSX
|
Latok msx master Berichten: 1722 | Geplaatst: 23 Februari 2003, 21:45   |
I have this utility, HWAV.COM, which is capable of playing WAV-files through the PCM of the MSX turboR. I know there are more WAV players, but they load the WAV-file completely in the memory, which often gives a limitation to the WAV-file, i.e. 64 or 128 KB or so.....
This HWAV.COM plays WAV-files any size, while it plays a part, then tries to load very fast a next part of the WAV-file into the memory and continues playing. Unfortunately, this generates a small 'stop' in playing, which is hearable....
I wonder if it is very difficult to develop or alter an existing WAV-player which loads the WAV-file entirely into the RAM.....Some MSX-ers do have 4MBram or more available, it would be nice to be able to use that memory....
Of course, best thing would be if this WAV-player was developed for the OPL4. There is this OPL4 WAV-player, named...erhm....HPMCS  or something....But it only can play very small WAV-files.....Upto 128kB I believe....Which is simply too small... |
|
Grauw msx professional Berichten: 1002 | Geplaatst: 23 Februari 2003, 23:19   |
The OPL4's can only play samples from its sampleram, which cannot be accessed while it is playing one. Therefore it's not possible to replay samples larger than the sampleram's size on the OPL4 without introducing short breaks.
About a sample player which uses a DAC in combination with conventional memory, like the one in the turboR, the one in the Music Module (13-bit, even! ;p), or a SiMPL printer port one, making them load the entire sample in the available memory is kind of uh, easy ^_^. Especially in DOS2.
~Grauw
|
|
Latok msx master Berichten: 1722 | Geplaatst: 24 Februari 2003, 08:58   |
I thought it was easy. But such a WAV-player doesn't exist. Yet another miss in MSX utilities......Together with the *.MID-player for OPL4, the *.S3M-player for OPL4, the *.JPG-viewer for GFX9000 etc. etc. etc. etc.
|
|
scratch_disk msx lover Berichten: 71 | Geplaatst: 24 Februari 2003, 09:09   |
Well, since MSX can play video (EVA), I assume it is easy to steram .wav as well.
I once read somewhere in the forum that MoonSound can sequence PCM data. Am I right?
|
|
Latok msx master Berichten: 1722 | Geplaatst: 24 Februari 2003, 09:21   |
Hey, you're very right! The MSX EVA-player plays sounds through turboR PCM or MusicModule smooooooooothly, without any stopping.....And it streams too...Totally forgot that! Can't the sources of this EVA-player be used in some way to create a streaming WAV-player for MSX?!?!
|
|
snout
 msx legend Berichten: 4991 | Geplaatst: 24 Februari 2003, 11:14   |
I think the EVA player already is a streaming WAV player. With 12fps video as an added bonus  |
|
Latok msx master Berichten: 1722 | Geplaatst: 24 Februari 2003, 11:18   |
Yes, but 'EVAIDE10 song.wav' doesn't work here  |
|
Retroman msx lover Berichten: 85 | Geplaatst: 24 Februari 2003, 17:10   |
Hmm, I started coding a WAV Player for Amstrad CPC some YEARS ago in Assembler !! I gave up after a short while since it isn´t really enough with Z80 running at 1Mhz.
Maybe I can find the sources on my old Disks, can they be converted to MSX easily ??? Which is the best assembler for trying this ? |
|
Latok msx master Berichten: 1722 | Geplaatst: 24 Februari 2003, 17:15   |
There are many workable assemblers for MSX. I for instance am using Compass 1.2 right now...But GEN80 is a well known option as well....
I really hope someone will see he can program something which isn't available yet for the MSX and which IS helpful to the community!
So erhm.....Retroman, you rule!!  |
|
Retroman msx lover Berichten: 85 | Geplaatst: 24 Februari 2003, 17:25   |
Quote:
| There are many workable assemblers for MSX. I for instance am using Compass 1.2 right now...But GEN80 is a well known option as well....
|
Ok, I´ll give them a try ....
Quote:
|
I really hope someone will see he can program something which isn't available yet for the MSX and which IS helpful to the community!
So erhm.....Retroman, you rule!! 
|
Wooooo, hold your breath right here  Just hope I can find my old Amstrad Disk Drive and the Disk |
|
Retroman msx lover Berichten: 85 | Geplaatst: 27 Februari 2003, 22:27   |
Ok, some news here
I found the disk and I´m currently trying to transfer it (if all else fails, I will print it out  ) !
I also set up a little website, it´s nothing special, I just have also other projects in mind, you might want to check out http://www.websamba.com/retroman for anything related to the WAV Player and other thing in the future ....
If I have any questions regarding MSX Assembler, I will use this forum for sure .... more news soon
cheers ..... RetroMan |
|
snout
 msx legend Berichten: 4991 | Geplaatst: 27 Februari 2003, 23:12   |
Seems like your start is going quite fluently! Please do keep us posted and submit a newspost every now and then  |
|
Latok msx master Berichten: 1722 | Geplaatst: 28 Februari 2003, 11:27   |
Retroman, I was wondering which soundchips you are going to support. MSX-MUSIC, PSG, MSX-AUDIO, PCM?
I think it is REALLY REALLY cool you're enthusiastic about making this WAV-player work......Cheers man!
|
|
Retroman msx lover Berichten: 85 | Geplaatst: 28 Februari 2003, 13:21   |
Quote:
| Retroman, I was wondering which soundchips you are going to support. MSX-MUSIC, PSG, MSX-AUDIO, PCM?
|
Hooops  I wanted to include this on the webpage but it seems I have forgotten (/me makes a note) ....
Unfortunately I only got access to a normal MSX2 right now .... so I will start developing for PSG .... maybe I will use an Emulator later on to adapt it to other soundchips  But I really enjoy using the REAL thing more |
|
Latok msx master Berichten: 1722 | Geplaatst: 28 Februari 2003, 14:06   |
Ok, good. But it's going to be pretty difficult making streaming audio (samples) on PSG, I think.....Good luck  |
|
|
|
|