CPCWiki forum

General Category => Programming => Topic started by: Bug Powell on 14:26, 12 June 21

Title: How to convert sndh files to arkos tracker files?
Post by: Bug Powell on 14:26, 12 June 21
hello, i would like to convert a sndh file (atari music) to a file which can by played by arkos tracker. Is it possible? And how to play it on cpc?
Title: Re: How to convert sndh files to arkos tracker files?
Post by: PulkoMandy on 16:33, 12 June 21
No, it is not possible.


SNDH files contain the 68000 code of the player for the sound plus the data for that player, in a custom format. It would be difficult, if not impossible, to convert this back into instruments and patterns for Arkos Tracker.


What you can do, maybe, is convert the SNDH file to an YM register dump, which can then be played on the CPC (with low CPU use but high memory requirements).
Title: Re: How to convert sndh files to arkos tracker files?
Post by: Bug Powell on 16:39, 12 June 21
thank you pulkomandy for your answer. Do you know a tool to make a ym register dump from a sndh file?
Title: Re: How to convert sndh files to arkos tracker files?
Post by: tronic on 18:04, 12 June 21
Quote from: Bug Powell on 16:39, 12 June 21
thank you pulkomandy for your answer. Do you know a tool to make a ym register dump from a sndh file?

Hi,
You can "for example" do that :

1. Get a .sndh filemusic (tons there : http://sndh.atari.org/download.php (http://sndh.atari.org/download.php))
2. Get ayemul : https://bulba.untergrund.net/emulator_e.htm (https://bulba.untergrund.net/emulator_e.htm)
3. Play/Convert/export sndh filemusic with ayemul to ym6 format (.ym)
4. Uncompress (use 7zip or lha or...) the generated ym6 (.ym) file because it's compressed, usually with lha - You get then a "Ay_Emul.ym" file.
5. Use a tool to "transform" this uncompressed "Ay_Emul.ym" to ayc format :
- What's ayc : http://www.cpcwiki.eu/index.php/AYC (http://www.cpcwiki.eu/index.php/AYC)
- Toolz for doing that :
a) https://cpcrulez.fr/emulateurs_UTIL-MUSIC-YMCruncher.htm (https://cpcrulez.fr/emulateurs_UTIL-MUSIC-YMCruncher.htm) (windows)
b) https://cpcrulez.fr/coding_src-music-kitay.htm (https://cpcrulez.fr/coding_src-music-kitay.htm) (on cpc)
6. You get now an "Ay_Emul.ayc" that can be play on cpc with the AYC player
7. Player+song (assemble/run with winape emulator)

Link to all of that, there (zip file) : https://uptobox.com/e4sslnma0xzj (https://uptobox.com/e4sslnma0xzj)

+++
[edit] Forgot link to explain what is ym6 format, there : http://leonard.oxg.free.fr/ymformat.html
Title: Re: How to convert sndh files to arkos tracker files?
Post by: Bug Powell on 20:44, 12 June 21
thank you very much tronic! your answer is perfect, it helped me a lot. I finally managed to play some music on my cpc.
Title: Re: How to convert sndh files to arkos tracker files?
Post by: tronic on 21:42, 12 June 21
Quote from: Bug Powell on 20:44, 12 June 21
thank you very much tronic! your answer is perfect, it helped me a lot. I finally managed to play some music on my cpc.

One more thing.
From point 3. (see above, once .ym is exported) Arkos Tracker comes with an option (Tools->YM analyzer) that deals with ym formats.
In fact, with this option you can read/play/import a small portion of the ym music from one channel (A,B or C), and so then (re)using it as instruments into arkos tracker.
It's a kind of way for "ripping" instruments from the original (sndh) music or simply to "see/hear" how it is done.

Have a try...

+++
Title: Re: How to convert sndh files to arkos tracker files?
Post by: Targhan on 23:04, 12 June 21
Quick complementary answer, the best way is probably to ask a musician to perform the conversion. Creating a  converter from a register stream to AT2 would be very unreliable and unoptimized...
Title: Re: How to convert sndh files to arkos tracker files?
Post by: Ast on 11:58, 19 August 21
Quote from: tronic on 18:04, 12 June 21
Hi,
You can "for example" do that :

1. Get a .sndh filemusic (tons there : http://sndh.atari.org/download.php (http://sndh.atari.org/download.php))
2. Get ayemul : https://bulba.untergrund.net/emulator_e.htm (https://bulba.untergrund.net/emulator_e.htm)
3. Play/Convert/export sndh filemusic with ayemul to ym6 format (.ym)
4. Uncompress (use 7zip or lha or...) the generated ym6 (.ym) file because it's compressed, usually with lha - You get then a "Ay_Emul.ym" file.
5. Use a tool to "transform" this uncompressed "Ay_Emul.ym" to ayc format :
- What's ayc : http://www.cpcwiki.eu/index.php/AYC (http://www.cpcwiki.eu/index.php/AYC)
- Toolz for doing that :
a) https://cpcrulez.fr/emulateurs_UTIL-MUSIC-YMCruncher.htm (https://cpcrulez.fr/emulateurs_UTIL-MUSIC-YMCruncher.htm) (windows)
b) https://cpcrulez.fr/coding_src-music-kitay.htm (https://cpcrulez.fr/coding_src-music-kitay.htm) (on cpc)
6. You get now an "Ay_Emul.ayc" that can be play on cpc with the AYC player
7. Player+song (assemble/run with winape emulator)

Link to all of that, there (zip file) : https://uptobox.com/e4sslnma0xzj (https://uptobox.com/e4sslnma0xzj)

+++
[edit] Forgot link to explain what is ym6 format, there : http://leonard.oxg.free.fr/ymformat.html (http://leonard.oxg.free.fr/ymformat.html)
Great but, too bad it's not working for "specials features" as SiD Voices, SyncBuzz etc...
Powered by SMFPacks Menu Editor Mod