Popular Post wakillon Posted March 22, 2015 Popular Post Share Posted March 22, 2015 (edited) I love chiptune music, but BASS only support XM, IT, S3M, MOD, MTM, UMX and MO3 file format for MOD music. 1 | Nintendo NES and SNES Sound File Players May be you already have some files with extension nsf, nsfe, spc or rsn (unzip rsn files for get spc collection files inside) but you can't play them in a AutoIt script ? So I searched around a bit, and found 2 DLL ( nsf_player.dll and spc_player.dll ) for play Nintendo NES and SNES Sound Files. Interest of those DLL is that they can play from file path or binary data, avoiding temp files. Dll and audio files are embedded in scripts for permit you to test them right away. Some info/download links are in front of each script. 2 | ModPlug Player Another dll found : npmod32.dll who support mod, s3m, xm, med, it, s3z, mdz, itz, xmz and wav files. Interest : it can play some rares chiptune formats, you can also pause, set volume and set position. Inconvenient : do not load from binary datas. Dll and audio files are embedded in script and i have added a gui for permit you to try right away ! Warning : Do not work on Win8. 3 | ZXTune Player 2 (basszxtune.dll v2.4.5) UPDATE of 23 DEC 2016 Using BASSZXTUNE chiptune support for BASS ( Support as0, asc, ay, ftc, gtr, psc, psg, psm, pt1, pt2, pt3, sqt, st1, s, st3, stc, stp, ts, txt, vtx, ym, chi, dmm, dst, m, sqd, str, sid, cop, tf0, tfc, tfd, tfe, $b, $m, ahx, ayc, bin, cc3, d, dsq, esv, fdi, gam, gamplus, gbs, gym, hes, hrm, hrp, lzs, msp, mtc, nsf, nsfe, p, pcd, sap, scl, spc, szx, td0, tlz, tlzp, trd, trs, vgm ) Interest : it can play lot of rares chiptune formats, while benefiting from all bass functions. Inconvenient : dll size.(5860ko) Dll and audio files are embedded in script. 4 | TitchySID Player Files and dll are loaded in memory. Interest : dll size (8ko), you can Play/Stop/Pause/Resume and choose which subsong to play. Inconvenient : only SID audio files supported ( PSID & RSID) Dll and audio files are embedded in script. Tested under Win7 and Win8. Edit : added a Sid header viewer : SidHeaderViewer.au3 5 | MiniFmod Player Interest : dll size (20ko) Inconvenient : only xm audio files supported. 6 | Npnez Player Using npnez.dll (88ko) for play Gameboy Sound System audio files and some others ( kss, hes, nsf, ay, gbr, gbs, gb, nsd, sgc ) Interest : Can be loaded in memory, subsong can be set and volume can be adjusted ( perfect for create a fade when exiting ) Inconvenient : for an unknow reason, only 20% of my hes collection is playable... 7 | µFMOD Player Interest : dll size (10ko), can be loaded in memory, support Play/Stop/Pause/Resume actions and volume can be adjusted ( perfect for create a fade when exiting ) Inconvenient : only xm audio files supported. 8 | MagicV2m Player Interest : dll size (20ko), Play/Stop/IsPlay/SetAutoRepeat/Progress Inconvenient : only v2m audio files supported, V2mPlayStream is not reliable, so prefer V2mPlayFile instead. 9 | OSMEngine Player OSMEngine.dll (80 ko)(Oldskool Musics Engine) permit to play snd, sndh, fc, fc4, fc14 and some rare jam audio files from Amiga/Atari ST(E) Interest : audio can be loaded in memory, and Pause/Resume/SetVolume/GetInfos are available Inconvenient : none at the moment. 10 | Ayfly Player Ayfly.dll (268 ko) is a AY-891x emulator and player who support the following tracker formats : aqt, asc, ay, fxm, gtr, psc, psg, pt1, pt2, pt3, sqt, stc, stp, vtx, ym and zxs (ZX Spectrum Emulator Snapshot) files. Interest : SetVolume/GetInfos are available Inconvenient : a function named "ay_initsongindirect" for load module in memory exists, but due to the poor documentation provided i do not succeed to get it to work... 11 | GMGME Player GMGME.dll is a emulated music DLL that allows you to play ay, gbs, gym, hes, kss, nsf/nsfe, sap, spc and vgm files. Interest : Can play ATARI SAP files (only type B and C) , Set Volume and Set Tempo are available Inconvenient : Dll Size (and his imports) , and audio files can not be loaded in memory. 12 | SC68 Player sc68replay.dll (166 ko) is a Freebasic DLL compiled from "sc68replay" src that allows you to play SC68 (Atari ST and Amiga audio formats) files. Interest : Can play from file and memory Inconvenient : Unfortunatelly for an unknown reason not all sc68 files are supported. 13 | Extended Module Player LibXmp.dll (272 ko) can "read" xm, mod, it, s3m, med, 669 but also some rares formatsabk, amd, amf, dbm, digi, dtm, emod, far, flx, fnk, gdm, hsc, imf, j2b, liq, m15, mdl, mfp, mgt, mtm, mtn, okt, psm, ptm, rad, rtm, sfx, smp, stim, stm, stx, ult, umx, wow, ym3812 Despite its name, it's not a "player" but a library that renders module files to RAW PCM data. So the interest in this script was to find a way to convert those raw datas into a "playable" sound. With Waveform Audio Interface i create a pseudo Wav header who permit to play datas as a Wav file. Interest : Can play from file and memory Inconvenient : Time to render datas (depends of file size) 14 | LibModPlug Player LibModPlug.dll (102 ko) can "read" xm, it, mod, s3m, med, 669 and also amf, ams, dbm, dmf, dsm, far, j2b, mdl, mt2, mtm, okt, psm, ptm, stm, ult, umx. As LibXmp.dll, it's a library that renders module files to RAW PCM data. For this one, i create a real binary wave header for be able to play it easily from memory with winmm.dll PlaySoundW function. Interests : Can play from file and memory, and have some nice sound effects : Surround, MegaBass and Reverb (used in script example) It can also replace modplug player(2) for Win 8+ users Inconvenient : Time to render datas (depends of file size) 15 | AdPlug Player AdPlug.dll ( 69ko ) is an AdLib sound player library who is able to play the following files type : A2M, ADL, AMD, BAM, CFF, CMF, D00, DFM, DMO, DRO, DTM, HSC, HSP, IMF, KSM, LAA, LDS, M, MAD, MID, MKJ, MSC, MTK, RAD, RAW, RIX, ROL, S3M, SA2, SAT, SCI, SNG, XAD, XMS, XSM For this one, time to render datas is to long, so i needed to find an other way for play modules. Using Bass.dll and particulary the "BASS_StreamPutData" function i succeeded to play module in loop while rendering it. Both DLL are loaded in memory, and 16 different module types are available in the script. No includes/files needed. Just run it. Warning : for a unique file extension (example .sng), it's sometimes possible to have several filetypes from different trackers ! AdPlug.dll Imports : msvcp71.dll, msvcr71.dll in C:\Windows\SysWOW64 ( VC Redist Installer ) Interests : Can read some obscure rare formats. Inconvenient : Can not read from memory 16 | LibMikmod Player LibMikmod.dll (85ko) will currently play the following common and not so common formats : 669, AMF, DSM, FAR, GDM, IMF, IT, MED, MOD, MTM, S3M, STM, STX, ULT, UNI, XM Interests : Can load from memory Inconvenient : only for full-screen applications, because if the application has not the focus sound is muted Downloads are available in the download section Dedicated to chiptune Lovers ! Music Links : asma.atari.org woolyss.com chipmusic.org demozoo.org modarchive.org modules.pl keygenmusic.net zxtunes.com mazemod.org amigaremix.com pouet.net plopbox.eu Modland Edited March 4, 2017 by wakillon KLM, mLipok, UEZ and 6 others 9 AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
jcpetu Posted March 22, 2015 Share Posted March 22, 2015 Hi Wakillon, thanks a lot for sharing. Link to comment Share on other sites More sharing options...
wakillon Posted March 22, 2015 Author Share Posted March 22, 2015 Hi Wakillon, thanks a lot for sharing. Thanks. I forget to precise that most of this kind of audio files files are designed to be played in loop, but some few times not. I searched about header specifications, but didn't found any infos about that.... AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
UEZ Posted March 22, 2015 Share Posted March 22, 2015 (edited) That's ace! Since a long time I'm searching to play SID files (C64 chip sound) but didn't find anythin' with a good documentation. Thanks for sharing! Edited March 22, 2015 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
wakillon Posted March 22, 2015 Author Share Posted March 22, 2015 (edited) That's ace! Since a long time I'm searching to play SID files (C64 chip sound) but didn't find anythin' with a good documentation. Thanks for sharing! Thanks Did you see this library : libsidplay2.dll ? With sidplay2w.exe who support command line arguments. Syntax: SIDPLAYW [-<commands>] [<datafile>] commands: -h display this screen -i always open new instance of SIDPLAY -o<num> set song number (default: preset) Edited March 22, 2015 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
UEZ Posted March 22, 2015 Share Posted March 22, 2015 Sure, but I want to use the DLL only and the documentation for libsidplay2.dll is not good or I'm to silly to understand the C++ code. Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
TheAutomator Posted March 22, 2015 Share Posted March 22, 2015 Cool man! Retro Console, NestedArrayDisplay UDF foldermaker-pro-clone Link to comment Share on other sites More sharing options...
wakillon Posted March 22, 2015 Author Share Posted March 22, 2015 Cool man! Thanks AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
wakillon Posted March 22, 2015 Author Share Posted March 22, 2015 (edited) Sure, but I want to use the DLL only and the documentation for libsidplay2.dll is not good or I'm to silly to understand the C++ code. That's right ! I have tried libsidplay2.dll but functions names are like this "public: unsigned int __thiscall sidplay2::play(void *,unsigned int)" i have used all parts but it allways return error 3, "function" not found in the DLL file Edited March 22, 2015 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
wakillon Posted March 31, 2015 Author Share Posted March 31, 2015 (edited) Topic renamed for permit to add some other Mod Players ! See the first post. Edited March 31, 2015 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
UEZ Posted March 31, 2015 Share Posted March 31, 2015 (edited) When pushing the play button in ModPlug_Player AutoIt crashes -> AutoIt3.exe ended.rc:-1073740771 (0xC000041D) -> 0xc000041d - An unhandled exception was encountered during a user callback!?Using Win8.1 x64 with latest stable / beta AutoIt version.Edit: in my Win7 x64 vm it plays but one time it has crashed also with 0xC0000005. Seems that the DLL is not very stable or DLL wrong called within script.I prefer Bassmod.dll because the size is only 34 kb. Edited March 31, 2015 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
wakillon Posted March 31, 2015 Author Share Posted March 31, 2015 (edited) When pushing the play button in ModPlug_Player AutoIt crashes -> AutoIt3.exe ended.rc:-1073740771 (0xC000041D) -> 0xc000041d - An unhandled exception was encountered during a user callback!? Using Win8.1 x64 with latest stable / beta AutoIt version. Edit: in my Win7 x64 vm it plays but one time it has crashed also with 0xC0000005. Seems that the DLL is not very stable or DLL wrong called within script. I prefer Bassmod.dll because the size is only 34 kb. Hi UEZ, i just tried with win8.1 and it crash too. It's strange on Win 7 it worked well... It seems that the last parameter of the "ModPlug_SetWindow" function is the cause. If i set a "hwnd*" instead of "hwnd" there is no crash and no errors, but no sound too ! Do you think to another type of parameters ? edit : source : BOOL WINAPI ModPlug_SetWindow(LPVOID pPlugin, HWND hwnd) Edited March 31, 2015 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
UEZ Posted March 31, 2015 Share Posted March 31, 2015 The dll seems from 1998! I assume the DLL doesn't work with Win8 properly. Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
wakillon Posted March 31, 2015 Author Share Posted March 31, 2015 The dll seems from 1998! I assume the DLL doesn't work with Win8 properly. No, It seems that some parameters are wrong, but didn't find which one. Try this, who work on win 8.1. AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
wakillon Posted April 12, 2015 Author Share Posted April 12, 2015 Added ZXTune Player who can, among other things, read SID audio files ! UEZ 1 AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
UEZ Posted April 12, 2015 Share Posted April 12, 2015 Absolutely awesome wakillion Now I can use SID tunes for my graphic stuff. Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
wakillon Posted April 12, 2015 Author Share Posted April 12, 2015 (edited) Absolutely awesome wakillion Now I can use SID tunes for my graphic stuff. Thanks a lot ! Yes, but would you be interested by a smaller SID player ? Instead of use a dll of 7189 ko, you could use a dll of 8 ko... Edited April 12, 2015 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
UEZ Posted April 12, 2015 Share Posted April 12, 2015 Is basszxtune.dll working without bass.dll? Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
wakillon Posted April 12, 2015 Author Share Posted April 12, 2015 (edited) Is basszxtune.dll working without bass.dll? No, it's a plugin. Vielleicht ich habe ein geschenk für sie, mein freund ! Seit 3 Wochen habe ich für Sid-Player für Sie gesucht. Und vor 2 Tagen fand ich ein Assembler-Quellcode. Aber ich weiß nicht, alles in Assembler! Dann ich gestartet und versucht, es unter masm32 kompilieren. Und nach einigen Stunden und vielen erfolglosen versuchen, Bingo! If you find the previous one awesome, what will you think about this one ! See first post ! Edited April 12, 2015 by wakillon UEZ 1 AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
UEZ Posted April 12, 2015 Share Posted April 12, 2015 (edited) Wow, I'm impressed.This is awsome² I didn't thought that you will continue searching for a SID player. Thank you very much wakillon. Why are you lovin' chip sound? Worked with a C64 and influenced by the tunes? Btw, can you send me the ASM code please? Otherwise I've to register to download it. I discovered a new effect. Maybe I will create an old style intro withh chip tune... Edited April 12, 2015 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now