Monkey 2 Sample App and Audio Issues!

About Monkey 2 Forums Monkey 2 Programming Help Monkey 2 Sample App and Audio Issues!

This topic contains 4 replies, has 2 voices, and was last updated by  APC 2 years, 3 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6422

    APC
    Participant

    Hello Mark and Monkey 2 Team,

    I started this project with the purpose of making a tutorial programmers new to Monkey 2 and also to test it.

    The attached project “gamepad.zip” includes a game pad that can be controlled by keyboard, mouse and Touch Screen.

    The game pad controls a dragon flying on the screen.

    it also has audio and here I found an issue, it only plays .Ogg Vorbis Audio format, I tried mp3, wav and m4a.

    Ogg has also issues, the same file plays fine in all players in my computer, but on the Monkey 2 audio the rate is slower and it does not play the entire file.

    Please take a look and make comment in case I did something wrong.

    #6427

    Mark Sibly
    Keymaster

    The .ogg issue is my fault – fix coming soon!

    Supported formats should be .wav and .ogg. If you have a dud .wav file can you send it to me?

    You can test files in the IDE – just open the file from the ‘Open…’ menu or via the project treeview.

    I’m interested in adding more audio formats but, like video, they need to be patent etc. free – any ideas?

    Is FLAC a good choice for compressed/loseless audio? I guess this’d make it the audio equivalent of png, while ogg is the equivalent of jpg?

    #6438

    APC
    Participant

    Mark attached is the intro.wav you asked and four audio files for the dragon_wings, in the IDE the dragon_wings gives an I/O read error, but in other players I have it plays fine, such as Audacity , Windows Media Player and iTunes.

    II use Audacity http://www.audacityteam.org/download/ to convert file formats, some may require a codec.

    I don’t see  FLAC as a popular for mat, but it does not hurt to add it to the list, the priority for this is low in my opinion.

    My suggestions for the the audio formats supported by Monkey 2 should be, OGG, MP3, WAV and M4A

    For Video JPG, MP4 and MOV

    #6442

    APC
    Participant

    Here is the intro.wav, it did not fit in the previous post.

    #6443

    APC
    Participant

    Mark,  intro.wav, intro.mp3 and intro.m4a are bigger than 512K, I sent you a google drive share link to your blitzmunter e-mail.

    By the way there are some debug printing when the audio is active:

    Active channels=1
    Active channels=2
    Active channels=3
    Active channels=4
    Active channels=5
    Active channels=6

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.