C/C++ sound/music programming - 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.

C/C++ sound/music programming

Gregry2Gregry2 Posts: 607Member
I have absolutely no idea where to start on this. I think there are a number of platforms, methods, i really am not sure, can someone point me where to start for this? The only sound programming expirence i have is in java's javax.sound package which is really simple, so please, something with C/C++ (better if only ANSI C, like an API) and other things.

thanx
{2}rIng

Comments

  • cbodapaticbodapati Posts: 65Member
    :something with C/C++ (better if only ANSI C, like an API) and other :things.

    hi 2ring,

    do u know windows programming? you have a some sound api's there.

    Regs,
    srikanth.
  • Gregry2Gregry2 Posts: 607Member

    : do u know windows programming? you have a some sound api's there.

    I guess, I didn't know that...I'll look it up.

    Anything cross-platform though, like a library or something?

    Thanx man.
    {2}rIng

  • cbodapaticbodapati Posts: 65Member
    : I guess, I didn't know that...I'll look it up.
    : Anything cross-platform though, like a library or something?
    :
    : Thanx man.
    : {2}rIng


    Do u know OpenAL, I think its cross platform..... not sure:-)

    Regards
    srikanth

  • Gregry2Gregry2 Posts: 607Member

    : Do u know OpenAL, I think its cross platform..... not sure:-)

    Hm, thought so, along the lines of a relative name to OpenGL...
    I'll search it up. Thanx
    {2}rIng

    PS. you reply quick! Thanx a million for it.
  • SephirothSephiroth Fayetteville, NC, USAPosts: 1,035Member
    :
    : : Do u know OpenAL, I think its cross platform..... not sure:-)
    :
    : Hm, thought so, along the lines of a relative name to OpenGL...
    : I'll search it up. Thanx
    : {2}rIng
    :
    : PS. you reply quick! Thanx a million for it.
    :

    I use OpenAL, as does Epic Games simply because it is cross-platform. It runs under Linux and Win32, and even Mac. You can find information on it at the OpenAL site, which I forget at the moment.

    -[italic][b][red]S[/red][purple]e[/purple][blue]p[/blue][green]h[/green][red]i[/red][purple]r[/purple][blue]o[/blue][green]t[/green][red]h[/red][/b][/italic]

  • Gregry2Gregry2 Posts: 607Member
    :
    : -[italic][b][red]S[/red][purple]e[/purple][blue]p[/blue][green]h[/green][red]i[/red][purple]r[/purple][blue]o[/blue][green]t[/green][red]h[/red][/b][/italic]
    :
    :
    Sephiroth is my favorite bad guy in all Final Fantasy!

    {2}rIng
  • KrishnaPGKrishnaPG Posts: 1Member
    Typically programming with third party platform compatible libraries is the way to start with. Libraries such as RTMidi, JDKMidi etc...

    JDKMidi is better than RTMidi in its capabilities. If you wish to not learn about MIDI complexities, and purely want to concentrate on programming the Music, then you can consider the CFugue MusicNote library.

    CFugue is a high level Music Programming Library. This library makes it possible to play music notes directly from C/C++ programs, without ever having to deal with the low-level MIDI complexities. This library provides a beautiful abstraction that lets you concetrate on programming the music rather than worry about the MIDI nuances. Provides features that makes it possible to use this library directly from many platforms, including but not limited to ASP pages, .Net applications and even non-Windows based systems.

    For usage samples and further details, please refer to the documentation at http://cfugue.sourceforge.net/docs/html/index.html

    Using this library to play music is as easy as writing plain music notes. Just create a Player object and call the Play method on it supplying the Music notes to be played. Simple.

    Example Usage:
    [code]MusicNoteLib::Player player; // Create the Player Object
    player.Play("C D E F G A B"); // Play the Music Notes on the default MIDI output port[/code]
    With built-in support for both Carnatic and Western Music alike, this is the first and only one of its kind.

    If you wish to take part in building this world class library, join the CFugue project development team at: http://gopalakrishna.palem.in/CFugue.html

    Author: [link=http://gopalakrishna.palem.in/]Gopalakrishna Palem[/link]

    Web: [link=http://www.CineFxLabs.com]http://www.CineFxLabs.com[/link]

    Copyright (C) 2009 CineFx Digital Media Pvt. Ltd.
  • psikologpsikolog Posts: 1Member
    i didn't understand what you say
  • zoyamujaidzoyamujaid Posts: 2Member
    This post has been deleted.
  • zoyamujaidzoyamujaid Posts: 2Member
    This post has been deleted.
Sign In or Register to comment.