Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
73 user(s) are online (64 user(s) are browsing Forums)

Members: 1
Guests: 72

clint, more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
SDL_Mixer library doesn't support MIDI?
Quite a regular
Quite a regular


See User information
Is it possible to get around this somehow?

A port of FreeSerf is almost done but the music wont work without midi support for SDL_Mixer. would it be possible to implement an sdl module player instead of midi?

Better to contact Fredrik Wikström?

Resized Image

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Home away from home
Home away from home


See User information
Our sdl mixer is quite old.

What about using libtimidity instead ?

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Just can't stay away
Just can't stay away


See User information
@broadblues

Quote:

Our sdl mixer is quite old.


Not sure what you mean there. Version 1.2.12 is the latest version of SDL_mixer which will work with SDL 1.2. The next version after this one, SDL_Mixer 2.0, only works with SDL 2.0 which we do not have a port of yet.

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Just can't stay away
Just can't stay away


See User information
@Joeled

SDL_mixer has timidity support compiled in but in order to work it needs a timidity.cfg installed in either PROGDIR: or ENV: and AFAIK this file should point to an installed soundfont. Someone who is more familiar with timidity should be able to give better help.

Latest SDL_mixer also allows MIDI support through a library called FluidSynth which I've tried to port. I wrote the code for the AHI audio back end in it and even got it to compile but in order to work it needs a more or less complete and working port of glib which we do not have.

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Quite a regular
Quite a regular


See User information
@salass00 & Broadblues

Thanks!

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Quite a regular
Quite a regular


See User information
Simutrans and probably a bunch of other games used the usual sdl_mixer for midi years ago.

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Quite a regular
Quite a regular


See User information
The sound is working now but i m not sure i m satisfied the music. Were the original settlers music in midi?

AmigaOne X5000
Radeon HD 7700
Go to top
Re: SDL_Mixer library doesn't support MIDI?
Home away from home
Home away from home


See User information
@Joeled

Probably depended on platform, but on amiga it was almost certainly not midi (it runs of a few disks on an unmodedd a1200 IIRC) perhaps some kind of mod?

Music may not be original anyway for copyright reasons.


Go to top
Re: SDL_Mixer library doesn't support MIDI?
Quite a regular
Quite a regular


See User information
@broadblues

Yes, i think you´re right. Well, the game is playable now so its okay

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Not too shy to talk
Not too shy to talk


See User information
@salass00
Quote:
Latest SDL_mixer also allows MIDI support through a library called FluidSynth which I've tried to port. I wrote the code for the AHI audio back end in it and even got it to compile but in order to work it needs a more or less complete and working port of glib which we do not have.


Sorry to dig up an old thread, but this is the only place where I found the topic of fluidsynth.
Did you manage to finish what you were writing about?
There is a project fluidsynth-sans-glib which with a fork patch works on ASO4 and standard SDL-mixer.
FluidLite with a connection to SDL-Mixer-X also works but eats up resources terribly.
For simple playback of 2-3 instruments it even works . But there are some more sophisticated bumping is not usable.
SF is a very small 6MB.

Thanks for your help.

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Just can't stay away
Just can't stay away


See User information
@smarkusg

FluidSynth has been ported by BeWorld on MorphOS somes years ago (he even wrote a player named BePlayer with which you can select the SoundFont you want via a config file).

He also added FluidSynth support in OpenTTD (and ScummVM).

FluidSynth would be a really great addition to AmigaOS 4.1 (granted you have a powerful systme but you can chose to use a lesser qualitry soundfont if needed).

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: SDL_Mixer library doesn
Not too shy to talk
Not too shy to talk


See User information
@K-L

Thank you very much for the information.
I did not know that BeWorld has made a port to Morphos.
I will check in the evening on Morphos under QEMU how it works.

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Not too shy to talk
Not too shy to talk


See User information
@K-L

FluidSynth under Morphos is not built on FluidSynth on the basic version only on ....
Fluidsynth sans GLib - what I checked. As you wrote, it probably even requires a better machine than mine (QEMU) to work. Even Beworld writes that in the README to BePlayer about CPU problems.

Resized Image

I hope nobody gets offended about the Morphos screen on the AOS4 forum.
I have met people in the MorphOS community who are very good at helping each other regardless of which system they use. Greetings !!!


You wrote that it would be nice if there was a version of FluidSynth for AmigaOS 4.1
I'll try to send my test files I made some time ago to someone who has a x5000 if my expertiments work.... I will let you know
Greetings and thank you for your help

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Just can't stay away
Just can't stay away


See User information
@smarkusg

I'd be glad to test :)

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: SDL_Mixer library doesn't support MIDI?
Not too shy to talk
Not too shy to talk


See User information
@K-L

check pw message
let us know how it works. if it doesn't work well it was always worth a try/check.
Thank you so much for your time

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Home away from home
Home away from home


See User information
@smarkusg

Quote:
I hope nobody gets offended about the Morphos screen on the AOS4 forum.


Haha don't worry
Good luck with the port, i'm here if you need a tester

Go to top
Re: SDL_Mixer library doesn
Just popping in
Just popping in


See User information
@smarkusg

lol MorphOS screenshot here.... Ohhhh

Go to top
Re: SDL_Mixer library doesn
Just can't stay away
Just can't stay away


See User information
@beworld

You're welcome

@smarkusg

I've answered you

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: SDL_Mixer library doesn
Not too shy to talk
Not too shy to talk


See User information
Thank you @K-L ,@Samir and @McFly for checking !!!!
In my case as I wrote (QEMU) I have too weak FPU on FluidSynth*.

Here a video posted by @K-L for those interested in the topic
video - > https://video.amiga-ng.org/w/nMSZQ9ERiTzagXCrnYC8Xx

Go to top
Re: SDL_Mixer library doesn't support MIDI?
Just can't stay away
Just can't stay away


See User information
True indeed, FluidSynth is very FPU intensive (I do not think the A1222 will be able to handle MIDIs easily).

In order to correctly play some huge MIDI files, you will have to select samll SoundFonts on Sam460 for example, X1000 can handle bigger soundfonts.

--
AmigaONE X1000 and Radeon RX 560
Go to top

  Register To Post
(1) 2 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project