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


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

Registered: Oct 2014
Posts: 502
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 08:56
iAN CooG

Registered: May 2002
Posts: 3238
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 09:03
ChristopherJam

Registered: Aug 2004
Posts: 1424
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 09:09
algorithm

Registered: May 2002
Posts: 707
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 13:06
lft

Registered: Jul 2007
Posts: 369
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
CA$H/TRiAD
MWR/Visdom
Jetboy/Elysium
ΛΛdZ
megasoftargentina
Airwolf/F4CG
zscs
REBEL 1/HF
Six/G★P
encore
GuyGavin/HF
Guests online: 342
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Black Beard  (9.2)
3 Baracuda  (9.2)
4 hedning  (9.1)
5 Irata  (8.8)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.055 sec.