playing sounds on turbo c++/pascal - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

playing sounds on turbo c++/pascal

dolev9dolev9 Posts: 147Member
well - im learning to make sounds on these old compiling systems and i found something that called DMA channel.
it determines the port i should sent the data to them to make the sound plaster playing a block of memory. in my computer my blaster tells me i need to use dma channel number one.

since i want to know what am i doing there and does not want to just remember it all i would like to know few things.

1)what is DMA channel?
2)can anybody send me list of possible commands to the dma ports, so i would how to use them (i got some short explenation but not a list of all the options i can set in).


by the way - anybody got any link to page that explanes the mp3 format or all the wav versions(i know how to read wav but not all of the wav files fit my wav header).



i can read pascal c++ or assembler so explenations and examples in these languages would be granted.

thank you
dolev

Comments

  • GaashiusGaashius Posts: 349Member
    : well - im learning to make sounds on these old compiling systems and i found something that called DMA channel.
    : it determines the port i should sent the data to them to make the sound plaster playing a block of memory. in my computer my blaster tells me i need to use dma channel number one.
    :
    : since i want to know what am i doing there and does not want to just remember it all i would like to know few things.
    :
    : 1)what is DMA channel?
    : 2)can anybody send me list of possible commands to the dma ports, so i would how to use them (i got some short explenation but not a list of all the options i can set in).
    :
    :
    : by the way - anybody got any link to page that explanes the mp3 format or all the wav versions(i know how to read wav but not all of the wav files fit my wav header).
    :
    :
    :
    : i can read pascal c++ or assembler so explenations and examples in these languages would be granted.
    :
    : thank you
    : dolev
    :
    Well due to my english I wouldn't fall in long "stories" :-) so here:
    http://www.ecscolorado.com/faqs/dmachannel.htm
    http://216.239.59.104/search?q=cache:D64vdS-fYhIJ:www.analog.com/UploadedFiles/Associated_Docs/180512028fum_Chapter_11.pdf+"DMA+ports"&hl=hu
    http://mpgedit.org/mpgedit/mpeg_format/MP3Format.html
    http://replaygain.hydrogenaudio.org/wav_format.txt
    ****************
    Any questions? Just ask!

    :-) [b][blue]GAASHIUS[/blue][/b] :-)


  • dolev9dolev9 Posts: 147Member
    [b][red]This message was edited by dolev9 at 2005-7-22 6:26:56[/red][/b][hr]
    GREAT

    thanks but half of the links does not work.


    but 3 did:
    one link explained very well the DMA channels.
    one link explained the wav,
    and another one explained the jpeg.
    but yet i dont have the mp3 one... )-:

    anyway - thanks

    dolev


  • GaashiusGaashius Posts: 349Member
    : [b][red]This message was edited by dolev9 at 2005-7-22 6:26:56[/red][/b][hr]
    : GREAT
    :
    : thanks but half of the links does not work.
    :
    :
    : but 3 did:
    : one link explained very well the DMA channels.
    : one link explained the wav,
    : and another one explained the jpeg.
    : but yet i dont have the mp3 one... )-:
    :
    : anyway - thanks
    :
    : dolev
    :
    :
    :
    For me all of the links worked - I use Firefox, maybe this causes the prob'.

    ****************
    Any questions? Just ask!

    :-) [b][blue]GAASHIUS[/blue][/b] :-)


  • rezafmohamadrezafmohamad Posts: 1Member
    : [b][red]This message was edited by dolev9 at 2005-7-22 6:26:56[/red][/b][hr]
    : GREAT
    :
    : thanks but half of the links does not work.
    :
    :
    : but 3 did:
    : one link explained very well the DMA channels.
    : one link explained the wav,
    : and another one explained the jpeg.
    : but yet i dont have the mp3 one... )-:
    :
    : anyway - thanks
    :
    : dolev
    :
    :
    :

Sign In or Register to comment.