Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
General Discussion

How to make previews for multi-soundfile submissions?

qubodup
Tuesday, March 2, 2010 - 11:35
qubodup's picture

You have multiple audio files, .wav files perhaps. You want a to merge them into one mp3 file and add 0.2 seconds of silence. There is one piece of sofware that will do the concatenating for you: SOX. Install it. Then run:

sox *wav preview.mp3

Unfortunately this will not work if the original files had different depth (8bit/16bit/24bit) rate (22050/44100/48000/96000) and channels (1 aka mono/2 aka stereo). Also, as far as I know, only mp3 files with a rate of 44100 can be played back by the flash player. All this means that a script with temporary files needs to be created for special cases or that maybe another tool can be used, that takes care of the mentioned problems. (sox seems to not allow converting all input files in one step without naming each of them, for this reason you also can't add silence after each file).

Do you know another tool that can do this? Otherwise I'll provide a dirty bash file sooner or later

  • Log in or register to post comments
MaximB
joined 15 years 2 months ago
Thursday, March 4, 2010 - 11:38

I've submitted my first voice acting pack called "Drunk Dwarf" a few days ago, and a day later a "preview" of all my voices in this pack (from a .zip file) was made.

I didn't do it myself.

I assume the admins/mods done it OR it's done automatically...

Care to explain ?

 

  • Log in or register to post comments
qubodup
joined 16 years 1 month ago
Friday, March 5, 2010 - 01:51
qubodup's picture

I made it using above code :)

  • Log in or register to post comments
MaximB
joined 15 years 2 months ago
Friday, March 5, 2010 - 01:58

Nice...so it works with .ogg files as well ...

 

BTW I've uploaded a new pack with some add-ons a day later, if you want you can recreate it with the new added voices.

 

  • Log in or register to post comments
qubodup
joined 16 years 1 month ago
Friday, March 5, 2010 - 02:16
qubodup's picture

Are the new voices part of http://www.opengameart.org/content/drunk-dwarf-voice-pack ? you can replace the old archive using the "edit" tab on that page.

Why don't you make the preview? :) Not on Linux? Sure, I'll do it for ya!

  • Log in or register to post comments
MaximB
joined 15 years 2 months ago
Friday, March 5, 2010 - 02:56

I've indeed edited the file and replaced it with the new one.

 

P.S

If I'm near a PC, it's ALWAYS Linux ;)

 

  • Log in or register to post comments
qubodup
joined 16 years 1 month ago
Friday, March 5, 2010 - 03:10
qubodup's picture

I made a new preview mp3

 

You should totally make voices for http://www.sacredchao.net/~piman/angrydd/ :D

  • Log in or register to post comments
MaximB
joined 15 years 2 months ago
Friday, March 5, 2010 - 04:31

Thanks quabodup !

 

I've sent an email to the game devs telling them that the pack I've made might suite their game, and if they need more voice acting I'll be happy to help.

 

Although puzzle games are not my "style", I'll be happy to help.

 

P.S

Why can't we upload .ogg previews ?

  • Log in or register to post comments
qubodup
joined 16 years 1 month ago
Friday, March 5, 2010 - 04:44
qubodup's picture

The preview player is in flash and flash does not support ogg.

  • Log in or register to post comments
qubodup
joined 16 years 1 month ago
Thursday, July 15, 2010 - 16:40
qubodup's picture

I wrote a little bash script to unify all files and then join them with 0.1second pauses:

here's the post about it

  • Log in or register to post comments