Author Topic: Bundle and Play XM File As Resource  (Read 3682 times)

sinsi

  • Member
  • *****
  • Posts: 1050
Off topic
« Reply #30 on: November 24, 2017, 08:23:05 PM »
Quote
Honestly, you don't appear to have life for IT, but you are really good at judging people.
Don't get many better examples of irony than this  :t
I can walk on water but stagger on beer.

AW

  • Member
  • *****
  • Posts: 1296
  • Let's Make ASM Great Again!
Re: Off topic
« Reply #31 on: November 24, 2017, 09:35:33 PM »
Quote
Honestly, you don't appear to have life for IT, but you are really good at judging people.
Don't get many better examples of irony than this  :t

As Confucio said, when a wise man points at the moon the fool looks at the finger .  :t

dedndave

  • Member
  • *****
  • Posts: 8789
  • Still using Abacus 2.0
    • DednDave
Re: Bundle and Play XM File As Resource
« Reply #32 on: November 24, 2017, 10:21:17 PM »
good to hear from you, as always, Marinus

The XM file format is probably not what you want for ham radio stuff.

yah - but the wave functions may be useful for generating morse code   :P
i know you are thinking received audio, SDR, DSP, etc

Do you have an ASIO sound card?

no - well, not that i know of
i have a new machine in a box i haven't opened yet
i have to move some things around to make space
no time to play, lately  :(

Siekmanski

  • Member
  • *****
  • Posts: 1484
Re: Bundle and Play XM File As Resource
« Reply #33 on: November 25, 2017, 02:23:24 AM »
 :t
Creative coders use backward thinking techniques as their strategy.

DavidB

  • Regular Member
  • *
  • Posts: 17
Re: Off topic
« Reply #34 on: November 25, 2017, 06:20:00 AM »
Quote
Honestly, you don't appear to have life for IT, but you are really good at judging people.
Don't get many better examples of irony than this  :t
Yeah, that's what I was thinking too. :greenclp: But at least he was helpful. His Visual Studio project has been very useful even though it doesn't open properly.


Quote
Honestly, you don't appear to have life for IT, but you are really good at judging people.
Don't get many better examples of irony than this  :t

As Confucio said, when a wise man points at the moon the fool looks at the finger .  :t
Aww, come on now. What's wrong with pointer variables? They can be quite useful!  :lol:

DavidB

  • Regular Member
  • *
  • Posts: 17
Re: Bundle and Play XM File As Resource
« Reply #35 on: November 25, 2017, 09:54:15 AM »
I was finally able to get the XM file to play as part of my program. I want to thank everyone who contributed. Even those of you whom I don't get along very well with.

I am now trying add a WAV file that I want to have play. To do this, I am trying to "invoke PlaySound...", but I am getting an "undefined symbol: PlaySound" error. I tried resolving this by adding "include winmm.inc" (I have winmm.lib configured in the linker, so I don't have the "includelib" line for that.) This resolved the undefined symbol error, but now I have a bunch of "label clash" warnings and two errors:

Code: [Select]
undefined symbol : SND_ASYNC
INVOKE argument type mismatch : argument : 3

This is the PlaySound line that I am trying to test with.
Code: [Select]
invoke PlaySound,NULL,NULL,SND_ASYNCI realize that this will not actually play any sound, but I want to get the program to at least assemble before I worry about that.

jj2007

  • Member
  • *****
  • Posts: 8432
  • Assembler is fun ;-)
    • MasmBasic
Re: Bundle and Play XM File As Resource
« Reply #36 on: November 25, 2017, 03:41:15 PM »
What do you get from a forum search for PlaySound?

DavidB

  • Regular Member
  • *
  • Posts: 17
Re: Bundle and Play XM File As Resource
« Reply #37 on: November 25, 2017, 03:43:53 PM »
What do you get from a forum search for PlaySound?
Nothing useful I'm afraid. I'm under the impression that whatever the problem is, uFMOD is the culprit.

Vortex

  • Member
  • *****
  • Posts: 1795
Re: Bundle and Play XM File As Resource
« Reply #38 on: November 25, 2017, 07:38:46 PM »
Hi DavidB,

Reading \masm32\include\windows.inc :

Code: [Select]
SND_ASYNC equ 1h

LiaoMi

  • Member
  • **
  • Posts: 235
Re: Bundle and Play XM File As Resource
« Reply #39 on: November 25, 2017, 08:29:44 PM »
Hi everybody,

I was looking in Google for a library miniufmod x64, which can be integrated into projects on x64 bit systems. There were many topics with a similar question, I believe that there is no such version, but can I find somewhere the source code of the miniufmod library?!

Siekmanski

  • Member
  • *****
  • Posts: 1484
Re: Bundle and Play XM File As Resource
« Reply #40 on: November 25, 2017, 09:30:51 PM »
Hi LiaoMi,

Are you sure it is named miniufmod? couldn't find anything other than ufmod.

https://sourceforge.net/projects/ufmod/files/latest/download

Creative coders use backward thinking techniques as their strategy.

LiaoMi

  • Member
  • **
  • Posts: 235
Re: Bundle and Play XM File As Resource
« Reply #41 on: November 25, 2017, 11:02:20 PM »
Hi LiaoMi,

Are you sure it is named miniufmod? couldn't find anything other than ufmod.

https://sourceforge.net/projects/ufmod/files/latest/download

Hi,

yes  :biggrin:, I was wrong in the name, everything mixed together, correct name minifmod  :icon_exclaim: here from this company https://www.fmod.com

Siekmanski

  • Member
  • *****
  • Posts: 1484
Re: Bundle and Play XM File As Resource
« Reply #42 on: November 26, 2017, 12:17:52 AM »
For the free option you need to register for the fmod.dll and  only use it in one production per year.  :(
Creative coders use backward thinking techniques as their strategy.