English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 11 October 2020, 13:05   #1
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 386
Cool MOD player library

Hi there


Is there a lightweight protracker MOD music player library anyone can recommend that I can use to play background music in my Amiga app I'm developing in C? Or is it better to just make my program execute a command line MOD player in the background? Either way I'd need a solution compatible with Kickstart 1.3 and above and as memory light as possible.


Thanks so much guys! <3
Nightfox is offline  
Old 11 October 2020, 15:31   #2
a/b
Registered User
 
Join Date: Jun 2016
Location: europe
Posts: 1,039
Did you try phx's player in minimalistic mode? It'll strip off the master volume code+tables (that's 4KB+), plus the sfx stuff, and probably a few other things. Not sure how far is that from your requirements, though...
a/b is offline  
Old 11 October 2020, 18:14   #3
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 386
I haven't tried this no. Is this the best way to add MOD support to an Amiga app? My requirements aren't super strict. I'm developing a brand new disk magazine engine and I'd like it to run on the Amiga 500 with 512k expansion as a minimum
Nightfox is offline  
Old 11 October 2020, 22:55   #4
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Quote:
Originally Posted by Nightfox View Post
Is this the best way to add MOD support to an Amiga app? My requirements aren't super strict. I'm developing a brand new disk magazine engine and I'd like it to run on the Amiga 500 with 512k expansion as a minimum
My player is mainly intended for games or demos, which take over the machine. I cannot recommend it for OS-compliant apps.
phx is offline  
Old 12 October 2020, 02:12   #5
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,187
Quote:
Originally Posted by Nightfox View Post
Hi there


Is there a lightweight protracker MOD music player library anyone can recommend that I can use to play background music in my Amiga app I'm developing in C? Or is it better to just make my program execute a command line MOD player in the background? Either way I'd need a solution compatible with Kickstart 1.3 and above and as memory light as possible.


Thanks so much guys! <3
For a shared library, http://aminet.net/package/mus/play/ptreplay66 might be your best option. It has a few extra features compared to some but is system-friendly.
Samurai_Crow is offline  
Old 12 October 2020, 13:07   #6
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 386
Quote:
Originally Posted by Samurai_Crow View Post
For a shared library, http://aminet.net/package/mus/play/ptreplay66 might be your best option. It has a few extra features compared to some but is system-friendly.



Thanks so much! This one looks perfect for my needs!
Nightfox is offline  
Old 20 October 2020, 09:22   #7
thyslo
Registered User
 
Join Date: Apr 2018
Location: Germany
Posts: 189
Quote:
Originally Posted by Samurai_Crow View Post
For a shared library, http://aminet.net/package/mus/play/ptreplay66 might be your best option. It has a few extra features compared to some but is system-friendly.
Many thanks also from me! Was looking for something like that for quite a while.

Unfortunately I'm having a problem with ptreplay.library when using it with bebbos gcc. With SAS-C it works fine, 'though. I've created a new thread for not to spoil this one.
thyslo is offline  
Old 20 October 2020, 09:27   #8
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 386
I haven't tested the library yet but I use the C/C++ Visual Studio Code extension as my dev environment and I have full confidence it will work
Nightfox is offline  
Old 20 October 2020, 09:37   #9
thyslo
Registered User
 
Join Date: Apr 2018
Location: Germany
Posts: 189
Yeah I'm also using VSCode for bebbos gcc 6.5. And it does compile and create a binary. When starting the binary the mod playback starts and plays fine but it somehow gets stucked in PTPlay(). Maybe I've just used fd2pragma the wrong way to create the headers for gcc. Thats my question on the other thread.
thyslo is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
AHX player library MickGyver Coders. Blitz Basic 1 29 November 2022 08:42
FAT Player MikMod v5 (amiga mod player for Nintendo DS) spajdr Amiga scene 0 14 August 2008 21:55
OSX Mod Player? chiark project.Mods Jukebox 5 10 February 2008 20:35
Good MOD player??? BobRedthorp request.Apps 25 03 September 2003 22:27
GBA mod player Amiga1992 Nostalgia & memories 2 26 August 2002 15:25

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:36.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07665 seconds with 15 queries