Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > C64 Coding > Trim SID
2016-12-13 09:14
oziphantom

Registered: Oct 2014
Posts: 146
Trim SID

Is there anything like SidReloc that lets you shorten a SID. I have 3min+ SIDs that I basically need the first 40 seconds of.
2016-12-13 09:56
iAN CooG

Registered: May 2002
Posts: 1710
you can only edit it in its editor, it's not a wav that can be cut at any given file offset =)
2016-12-13 10:03
ChristopherJam

Registered: Aug 2004
Posts: 618
Just call the play routine for 2000 frames, and ramp down $d418 yourself over the last few :D

(though, you might need to be careful about filter settings for that last part)
2016-12-13 10:09
algorithm

Registered: May 2002
Posts: 682
Some music players have a master volume control value somewhere at the start of where the player is located located in the first 16 bytes or so near the init and play jump values. Can directly reduce the value to fade down the volume without having the issues with the filter
2016-12-13 14:06
lft

Registered: Jul 2007
Posts: 266
One thing you could do is run SidReloc for the desired number of frames (there's an option for that), then look at the memory map (enable verbose output). Any byte that wasn't used can be safely changed to zero in the file, and this will improve the compression ratio. Naturally, you wouldn't do this by hand, but patch SidReloc to do it for you.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Martin Piper
Alakran_64
Sparta/OMG
wertstahl/Genesis Pr..
Guests online: 43
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 Coma Light 13  (9.6)
4 The Shores of Reflec..  (9.6)
5 Lunatico  (9.6)
6 Comaland 100%  (9.5)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 Comaland  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 Dawnfall V1.1  (9.5)
2 F1 Evolution  (9.5)
3 Daah, Those Acid Pil..  (9.5)
4 Treu Love [reu]  (9.4)
5 Dawnfall  (9.3)
6 SidRok  (9.3)
7 One-Der  (9.2)
8 Tunnel Vision  (9.2)
9 Game of Thrones [2sid]  (9.1)
10 Safe VSP  (9.1)
Top Groups
1 Pond  (10)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Oxyron  (9.4)
5 Crest  (9.3)
Top Diskmag Editors
1 Jazzcat  (9.5)
2 Peter  (9.4)
3 Newscopy  (9.4)
4 Remix  (9.3)
5 Vengeance  (9.3)

Home - Disclaimer
Copyright © No Name 2001-2017
Page generated in: 0.156 sec.