Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Looping in Anvil Studio

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Pumpkinbot
Rock beats scissors! >:D




Joined: 22 Apr 2009
Posts: 106
Location: Megaman, Cutman's level.

PostPosted: Tue Nov 17, 2009 8:53 pm    Post subject: Looping in Anvil Studio Reply with quote

In this song, there's an intro sort of thing, then the part I want to loop. How do I loop only that part?
Back to top
View user's profile Send private message
Baconlabs
PURPLE IS MANLY




Joined: 15 Mar 2009
Posts: 335
Location: Tennessee

PostPosted: Tue Nov 17, 2009 9:47 pm    Post subject: Reply with quote

There's a page on the wiki that discusses this.
Also don't expect MIDI loops to work.

EDIT: Okay, this time I'll try to be helpful. What you could do is split the track into two files. Play the intro as part of a scripted sequence or scenario, approximate the time it'll take for the song to end, then switch over to the second piece that will loop as normal Ambient music. This does not work so well if you're not dealing with a fixed scenario.
Back to top
View user's profile Send private message
Bagne
ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA




Joined: 19 Feb 2003
Posts: 518
Location: Halifax

PostPosted: Wed Nov 18, 2009 4:53 am    Post subject: Reply with quote

I've been having the same problem.

I've never seen that wiki article ... interesting. So MIDI loops may eventually be fully supported by the OHR.

I think you can do this kind of looping with .xm music, but I'm still on the learning curve for that stuff. Yeah, you need to make your own instruments with .xm and it's not a picnic to edit the files ... etc etc etc.
I've just been including my introductions in the overall loop - oh well.
_________________
Working on rain and cloud formation
Back to top
View user's profile Send private message
Raekuul
Delicious!




Joined: 31 Mar 2004
Posts: 641
Location: Nowhere

PostPosted: Wed Nov 18, 2009 5:28 am    Post subject: Reply with quote

Geez, I finally decide that I'm gonna need this, and someone goes and asks my question for me.

It kinda sucks that it's not supportable in the native backend, though.
_________________
A broken clock is still right twice a day.
Back to top
View user's profile Send private message Visit poster's website
Pumpkinbot
Rock beats scissors! >:D




Joined: 22 Apr 2009
Posts: 106
Location: Megaman, Cutman's level.

PostPosted: Wed Nov 18, 2009 7:02 am    Post subject: Reply with quote

1. So MIDI loops won't work in OHRRPGCE?
2. If they do, will it work in battles?
3. If not, could you loop a .BAM file?
Back to top
View user's profile Send private message
Baconlabs
PURPLE IS MANLY




Joined: 15 Mar 2009
Posts: 335
Location: Tennessee

PostPosted: Wed Nov 18, 2009 7:41 am    Post subject: Reply with quote

Mr. Wiki wrote:
NOTE: the required back end required for this is horribly unmaintained, and likely does not work!

So, Pumpkinbot:
1.No
2.No
3.No (well, actually yes)

Point being, it's best to take a different approach.



Last edited by Baconlabs on Wed Nov 18, 2009 7:59 am; edited 1 time in total
Back to top
View user's profile Send private message
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Wed Nov 18, 2009 7:53 am    Post subject: Reply with quote

BAM looping was always supported. MIDI looping is unsupported and poorly documented. This is not likely to change ever.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Pumpkinbot
Rock beats scissors! >:D




Joined: 22 Apr 2009
Posts: 106
Location: Megaman, Cutman's level.

PostPosted: Wed Nov 18, 2009 4:00 pm    Post subject: Reply with quote

Moogle1 wrote:
BAM looping was always supported. MIDI looping is unsupported and poorly documented. This is not likely to change ever.
How do I change a MIDI to BAM? And then, how do I loop a BAM?
EDIT: I checked the dbPoweramp site (http://www.dbpoweramp.com/codec-central.htm) and they don't have a BAM codec. D:
Back to top
View user's profile Send private message
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Wed Nov 18, 2009 4:43 pm    Post subject: Reply with quote

That's because BAM is proprietary to the OHR. It's also pretty much deprecated.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Baconlabs
PURPLE IS MANLY




Joined: 15 Mar 2009
Posts: 335
Location: Tennessee

PostPosted: Wed Nov 18, 2009 5:28 pm    Post subject: Reply with quote

BAM actually stands for Bob's Antiquated Music.
As in Bob the Hamster.
Also that middle one might not be exactly right.
Back to top
View user's profile Send private message
Pumpkinbot
Rock beats scissors! >:D




Joined: 22 Apr 2009
Posts: 106
Location: Megaman, Cutman's level.

PostPosted: Wed Nov 18, 2009 5:43 pm    Post subject: Reply with quote

Moogle1 wrote:
That's because BAM is proprietary to the OHR. It's also pretty much deprecated.
*headdesk* Okay, then how do I turn a MIDI into a BAM?
Back to top
View user's profile Send private message
Rimudora
Psychopath yandere
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 26 May 2005
Posts: 335

PostPosted: Wed Nov 18, 2009 5:58 pm    Post subject: Reply with quote

Converting your midi to a bam probably won't help. You have to write a BAM from scratch with notate.exe if you want to add loops (since notate.exe couldn't edit BAMs directly, if I recall.) Plus, BAM files don't work on most computers and sound worse than MIDI anyways.

Probably the best thing to do is to copy and paste the looping sections of your MIDI several times. If a song is over ten minutes, it probably won't play for long enough for the song to loop.
Back to top
View user's profile Send private message Send e-mail
Pumpkinbot
Rock beats scissors! >:D




Joined: 22 Apr 2009
Posts: 106
Location: Megaman, Cutman's level.

PostPosted: Wed Nov 18, 2009 7:17 pm    Post subject: Reply with quote

Rimudora wrote:
Converting your midi to a bam probably won't help. You have to write a BAM from scratch with notate.exe if you want to add loops (since notate.exe couldn't edit BAMs directly, if I recall.) Plus, BAM files don't work on most computers and sound worse than MIDI anyways.

Probably the best thing to do is to copy and paste the looping sections of your MIDI several times. If a song is over ten minutes, it probably won't play for long enough for the song to loop.
Yeah, I guess. D:
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Thu Nov 19, 2009 8:52 am    Post subject: Reply with quote

Baconlabs wrote:
Mr. Wiki wrote:
NOTE: the required back end required for this is horribly unmaintained, and likely does not work!


That note was way too harsh, it works fine for most people and I've been giving it some maintenance lately, so I removed it.

Moogle1 wrote:
BAM looping was always supported. MIDI looping is unsupported and poorly documented. This is not likely to change ever.


Well, BAMs support looping in various ways, and always have, however the OHR can't play BAM files. It converts them to MIDI. I don't know exactly what bam2midi does with BAM loops; looking at the code I can see that it inserts MIDI loop points, and also unrolls some BAM loops. I'm not sure if this is enough to cover all the looping capabilities of BAM.

MIDI looping works in two of the three music backends (in Windows only). It's not too unlikely that we would switch back to music_native someday (I rather dislike SDL_Mixer). At which point MIDI looping would suddenly be supported 'by default', no?
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 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


Powered by phpBB © 2001, 2005 phpBB Group