flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid
second question: you create console program, and use ReadConsole. For having it easier to parse the answer, use my FASMLIB. It handles some things for you (like conversion of string to number etc).
if you want windows GUI dialog, then AFAIK you have to create it yourself. But it will be just window containing editbox, not that big problem. (And even then you can use FASMLIB to convert numbers. In later version it will have routines to completely parse text in printf/scanf manner) |
|||
![]() |
|
Quantum
eskizo wrote: I tried using threads but it does not work. winmm!PlaySound can play only 1 wav at a time. You can use DirectSound to play 2 or more sound files simultaneously, apply effects, etc. You can find some examples in msdn and convert them to asm (not very hard). Or you can use a lib, like fmod.dll, if you don't want to use DirectSound... directly. |
|||
![]() |
|
Bambo
Try mciSendString.If you don't tell it to seperate the files it plays them together.At least in VB..
_________________ Please, excuse my english. |
|||
![]() |
|
karl
also try wavemix, microsoft's solution to this problem. http://www.vbexplorer.com/VBExplorer/sound2.asp
totally sucks. you can't do sound properly without directx. apparently there is a latency issue with wavemix: http://www.compuphase.com/wavemix.htm hrmf. |
|||
![]() |
|
karl
htmf. doesn't even seem to work properly. at this this example doesn't: http://www.programmersheaven.com/download/6794/download.aspx
not really... switches from one channel to another to accomodate multiple sounds. and cuts sound out too... arrghh! |
|||
![]() |
|
karl
how on earth did games work before directx??
|
|||
![]() |
|
karl
oo, this is good: http://www.geocities.com/SiliconValley/Way/3390/mnoise.html
summary: without directx you get bad audio (8-bit) and latency (delay from call and actual sound output). |
|||
![]() |
|
chaoscode
what about mixing the sound self?
use the valuse and add them, or sth else... (sin cos and these math things...) |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.