Jump to content


Photo

Oddio - Plays MP3, OGG, WAV, AIFF, MOD, XM


  • Please log in to reply
35 replies to this topic

#21 The2Banned2One

The2Banned2One

    BANNED

  • GMC Member
  • 225 posts
  • Version:GM:Studio

Posted 27 October 2012 - 11:46 AM

Do you know if this works with Studio? I'm looking for a way to play .ogg files in Studio, can't use mp3s since I want to adjust the sound volume min-play which you can't do with mp3s. Thanks.


It works on Windows with Studio.
  • 1

#22 Hello Darren

Hello Darren

    Pirate

  • Banned Users
  • 275 posts
  • Version:Unknown

Posted 27 October 2012 - 04:23 PM

Thanks I'll check it out now!

edit
Works great!

Edited by Hello Darren, 27 October 2012 - 05:39 PM.


#23 pekemp

pekemp

    GMC Member

  • GMC Member
  • 18 posts

Posted 29 October 2012 - 09:08 PM

Great work and easy to use :smile: But how do i tell to GM that both Oddio.dll and bass.dll settles in a specified directory?

I was trying this in oddio_init:
dll = working_directory+"\libs\Oddio.dll"

It can find Oddio, perhaps, but not bass. Setting both to game working directory works fine, but if both are in libs directory i got error message "Error defining an external function." :rolleyes:

Edited by pekemp, 29 October 2012 - 09:22 PM.

  • 0

#24 The2Banned2One

The2Banned2One

    BANNED

  • GMC Member
  • 225 posts
  • Version:GM:Studio

Posted 30 October 2012 - 01:58 AM

It can find Oddio, perhaps, but not bass. Setting both to game working directory works fine, but if both are in libs directory i got error message "Error defining an external function." :rolleyes:


If you keep bass.dll in the working directory and specify the path to Oddio.dll which is in another directory does it work?
I will look into this problem and try to fix it if possible.
  • 0

#25 Hello Darren

Hello Darren

    Pirate

  • Banned Users
  • 275 posts
  • Version:Unknown

Posted 30 October 2012 - 11:15 AM

I'm having a similar problem when uploading the game to Steam Workshop. It works fine in the Studio versions of Steam and stand-alone, but when I try and play the game through the Steam Workshop I get an error saying it can't find the Bass.dll and an error defining external function after it.

Note the Steam version of Studio has a checkbox in each included file, I've made sure to check the Steam Workshop box. I'll make a new topic in the Studio forum asking if anybody has gotten DLLs to work in Workshop as this might be a wider problem with Studio rather than your DLL.

Posted Image

Other than that your DLL has worked flawlessly so big thanks! Although it would be nice if there was an option to change the pitch of a sound like in Caster.

#26 pekemp

pekemp

    GMC Member

  • GMC Member
  • 18 posts

Posted 30 October 2012 - 01:48 PM

If you keep bass.dll in the working directory and specify the path to Oddio.dll which is in another directory does it work?

Seems to be working in that case.

Edited by pekemp, 30 October 2012 - 01:50 PM.

  • 0

#27 The2Banned2One

The2Banned2One

    BANNED

  • GMC Member
  • 225 posts
  • Version:GM:Studio

Posted 30 October 2012 - 08:44 PM

I will look into the problems described above.

Oddio 1.3 has been released. You can now get and set the speed of a MOD track. Download it from the first post.

EDIT:
Oddio 1.4 has been released. You can now slide attributes of tracks. Download it and see details of the new functions in the the first post.

Edited by The2Banned2One, 30 October 2012 - 09:03 PM.

  • 0

#28 Αnt

Αnt

    GMC Member

  • GMC Member
  • 52 posts
  • Version:GM:Studio

Posted 31 October 2012 - 05:17 PM

Thanks for this, I was struggling to find an audio dll that's actively updated. I'm getting the bass error in Workshop mentioned earlier too. Also when using oddio_stop for ogg files it will no longer play again, instead I have to use pause and set the position to the start. Just a minor quibble here too though I don't know if it's the way it is for technical reasons; it would be nice if you didn't have to choose between oddio_loadbin and oddio_loopbin, instead that decision is made when playing the file. It would mean I could use the same variable when loading the file.
  • 0

#29 The2Banned2One

The2Banned2One

    BANNED

  • GMC Member
  • 225 posts
  • Version:GM:Studio

Posted 31 October 2012 - 08:47 PM

Just a minor quibble here too though I don't know if it's the way it is for technical reasons; it would be nice if you didn't have to choose between oddio_loadbin and oddio_loopbin, instead that decision is made when playing the file. It would mean I could use the same variable when loading the file.


It's the way Bass works, but I can possibly make a function that changes it from looping to only once and vice versa.
  • 0

#30 JWRAC

JWRAC

    GMC Member

  • GMC Member
  • 562 posts
  • Version:GM:Studio

Posted 01 November 2012 - 08:27 AM

DLL causes GM:Studio to hang when trying to free memory.
Try both track and DLL freeing, may have issues with both.
  • 0

#31 The2Banned2One

The2Banned2One

    BANNED

  • GMC Member
  • 225 posts
  • Version:GM:Studio

Posted 01 November 2012 - 08:28 PM

DLL causes GM:Studio to hang when trying to free memory.
Try both track and DLL freeing, may have issues with both.


I am aware of this. It is only with certain track types though.
I will try to fix it. It isn't that big of an issue.
  • 0

#32 JWRAC

JWRAC

    GMC Member

  • GMC Member
  • 562 posts
  • Version:GM:Studio

Posted 03 November 2012 - 11:10 AM

Not being able to free memory consumption isn't that big of an issue.

Oh, okay. Cool.
Anyway, if anyone is looking for an OGG player that will work with GM:Studio, that works, like it should, try this:
http://gmc.yoyogames.com/index.php?showtopic=506072

It's OpenAL so I'm pretty sure it doesn't need a licence.
  • 0

#33 HayManMarc

HayManMarc

    The HayMan

  • GMC Member
  • 447 posts
  • Version:GM8.1

Posted 19 November 2012 - 05:30 AM

What do I do with the Oddio.gml file?
  • 0

#34 fantastichumore

fantastichumore

    GMC Member

  • GMC Member
  • 117 posts
  • Version:GM8

Posted 24 November 2012 - 09:36 AM

AMAZING!!! I'll use it and credit you :)
  • 0

#35 GothSeiDank

GothSeiDank

    GMC Member

  • GMC Member
  • 137 posts
  • Version:GM:Studio

Posted 03 December 2012 - 10:46 AM

Good stuff mate. But you should note that if one makes commercial games, a license for BASS is needed.

Edited by GothSeiDank, 03 December 2012 - 10:46 AM.

  • 0

#36 7ravenstudios

7ravenstudios

    GMC Member

  • GMC Member
  • 73 posts
  • Version:GM:Studio

Posted 04 April 2013 - 09:03 AM

Oddio work only on windows or can work for other platforms like iOS/Android ?


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users