Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
rifftool

 
Post new topic   Reply to topic Printable version
 View previous topic  visual studio disassembly debugging Post :: Post Dev-C++ help  View next topic  
Author Message
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Wed Sep 26, 2007 10:04 am    Post subject: rifftool Reply to topic Reply with quote

rifftool can print information on RIFF files, rearrange chunks inside the file and add/edit/remove loops.

RIFF files are more commonly found as .wav files but are also used for many other formats including .at3 atrac3 files.

When rearranging chunks they are written in this order: fmt, fact, smpl, data. This is useful if you have sounds from a sound editor that doesn't write the chunks in that order but you have a player that expects them in that order.

You can add/edit/delete the loop info stored in the smpl chunk, so the sound can loop continuously between two points. You will almost certainly need to use a compatible RIFF format and player.

Here's the usage:
Code: Show/Hide
Usage: rifftool [-r] [-l SSSS EEEE] [-L] infile [outfile]
  -r      repacks the file in this order: fmt, fact, smpl, data.
  -l      edit or add an infinite loop, also repacks the file.
     SSSS the loop start, in hundreths of a second,
     EEEE the loop end, in hundreths of a second.
          set S=0,E=99999 to automatically loop the maximum amount.
  -L      remove all loop information, also repacks the file.
  outfile if not specified a filename will be generated.
If no options are specified, the program will print file info.
WARNING: this program will only write fmt, fact, smpl and data chunks,
         all other chunks will be discarded.

_________________
ss news




v1.0 win src doc

rifftool.zip - 12.42 KB
File downloaded or viewed 9 time(s)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Non-Subspace Related Coding All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 114 page(s) served in previous 5 minutes.

phpBB Created this page in 0.068320 seconds : 27 queries executed (58.0%): GZIP compression disabled