Jump to content

Recommended Posts

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.

searched about header specifications, but didn't found any infos about that....


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

That's ace!  :thumbsup:

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 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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

That's ace!  :thumbsup:

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 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

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

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  :huh2:

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

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 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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

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 !  :P

Do you think to another type of parameters ?

edit : source : BOOL WINAPI ModPlug_SetWindow(LPVOID pPlugin, HWND hwnd)

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

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Absolutely awesome wakillion  :thumbsup:  :thumbsup:  :thumbsup:  :thumbsup:

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Absolutely awesome wakillion  :thumbsup:  :thumbsup:  :thumbsup:  :thumbsup:

Now I can use SID tunes for my graphic stuff.

 

Thanks a lot !

Yes, but would you be interested by a smaller SID player ?  :dance:

Instead of use a dll of 7189 ko, you could use a dll of 8 ko...

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

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

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 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

Wow, I'm impressed.This is awsome²  :lmao:  :thumbsup:  :thumbsup:  :thumbsup:

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 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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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

  • Similar Content

    • By UEZ
      Hi,
      I created a FMOD UDF (x86 / x64 compatible) whereas the DLL calls are done from memory directly!
      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:  FModMem UDF build 2019-11-24.zip
       
      If you have created additional examples, feel free to post it here.
    • By UEZ
      A FMOD UDF to play music and radio stations whereas the DLL is called directly 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. Execution only in x86 mode as the embedded DLL is x86 only!
       
      Download: FModMem UDF build 2019-11-24.zip
    • By CYCho
      This file includes all the source codes and a compiled .exe version of zPlayer, which is a stand-alone, simple, intuitive and easy-to-use, yet fully functional audio player.  I made this to suit my purpose and you can tweak it to your taste as the source code is only about 1000 lines which are very much readable.  This player has the following functions:
      - Play back all formats of audio files which can be palyed back by the Windows Media Player in your computer
      - Graphical player similar to embedded Windows Media Player
      - Forward, backward, pause, repeat, shuffle funtions
      - Increase/decrease/mute sound volume
      - Change folders and create playlist for all audio files in that folder and its subfolders, and support for manually-made playlists
      - Save play-back environment when terminating and resume that environment when restarting
      - With one click, you can see DuckDuckGo search results for the file being played back
      - With a double-click, you can play back an item in the playlist
      - Search strings in the playlist
      - Option to see long file names including folder names
      - Resize the playlist window, and restore it to its default position
      - Very small footprint: very low CPU and memory usage, with only about 1MB when compiled
      - You can even hide all the windows and manipulate the player with hotkeys only
×
×
  • Create New...