Recent

Author Topic: Future Composer Player  (Read 2745 times)

TRon

  • Hero Member
  • *****
  • Posts: 3756
Re: Future Composer Player
« Reply #15 on: November 28, 2024, 03:27:44 am »
Mysticism. ...
Strange... The native player from hukka does not seem to have the same issue... makes me wonder If I'm doing something strange there  :-\

I really was unable to locate any documentation other than the 3 examples and mention of the stock and plain explanation of what a function does (which all doesn't explain anything or make things more clear. The function names themselves are good enough to figure that out  :) ). Even the rust wrapper docs did not provide additional information so I'm afraid that I'm not able to improve things.
I do not have to remember anything anymore thanks to total-recall.

hukka

  • New Member
  • *
  • Posts: 36
    • Github
Re: Future Composer Player
« Reply #16 on: November 28, 2024, 03:43:27 pm »
It will take me some time (need to find a free spot) but if wanted it would be possible to rewrite the example to use sndio, openal portaudio and/or raudio instead (not to mention that hukka's code should be cleaned up and re-organized further in order to make it more manageable).

Indeed, it was written to be a part of a 2D game/demomaking framework that I was working on and I never got around to cleaning it (or the other native replayers) up for proper release without dependencies. Also credit for the replayer goes to 8bitbubsy who wrote the original in C.

Guva

  • Full Member
  • ***
  • Posts: 122
Re: Future Composer Player
« Reply #17 on: December 07, 2024, 04:42:57 am »
Patch version, added several functions and cmake

Code: Pascal  [Select][+][-]
  1.  
  2.   fc14dec_get_used_patterns: function(decoder: pointer): Integer;
  3.   fc14dec_get_used_snd_mod_seqs: function(decoder: pointer): Integer;
  4.   fc14dec_get_used_vol_mod_seqs: function(decoder: pointer): Integer;
  5.   fc14dec_get_sample_length: function(decoder: pointer; qual: Cardinal): Integer;
  6.   fc14dec_get_sample_rep_offset: function(decoder: pointer; qual: Cardinal): Integer;
  7.   fc14dec_get_sample_rep_length: function(decoder: pointer; qual: Cardinal): Integer;
  8.   fc14dec_mute_channel: procedure(ptr: Pointer; mute: Boolean; qual: Cardinal);
  9.   fc14dec_get_channel_volume: function(ptr: Pointer; qual: Cardinal): Word;
  10.  
  11.  

 

TinyPortal © 2005-2018