flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > uFMOD - XM player library

Goto page Previous  1, 2, 3, 4, 5  Next
Author
Thread Post new topic Reply to topic
RedGhost



Joined: 18 May 2005
Posts: 443
Location: BC, Canada
RedGhost 15 Dec 2006, 21:28
You have not defined main( ) even, if you're trying to make a GUI programme you have it set to build a console application, I would also consider building in release mode not debug.

Also, checking ufmod not only does it come with a visual studio project for the C example it has a pre-compiled binary.

_________________
redghost.ca
Post 15 Dec 2006, 21:28
View user's profile Send private message AIM Address MSN Messenger Reply with quote
sylwek32



Joined: 27 Apr 2006
Posts: 339
sylwek32 15 Dec 2006, 22:16
hey redghost.. maybe you haven't saw i dont want to compile ufmod but libv2m from farbrausch..
Post 15 Dec 2006, 22:16
View user's profile Send private message Reply with quote
RedGhost



Joined: 18 May 2005
Posts: 443
Location: BC, Canada
RedGhost 15 Dec 2006, 22:40
sylwek32 wrote:
hey redghost.. maybe you haven't saw i dont want to compile ufmod but libv2m from farbrausch..


You are trying to call functions from libv2.lib without linking with it..... Just like I said before, #pragma comment( lib, "lib you need" )..

if mainCRTStartup already exists in libc, how can you declare it in your tinyplayer, also change mainCRTStartup to main.

_________________
redghost.ca
Post 15 Dec 2006, 22:40
View user's profile Send private message AIM Address MSN Messenger Reply with quote
Quantum



Joined: 24 Jun 2005
Posts: 122
Quantum 15 Dec 2006, 22:55
Public V2 lib has a lot of bugs not present in private version. It seems private version won't become public and it's a real pity.


Description: VC6 sample project
Download
Filename: v2mplayer.7z
Filesize: 27.92 KB
Downloaded: 780 Time(s)

Post 15 Dec 2006, 22:55
View user's profile Send private message Reply with quote
sylwek32



Joined: 27 Apr 2006
Posts: 339
sylwek32 16 Dec 2006, 16:02
Thanks!
Post 16 Dec 2006, 16:02
View user's profile Send private message Reply with quote
kohlrak



Joined: 21 Jul 2006
Posts: 1421
Location: Uncle Sam's Pad
kohlrak 16 Dec 2006, 17:25
I've had this problem before. It's when you include the source file in either the header or source section of a project (i forget which one) and include an #include for it. For some reson it automatically includes such sections TWICE, which cause it to say it's already defined. You might be able to fix this problem if you call a pragma once, but i can't promise anything... Anyway, does anyone have some documentation on the XM format?
Post 16 Dec 2006, 17:25
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger Reply with quote
Quantum



Joined: 24 Jun 2005
Posts: 122
Quantum 16 Dec 2006, 21:15
kohlrak wrote:
Anyway, does anyone have some documentation on the XM format?

http://www.wotsit.org/search.asp?page=8&s=music

I'm going to release a more detailed version of this document later (including ADPCM stuff and stripped XM specific issues).
Post 16 Dec 2006, 21:15
View user's profile Send private message Reply with quote
kohlrak



Joined: 21 Jul 2006
Posts: 1421
Location: Uncle Sam's Pad
kohlrak 17 Dec 2006, 20:55
Thank you.. Oddly enough the ufmod xm files don't work with winamp... Oh well...
Post 17 Dec 2006, 20:55
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger Reply with quote
Quantum



Joined: 24 Jun 2005
Posts: 122
Quantum 18 Dec 2006, 14:50
The documentation advises not to convert regular XM files you might want to play in any other player, like WinAmp. The good news is the possibility to cleanup a regular XM file(s), without stripping. That's what the -c option is intended for in latest release. You can even "recover" an already stripped file using this option.
Post 18 Dec 2006, 14:50
View user's profile Send private message Reply with quote
kohlrak



Joined: 21 Jul 2006
Posts: 1421
Location: Uncle Sam's Pad
kohlrak 19 Dec 2006, 06:05
But shouldn't those other players be able to play these "regular xm files"? Or do i have it the other way around?
Post 19 Dec 2006, 06:05
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger Reply with quote
Quantum



Joined: 24 Jun 2005
Posts: 122
Quantum 19 Dec 2006, 13:59
Of course. A recovered XM file or a cleaned up one (but not stripped) is completely standard XM file format compliant. So, any XM player should be able to play it. We've tested MPP, MPT and XMPlay33. You mean winamp doesn't play any of this kind of files or just a particular one? If so, please, send me that file (ufmod at users dot sf dot net).
Post 19 Dec 2006, 13:59
View user's profile Send private message Reply with quote
kohlrak



Joined: 21 Jul 2006
Posts: 1421
Location: Uncle Sam's Pad
kohlrak 19 Dec 2006, 21:38
it's the xm file that came with ufmod, so if it's standard then why dosn't it play in winamp? that's my question.
Post 19 Dec 2006, 21:38
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger Reply with quote
Quantum



Joined: 24 Jun 2005
Posts: 122
Quantum 20 Dec 2006, 00:46
mini.xm (SofT MANiAC's Minimal III) is stripped, but you can "recover" it with "xmstrip -c" or from the GUI in order to play it in WinAmp.
Post 20 Dec 2006, 00:46
View user's profile Send private message Reply with quote
Quantum



Joined: 24 Jun 2005
Posts: 122
Quantum 22 Dec 2006, 03:09
v1.20 for Linux released. Featuring ALSA support. XMStrip for Linux complete source code released on SVN. Enjoy!

Release notes: http://sourceforge.net/project/shownotes.php?release_id=473107&group_id=158498
Post 22 Dec 2006, 03:09
View user's profile Send private message Reply with quote
Quantum



Joined: 24 Jun 2005
Posts: 122
Quantum 13 Jan 2007, 17:02
Vasilev Vjacheslav wrote:
try to play this xm in you favourite player and in ufmod (with default lib, not recompiled), music is different

OK, we finally managed to fix it! uFMOD engine is evolving and the latest test version is able to play this file correctly. It offers some new features as well:

Square wave portas support in Tremolo, Vibrato and Autovibrato.
Supporting very rare XM tracks with more than 32 channels.
Using much less RAM (about 120Kb less), than previous engine.

We'll release it soon.
Post 13 Jan 2007, 17:02
View user's profile Send private message Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav 14 Jan 2007, 09:16
thanks, i'm waiting Wink
Post 14 Jan 2007, 09:16
View user's profile Send private message Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav 20 Jan 2007, 10:41
Quantum, hey, what's news?
Post 20 Jan 2007, 10:41
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 20 Jan 2007, 14:52
Quantum wrote:

Using much less RAM (about 120Kb less), than previous engine.

We'll release it soon.


So how much memory does it actually require?

P.S. Kudos on your hard work! You rock! Smile
Post 20 Jan 2007, 14:52
View user's profile Send private message Visit poster's website Reply with quote
Quantum



Joined: 24 Jun 2005
Posts: 122
Quantum 20 Jan 2007, 18:00
2 Vasilev Vjacheslav:
Well, I'm currently working on OpenAL support and QA and testing is in standby, since Asterix is recovering from a cold. Chances are it whould be ready by monday.

2 rugxulo:
I forgot to mention that it has to do only with WINMM version. DirectSound's new engine uses less memory too, but not that much Smile As for how much memory it actually requieres, it depends on mixing rate, output driver (WINMM, DirectSound or OpenAL) and the XM's data. For example, an XM file sometimes unpacks to about 4 times it's original size in memory, + some static memory for buffering @ 48KHz, + internal mixer's buffers, + some overhead data required by uFMOD. The overhead is what we try to minimize.
Post 20 Jan 2007, 18:00
View user's profile Send private message Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav 01 Feb 2007, 12:53
sorry, on which monday? Smile
Post 01 Feb 2007, 12:53
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4, 5  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.