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 > How to deal with multispeed tunes?
2008-08-12 22:35
Higgie

Registered: Apr 2002
Posts: 114
How to deal with multispeed tunes?

hello you coders!

i'm currently doing my first (except for some bullshit from back in the late 80s/early 90s) steps in coding and while checking out some tunes from HVSC as background music i stumbled across some 'multispeed' tunes. some questions came up my mind...

1. am i right saying that multispeed means calling the playroutine multiple times per frame?

2. is it just calling the routine at any time, just calling it often enough in every frame?

3. or does replaying multispeed tunes require a special timing?

4. would loose $d012 polling be sufficient? (no stable interrupt)

i have to admit that i haven't tried out yet and wanted to get the theoretical background before i started off into the (possibly) wrong direction.

thanx in advance!
 
... 31 posts hidden. Click here to view all posts....
 
2008-08-12 23:28
Higgie

Registered: Apr 2002
Posts: 114
hi Groepaz!

thanx for your fast reply!

is there any good way to find out if a tune is multispeed? if i just have a sid file from HVSC it seems a bit tough to me.

if i have a executable to examine it shouldn't be that hard, i guess.

atm i'm hunting through HVSC to find a tune that fits a certain 'demo part' that i'm working on.
(uuuh! i said demo. i'm a bit anxious calling it a demo. ;) )
2008-08-12 23:35
chatGPZ

Registered: Dec 2001
Posts: 11164
if you only have the tune and no further info? good question :=)
2008-08-13 09:49
Higgie

Registered: Apr 2002
Posts: 114
ok...

i found one strange example (atleast it appears strange to me) here: SCS*TRC Intro 07 (Big Scroll)

if i presume that the replayspeed of that sphere tune is correct in the intro, it is a 2x speed tune. but if i replay the sid in Sidplay2/w [win32 version (Jun 2 2005)] it gets replayed too fast. could this be a bug in the replay of sidplay?

if i save the tune from sidplay to .dat and use it as doublespeed in my program it sounds ok, as in the intro.

so, i guess i have to take care when only having a sid file as reference, not knowing how the tune was initially ought to be replayed.
2008-08-13 09:56
chatGPZ

Registered: Dec 2001
Posts: 11164
could be a bad rip, no idea :)
2008-08-13 10:07
Stainless Steel

Registered: Mar 2003
Posts: 966
I believe if SidPlay shows "VBI" then the tune most likely is a singlespeed.
If it shows "CIA" then its likely to be a multispeed.

Just an idea, might not be that way in all cases.
2008-08-13 10:16
Higgie

Registered: Apr 2002
Posts: 114
oh! that makes sense. i will check some of the tunes that i thought of being either one of both and compare with the vbl/cia info provided.

good idea. thanx joe!
2008-08-13 10:19
chatGPZ

Registered: Dec 2001
Posts: 11164
beware.... there exist quite a bunch of rips which appear to be singlespeed (and show vbl) but infact they arent, but the player is simply called 4 times in a row (resulting in bad sound quality, but atleast korrekt speed).
2008-08-13 10:35
Higgie

Registered: Apr 2002
Posts: 114
buääähhh! :(
why must life be so hard!? ;)

if it is like you said, i'm lost. as checking for good/the right soundquality on an emulator is not that easy, i think. i don't know if i would recognize a missing sweep or beep or a slightly different drum sound. i'm not totally deaf but ....

i had a tune by randy (don't remember which one) which sounded ok in sidplay (and was showing vbl afair) but when i used it in my code (checking in winvice) there were some beeps added to the sound. and i couldn't figure out if it was the quality of sid emulation or some glitches in my code.

to sum it all up: it's not as trivial as i thought in the beginning.

btw: i need to check on the real hardware and that is why i need my 1541u NOW!!! :)
2008-08-13 11:04
assiduous
Account closed

Registered: Jun 2007
Posts: 343
sidplay2 and vice use the same sid emulation engine so there shouldn`t be a difference. look for a bug in the play routine.
2008-08-13 11:07
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Quote: ok...

i found one strange example (atleast it appears strange to me) here: SCS*TRC Intro 07 (Big Scroll)

if i presume that the replayspeed of that sphere tune is correct in the intro, it is a 2x speed tune. but if i replay the sid in Sidplay2/w [win32 version (Jun 2 2005)] it gets replayed too fast. could this be a bug in the replay of sidplay?

if i save the tune from sidplay to .dat and use it as doublespeed in my program it sounds ok, as in the intro.

so, i guess i have to take care when only having a sid file as reference, not knowing how the tune was initially ought to be replayed.


if the tune sounds ok, after being exported to C64, it COULD be that the intro uses too much raster time, which slow the tune down. compare to when it it running alone.

Anyhow, HVSC will check the rip.
Previous - 1 | 2 | 3 | 4 | 5 - Next
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
Higgie/Kraze/Slackers
nucleus/TempesT
Nordischsound/Hokuto..
WVL/Xenon
Guests online: 82
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 No Bounds  (9.6)
9 Aliens in Wonderland  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Dawnfall V1.1  (9.5)
8 Birth of a Flower  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Offence  (9.3)
Top Diskmag Editors
1 Magic  (9.4)
2 Jazzcat  (9.4)
3 hedning  (9.2)
4 Elwix  (9.1)
5 Remix  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.079 sec.