Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,498,004
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-28-24 10:43 PM
Guest: Register | Login

0 users currently in SMW Hacking | 1 guest

Main - SMW Hacking - Tell length in seconds of SPC? New thread | New reply


ninjablooper
Posted on 04-20-10 05:26 PM Link | Quote | ID: 130192


Bullet Bill
Level: 49

Posts: 114/509
EXP: 835776
Next: 48107

Since: 10-27-09
From: Earth

Last post: 3001 days
Last view: 2975 days
I'm converting MMX's Spark Mandrill music to SMW I ripped the SPC manually and want to convert it to midi using the program Midi2SPC, but it wants to know how many seconds long the song is. How can I tell the length of the SPC.

____________________
-Ninjablooper

blackhole89
Posted on 04-20-10 05:37 PM Link | Quote | ID: 130196


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 3042/4196
EXP: 21537217
Next: 299384

Since: 02-19-07
From: Ithaca, NY, US

Last post: 474 days
Last view: 86 days



SPCs don't have any intrinsic length any more than an SNES game ROM has one. They are just state dumps of the SPC-700 sound processor, i.e. ROMs of their own - and most games' music engines happen to be written in a way that left to itself, the tracks will just keep looping.

____________________



Kawa
Posted on 04-20-10 05:39 PM Link | Quote | ID: 130197


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 3601/5344
EXP: 30951014
Next: 711967

Since: 02-20-07
From: The Netherlands

Last post: 4500 days
Last view: 2636 days
On the idea that SPCs and such don't have an intrinsic length, I'd like to switch SNES for GBA and speak from experience: the progress bar in Sappy is not time-based, but how far along in the track data, which is why it can jump around like that. It has the same basic cause.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

ninjablooper
Posted on 04-20-10 09:01 PM Link | Quote | ID: 130207


Bullet Bill
Level: 49

Posts: 115/509
EXP: 835776
Next: 48107

Since: 10-27-09
From: Earth

Last post: 3001 days
Last view: 2975 days
What I'm saying is there anything out there that can measure the length of one loop?

____________________
-Ninjablooper

Kawa
Posted on 04-20-10 09:02 PM Link | Quote | ID: 130208


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 3603/5344
EXP: 30951014
Next: 711967

Since: 02-20-07
From: The Netherlands

Last post: 4500 days
Last view: 2636 days
What Black's basically saying is that there isn't.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

blackhole89
Posted on 04-20-10 09:07 PM Link | Quote | ID: 130209


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 3043/4196
EXP: 21537217
Next: 299384

Since: 02-19-07
From: Ithaca, NY, US

Last post: 474 days
Last view: 86 days



If it's just that, you could always write a program to do that (on a raw PCM dump, if nothing else) yourself. It's a pretty trivial problem, considering how most SPC renderers operate deterministically.

____________________



ninjablooper
Posted on 04-21-10 02:18 AM Link | Quote | ID: 130240


Bullet Bill
Level: 49

Posts: 116/509
EXP: 835776
Next: 48107

Since: 10-27-09
From: Earth

Last post: 3001 days
Last view: 2975 days
Posted by blackhole89
If it's just that, you could always write a program to do that (on a raw PCM dump, if nothing else) yourself.



The problem is coding is my weakness.

____________________
-Ninjablooper

KP9000
Posted on 04-21-10 03:46 AM Link | Quote | ID: 130243


Boomboom

Level: 90

Posts: 1281/1975
EXP: 6954731
Next: 233878

Since: 02-19-07

Last post: 3582 days
Last view: 3206 days


Got a stopwatch? Or better yet, you could use Audacity (free audio editing program) to record Windows' sound output and measure it within Audacity. Trim the beginning of the recording off so you have the start of the song at the start of the track and the same for the end.

____________________

ninjablooper
Posted on 04-21-10 10:25 PM Link | Quote | ID: 130312


Bullet Bill
Level: 49

Posts: 118/509
EXP: 835776
Next: 48107

Since: 10-27-09
From: Earth

Last post: 3001 days
Last view: 2975 days
Posted by KP9000
Got a stopwatch? Or better yet, you could use Audacity (free audio editing program) to record Windows' sound output and measure it within Audacity. Trim the beginning of the recording off so you have the start of the song at the start of the track and the same for the end.


I thought of that, but I want it to loop exactly.

____________________
-Ninjablooper

boingboingsplat
Posted on 04-22-10 12:55 AM Link | Quote | ID: 130318


Giant Koopa
[PREFSTRING:wonderful bounciness]
Level: 74

Posts: 1248/1292
EXP: 3634458
Next: 19086

Since: 07-23-07
From: Michicola

Last post: 4844 days
Last view: 4807 days
You can always use a bit of trial and error. It's not like it's a one-shot thing.

____________________
 

R. Solaris
Posted on 04-22-10 01:01 AM Link | Quote | ID: 130319


Goomba
Level: 13

Posts: 2/25
EXP: 8950
Next: 1317

Since: 04-16-10
From: Murrells Inlet SC

Last post: 3488 days
Last view: 3120 days
With SPC2Midi, Let the song loop for a bit and then save it. From there open it in a midi editor. and truncate the excessive looping of it. to make it loop once. Another thing with SPC2Mid is that if the drums are set to be actual drums, Their specialized volume and controls aren't saved. So when I export a midi from SPC2Mid I make the "drums" random "instruments" and then change the instruments to proper drums while keeping the tracks separate but the channel the same. Good luck with your progress on this.

ninjablooper
Posted on 04-22-10 03:03 AM Link | Quote | ID: 130334


Bullet Bill
Level: 49

Posts: 119/509
EXP: 835776
Next: 48107

Since: 10-27-09
From: Earth

Last post: 3001 days
Last view: 2975 days
Good idea.

____________________
-Ninjablooper

Nikolaj
Posted on 04-22-10 01:52 PM Link | Quote | ID: 130354


Level: 43

Posts: 201/384
EXP: 546492
Next: 18554

Since: 11-19-09
From: Denmark

Last post: 4538 days
Last view: 3221 days
Get a SPC plyer for Winamp, set it to loop once, and use the wave dump output plugin to dump it as a .wav.
Just find the length of that.

ninjablooper
Posted on 04-25-10 03:09 AM Link | Quote | ID: 130487


Bullet Bill
Level: 49

Posts: 126/509
EXP: 835776
Next: 48107

Since: 10-27-09
From: Earth

Last post: 3001 days
Last view: 2975 days
I used to have Winamp, but I didn't like it.

____________________
-Ninjablooper

Traffic Light
Posted on 04-25-10 06:30 AM (rev. 2 of 04-25-10 06:31 AM) Link | Quote | ID: 130501


Level: 64

Posts: 893/939
EXP: 2210855
Next: 3242

Since: 02-29-08

Last post: 4610 days
Last view: 1704 days
You probably used a version full of bloatware and ads, other things you can't opt out that you don't need, and full of bugs.

I suggest version 5.34:

http://www.oldapps.com/winamp.php?old_winamp=243

____________________

Hamtaro126
Posted on 04-25-10 07:22 PM (rev. 2 of 04-25-10 07:24 PM) Link | Quote | ID: 130527


Cheep-cheep
Level: 33

Posts: 135/194
EXP: 212880
Next: 16299

Since: 05-02-07
From: Shelton, WA

Last post: 2475 days
Last view: 2318 days
Posted by Traffic Light
You probably used a version full of bloatware and ads, other things you can't opt out that you don't need, and full of bugs.

I suggest version 5.34


Not unless he got it from a illegal bittorent site, it may contain a modded version if so.

____________________
Mah boi, romhacking is what all true warriors strive for!

I wonder what's for dinner?

Kawa
Posted on 04-25-10 07:23 PM Link | Quote | ID: 130528


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 3620/5344
EXP: 30951014
Next: 711967

Since: 02-20-07
From: The Netherlands

Last post: 4500 days
Last view: 2636 days
Alternatively, use Foobar with an SPC plugin.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Traffic Light
Posted on 04-25-10 10:41 PM Link | Quote | ID: 130540


Level: 64

Posts: 899/939
EXP: 2210855
Next: 3242

Since: 02-29-08

Last post: 4610 days
Last view: 1704 days
Posted by Hamtaro126
Not unless he got it from a illegal bittorent site, it may contain a modded version if so.


The version I'm talking about can be downloaded from winamp.com, 3.8MB extra of crap.

____________________

Main - SMW Hacking - Tell length in seconds of SPC? New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.032 seconds. (339KB of memory used)
MySQL - queries: 84, rows: 121/124, time: 0.017 seconds.