Recent

Author Topic: [SOLVED] internal Module playback  (Read 2514 times)

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2269
  • Fifty shades of code.
    • Delphi & FreePascal
[SOLVED] internal Module playback
« on: January 09, 2024, 09:36:10 pm »
Good day!

I am in need to playback from resourcestream module(s) and wondering if someone already made progress on such task.
To explain, a module is a tracker file with fileextension of .mod .xm .it .s3m and so on.

I was searching once for delphi and did found uMod(?), but i lost that somehow.
My need is to have it linked static into my windows application, as external library i am aware of bass.dll and similars.

If you can suggest me something, that be nice! <3
« Last Edit: January 11, 2024, 02:33:29 am by KodeZwerg »
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

TRon

  • Hero Member
  • *****
  • Posts: 3623
Re: internal Module playback
« Reply #1 on: January 09, 2024, 10:41:29 pm »
Benjamin (rosseaux) has his beroplayer but for the life of me I can't seem to locate his website where it resides. I did manage to find this.

Perhaps your google-foo is better than mine.
« Last Edit: January 09, 2024, 10:43:46 pm by TRon »
This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2269
  • Fifty shades of code.
    • Delphi & FreePascal
Re: internal Module playback
« Reply #2 on: January 10, 2024, 12:54:51 am »
Your hint (with the authors name) was gold, i did found this, made for delphi, i have not tried it yet to use with lazarus nor have i checked the features, something is better than nothing, right? :-)
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

TRon

  • Hero Member
  • *****
  • Posts: 3623
Re: internal Module playback
« Reply #3 on: January 10, 2024, 02:31:49 am »
Your hint (with the authors name) was gold, i did found this, made for delphi, i have not tried it yet to use with lazarus nor have i checked the features, something is better than nothing, right? :-)
Ah, old-school mmsystem   :)

It is indeed better than nothing but I've seen better (though ages ago so would have to dig into it but am a bit busy atm).

Note that this seem to only support classic ST/PT files. though the basics are the same for most module formats: load samples, load trackdata, play note(s)/apply effect(s), mix waveform data and feed to audio hardware. There is plenty to be found though mostly written in c.
This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

hukka

  • New Member
  • *
  • Posts: 32
    • Github
Re: internal Module playback
« Reply #4 on: January 10, 2024, 07:16:33 am »
Good day!

I am in need to playback from resourcestream module(s) and wondering if someone already made progress on such task.
To explain, a module is a tracker file with fileextension of .mod .xm .it .s3m and so on.

I have native FPC playroutines on my github for ProTracker (.mod), Future Composer and SID: https://github.com/hukkax/CaniNES/tree/main/src/basement/playroutines

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2269
  • Fifty shades of code.
    • Delphi & FreePascal
Re: internal Module playback
« Reply #5 on: January 10, 2024, 02:44:20 pm »
@hukka
Wow how nice of you sharing such a pearl! I having a strong guessing that it is exactly what I was searching for!
I love to play around with yours!  :-*

Many many thanks!
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

TRon

  • Hero Member
  • *****
  • Posts: 3623
Re: internal Module playback
« Reply #6 on: January 10, 2024, 06:57:17 pm »
Thank you for sharing hukka. Especially concerning FC

@KodeZwerg:
* TRon stupid2  :-[

Look for tralala from FPC dev nickysn. It provides more toy to play with  :)

It was one of the first things I "ported" (back) to Amiga and it is a true gem.
« Last Edit: January 10, 2024, 07:10:15 pm by TRon »
This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2269
  • Fifty shades of code.
    • Delphi & FreePascal
Re: internal Module playback
« Reply #7 on: January 11, 2024, 02:32:31 am »
Thank you for sharing hukka. Especially concerning FC

@KodeZwerg:
* TRon stupid2  :-[

Look for tralala from FPC dev nickysn. It provides more toy to play with  :)

It was one of the first things I "ported" (back) to Amiga and it is a true gem.
I am speechless! Thats more than I was expecting, I just read a little and I am shocked, its 100% more than I was asking for, thats a complete suite, player, tracker, zip support and way more +++
SID from hukka is amazing cool, reminds me on my youngest ages playing with commodore-64 <3

Thank you both for your endless cool support!!!
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

TRon

  • Hero Member
  • *****
  • Posts: 3623
Re: [SOLVED] internal Module playback
« Reply #8 on: January 11, 2024, 04:03:57 am »
@Kodewerg:
Enjoy !  :)

Quote
Thats more than I was expecting, ...
I am more or less expecting that in the end you come to the conclusion that there is that one module (format) that you want to play that is not covered by an already existing pascal implementation ;D

This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

Key-Real

  • Sr. Member
  • ****
  • Posts: 372
Re: [SOLVED] internal Module playback
« Reply #9 on: July 20, 2024, 12:30:06 am »

 

TinyPortal © 2005-2018