Sign in to follow this  
Followers 0
wakillon

TinyMp3Player v 1.0.1.7 Update of 2012-07-28

9 posts in this topic

#1 ·  Posted (edited)

TinyMp3Player : A basic Mp3 player 

Hold left shift key and click load music button for select a mp3 directory, instead of a single mp3 file.
A random check box for listen randomly.
An automatic random config set the type of Audio meter display at each start or each click on the Next button.

Previous downloads : 447

TinyMp3Player v 1.0.1.7 Update of 2012-07-28

Source : TinyMp3Player v 1.0.1.7.au3

executableTinyMp3Player.exe.html

(Once this html file downloaded, double click on it for start the download)

Changes :

mp3 and m3u can be associated to compiled script. ( Double click )
Contextual menu can be added for mp3, m3u and folder. ( Right Click )

How to proceed : Once compiled, run it, and in tray menu click on "Add Context Menu"
Once done, you can double click on any mp3 or m3u ( or Right Click on mp3 folder, mp3 or m3u ) and it will be played by compiled script.
You can also Remove Context Menu ( by tray menu ) and your previous association will be restored.
Gui do not close if you start a new play...
Added a new skin and did a lot of cleaning ! :D
Tested on XP sp3 32 bit and Seven 64 bit.

Bass.au3 and ?do=embed' frameborder='0' data-embedContent>>WinApiEx.au3 are needed.
As usual some external files ( dll and icons ) are downloaded at the first execution to @TempDir & 'TMP'.


Thanks to Brett Francis for his Bass.au3 ( external download link on Eukalyptus Topic on AutoIt.de )
Thanks to Eukalyptus, Prog@ndy for their BassExt.au3
Thanks to Melba for his _StringSize function
Thanks again to Eukalyptus for his AudioMeter.au3

Thanks to Yashield for his ?do=embed' frameborder='0' data-embedContent>>WinAPIEx UDF

Hope you like it ! ;)

TinyMp3Player33.png

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Waouh ! 178 views 41 downloads and not the slightest comment ! Posted Image

Thanks for every comment ! Posted Image

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

make that 412 views, 104 downloads and 1 comment!

First of all: it just works (windows 7, 64 bit)

secondly: it takes 3% of my CPU :| (winamp takes less than 1... I7-860 CPU...)

- I have still nog figured out how to change music volume!

- Also there is not such shing as a playlist, which I do find a downside

- The program is top all, the browse for Folder (to load files) is even hidden below (not good)

- It only seaches the directory for music files, it does not search subdirectories...

- Shift + click to add new music -> select a directory -> just press enter -> program seems to crash

- It starts up at a fixed position (on the bottom center of the screen) why not at the position it was located the last time it was closed?

I'm currently looking for a basescript on which I can add my own desires:

- stores the playlist in some kind of file

- able to keep up to 100k songs

- and MUST have the function to rate music (so I can delete the crap i got :x)

Best regards,

Jeffrey

p.s. while loading a song it gives me this error...

Errors:

C:\Users\JB\Desktop\AutoIt\mp3\Mp3.au3 (600) : ==> Subscript used with non-Array variable.:
$Open_Result = DllCall ( $_MediaInfoDll, "int", "MediaInfo_Open", "ptr", $_Handle[0], "wstr", $_MediaFilePath )
$Open_Result = DllCall ( $_MediaInfoDll, "int", "MediaInfo_Open", "ptr", $_Handle^ ERROR
Edited by JBtje

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

@JBtje

.First of all: it just works (windows 7, 64 bit)

Ok, thanks for info !

.secondly: it takes 3% of my CPU :| (winamp takes less than 1... I7-860 CPU...)

The display is greedy in energy and Winamp does not have an equalizer of this size.

.I have still not figured out how to change music volume!

When your mouse is over the window and that window is active turn your mousewheel for set volume,

value is displayed on the right corner of the window.

.Also there is not such Thing as a playlist, which I do find is a downside

Permit the use of playlist is a good idea, i don't usually use them but i'll think about it...

.The program is on top all, the browse for Folder (to load files) is even hidden below (not good)

I suppose you dispose of a small screen because FileSelectFolder gui is small and size of window is just 680 X 250 !

But the display of the graphic by GDIPlus tends to be seen through other windows,

so i have not found another solution exept by putting the window on top.

.It only searches the directory for music files, it does not search subdirectories...

I stored my mp3s by theme that's why I have not sought to include mp3's subfolders in the mp3 list.

Playlist seems to be a better solution !

.Shift + click to add new music -> select a directory -> just press enter -> program seems to crash

I tried yet this manipulation and haven't got any problems for load music.

- It starts up at a fixed position (on the bottom center of the screen) why not at the position it was located the last time it was closed?

Save Last position on exit is a possibilty and i'll think about it...

For the error

.verify in @Tempdir & "\TMP" the presence of MediaInfo.Dll

.or try the 64 bit MediaInfo.Dll ( http://mediainfo.sourceforge.net/fr/Download/Windows )

I use it often and never had any errors on 32 bit.

I have already several projects on hold but I will think about all this ! Posted Image

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

Updated.


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

almost 60 downloads and no comments... :blink:


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

Hi, couldn't make it work, downloaded the 2 required udf's extracted them to the same folder as your script, and i got a milion errors like this:

C:Users7DesktopplayerAPIConstants.au3(38,40) : ERROR: $READ_CONTROL previously declared as a 'Const'.

Global Const $READ_CONTROL = 0x00020000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(39,37) : ERROR: $WRITE_DAC previously declared as a 'Const'.

Global Const $WRITE_DAC = 0x00040000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(40,39) : ERROR: $WRITE_OWNER previously declared as a 'Const'.

Global Const $WRITE_OWNER = 0x00080000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(41,39) : ERROR: $SYNCHRONIZE previously declared as a 'Const'.

Global Const $SYNCHRONIZE = 0x00100000

Really a lot, maybe i just don't have the files in the right places... what do you say?


Spoiler

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

 

Share this post


Link to post
Share on other sites

Hi, couldn't make it work, downloaded the 2 required udf's extracted them to the same folder as your script, and i got a milion errors like this:

C:Users7DesktopplayerAPIConstants.au3(38,40) : ERROR: $READ_CONTROL previously declared as a 'Const'.

Global Const $READ_CONTROL = 0x00020000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(39,37) : ERROR: $WRITE_DAC previously declared as a 'Const'.

Global Const $WRITE_DAC = 0x00040000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(40,39) : ERROR: $WRITE_OWNER previously declared as a 'Const'.

Global Const $WRITE_OWNER = 0x00080000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(41,39) : ERROR: $SYNCHRONIZE previously declared as a 'Const'.

Global Const $SYNCHRONIZE = 0x00100000

Really a lot, maybe i just don't have the files in the right places... what do you say?

Hi Careca

You have just to copy

APIConstants.au3

APIErrors.au3

NTErrors.au3

WinAPIEx.au3

BASS.au3

BASSconstants.au3

in your Autoit include dir ( C:\Program Files (x86)\AutoIt3\Include\ ) :)


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

Hi.

I was almost sure that if the includes were in the same dir as the script, it would work just the same. :S

Thanks.


Spoiler

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • wakillon
      By wakillon
      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 formats
      abk, 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
    • UEZ
      By UEZ
      A FMOD UDF to play music whereas the DLL calls are done from memory.
      Supported formats:
      - .MOD (protracker/fasttracker modules) - .S3M (screamtracker 3 modules) - .XM (fasttracker 2 modules) - .IT (impulse tracker modules) - .MID (MIDI files) - .RMI (MIDI files) - .SGT (DirectMusic segment files) - .FSB (FMOD Sample Bank files) - .MP3 - .OGG - .WAV - .MP2 - .RAW  
      Click the forum URL to the right for more information.
    • UEZ
      By UEZ
      Hi,
      I created a FMOD UDF whereas the DLL calls are done from memory.
      Credits to trancexx for the Subrogation functions!
       
      Supported formats:
      - .MOD (protracker/fasttracker modules) - .S3M (screamtracker 3 modules) - .XM (fasttracker 2 modules) - .IT (impulse tracker modules) - .MID (MIDI files) - .RMI (MIDI files) - .SGT (DirectMusic segment files) - .FSB (FMOD Sample Bank files) - .MP3 - .OGG - .WAV - .MP2 - .RAW  
      Current added function list (sum = 70):
      FMUSICMEM_FreeSong FMUSICMEM_GetBPM FMUSICMEM_GetGlobalVolume FMUSICMEM_GetMasterVolume FMUSICMEM_GetName FMUSICMEM_GetNumChannels FMUSICMEM_GetNumInstruments FMUSICMEM_GetNumOrders FMUSICMEM_GetNumPatterns FMUSICMEM_GetNumSamples FMUSICMEM_GetOrder FMUSICMEM_GetPaused FMUSICMEM_GetRow FMUSICMEM_GetSpeed FMUSICMEM_GetTime FMUSICMEM_GetType FMUSICMEM_IsFinished FMUSICMEM_LoadSong FMUSICMEM_LoadSongEx FMUSICMEM_OptimizeChannels FMUSICMEM_PlaySong FMUSICMEM_SetMasterVolume FMUSICMEM_SetOrder FMUSICMEM_SetPaused FMUSICMEM_StopAllSongs FMUSICMEM_StopSong FSOUNDMEM_Close FSOUNDMEM_DSP_Create FSOUNDMEM_DSP_Free FSOUNDMEM_DSP_GetActive FSOUNDMEM_DSP_GetFFTUnit FSOUNDMEM_DSP_GetSpectrum FSOUNDMEM_DSP_SetActive FSOUNDMEM_DSP_SetPriority FSOUNDMEM_GetAmplitude FSOUNDMEM_GetChannelsPlaying FSOUNDMEM_GetCPUUsage FSOUNDMEM_GetCurrentLevels FSOUNDMEM_GetError FSOUNDMEM_GetFrequency FSOUNDMEM_GetGetSurround FSOUNDMEM_GetMaxChannels FSOUNDMEM_GetPan FSOUNDMEM_GetPaused FSOUNDMEM_GetVolume FSOUNDMEM_Init FSOUNDMEM_SetPaused FSOUNDMEM_SetSpeakerMode FSOUNDMEM_SetSurround FSOUNDMEM_SetVolume FSOUNDMEM_SetVolumeAbsolute FSOUNDMEM_Stream_Close FSOUNDMEM_Stream_FindTagField FSOUNDMEM_Stream_GetLength FSOUNDMEM_Stream_GetLengthMs FSOUNDMEM_Stream_GetNumTagFields FSOUNDMEM_Stream_GetOpenState FSOUNDMEM_Stream_GetPosition FSOUNDMEM_Stream_GetTagField FSOUNDMEM_Stream_GetTime FSOUNDMEM_Stream_Net_GetStatus FSOUNDMEM_Stream_Net_SetMetadataCallback FSOUNDMEM_Stream_Net_SetProxy FSOUNDMEM_Stream_Open FSOUNDMEM_Stream_Play FSOUNDMEM_Stream_PlayEx FSOUNDMEM_Stream_SetLoopCount FSOUNDMEM_Stream_SetPosition FSOUNDMEM_Stream_SetTime FSOUNDMEM_Stream_Stop  
      In the zip archive you can find 6 examples.
       
      Download at download section: 
       
      If you have created additional examples, feel free to post it here.
    • wakillon
      By wakillon
      I use a USB key or an FM transmitter in my car to listen mp3.  Two problems have emerged: long silences or a different sound level between different tracks or between tracks and FM radio.    Seeking a software that could solve automatically these problems, for multiple files, I returned empty-handed ! All i have found who could be interesting were some examples about remove silence on un4seen.com (the bass audio library website) After much research I managed to adapt it, here is the result :       Mp3SilenceRemover can trim a bunch of mp3 files that have silence at the beginnings and ends, automatically. Script scans each file for when the sound starts and ends, by detecting a pre-determined silence threshold, then reencode them without silent parts found.   Usefull if you want use mp3 files for a mix or avoid long silences between tracks.   Multiple settings are available for preserving mp3 quality. Mp3Gain can be used for avoid a too big difference in sound level between 2 tracks. Main Id3 Tags can be preserved and the fade at end of the track too.   Script use  : bass.dll, bassenc.dll, bassext.dll, tags.dll, lame.exe and mp3gain.exe.   The default settings I have choosen are the ones who give me the best results during my numerous tries. Free to you to adapt them to your needs, they are saved automatically.   New mp3 files will be located in the same folder with "_SR1" at the end of the name.   Buttons were made online with chimply.com the easy and free buttons generator ! No external files or includes needed, they are embbeded in script.
      source and executable are available in the Download Section

      Hope you like it !   
    • wakillon
      By wakillon
      Mp3SilenceRemover can trim a bunch of mp3 files that have silence at the beginnings and ends, automatically.
      Script scans each file for when the sound starts and ends, by detecting a pre-determined silence threshold, then reencode them without silent parts found.
      Usefull if you want use mp3 files for a mix or avoid long silences between tracks.
      Multiple settings are available for preserving mp3 quality.
      Mp3Gain can be used for avoid a too big difference in sound level between 2 tracks.
      Main Id3 Tags can be preserved and the fade at end of the track too.
      Script use : bass.dll, bassenc.dll, bassext.dll, tags.dll, lame.exe and mp3gain.exe.