PCEngineFans.com - The PC Engine and TurboGrafx-16 Community Forum
Tech and Homebrew => Turbo/PCE Game/Tool Development => Topic started by: Arkhan on April 06, 2012, 12:11:05 PM
-
Hey, since the protocards are now released, as promised,
Squirrel 3.0 is going to come out. Soon.
It is what was used for the Protocards for the snappy tune in GNOP, and all of the sound effects in every game.
It will include:
All the samples as before
a new sample w/ some sound effects shown. This will mostly apply to developers.
an updated manual about how to use squirrel.
HuCard and CD support
It will all be released as soon as I finish updating the manual basically, since the rest of it is already done. I could release it right now, but it needs a manual!!!!
So, happy Easter, from the Easter Squirrel.
I encourage anyone seriously considering using it to register and post about it on Aetherbyte.com's forum in the MML section.
lol
-
Great news, I've really been looking forward to this. Thanks for all the hard work, I'm drooling thinking about what I'd like to make with it =P~
I tried to register for your forums (I thought I already was but I guess not), but couldn't because the confirmation code won't show up for me on the registration page... any way to fix this?
-
hmm thats stupid ill try fixing it.
-
cool,I will test it for the mini game i'm doing .
-
sweetness, I hope it's as user friendly as milky tracker now ;)
-
What a success for me! :wink:
Regarding Aetherbyte.com's forum, I too am having an issue with the visual confirmation code, but I'll register ASAP.
-
I'm more interested in seeing the manual!
-
What a success for me! :wink:
Regarding Aetherbyte.com's forum, I too am having an issue with the visual confirmation code, but I'll register ASAP.
I set it to use Recaptcha now. do it helps?
The manual should be done tomorrow or weds.
-
Will it include ways to do pitch bending and vibrato without having to hand code weirdness?
-
I'm not sure what you mean by hand-code weirdness.
You just make a vibrato envelope and stick it on the instrument.
-
so that means that you'll be finshing up that thesis and then working on that tutorial thingie, right?
-
im proofreading my thesis right now. and trying not to stab my eyes out.
-
Oh, I thought the envelopes were volume only, not pitch, which I thought was a bit weird...
-
Oh, I thought the envelopes were volume only, not pitch, which I thought was a bit weird...
It helps to read the manual that I spent a lot of time typing up for users.
-
http://aetherbyte.com/psg.php
It's up.
Go get it, and post questions/concers...
here, or on Aetherbyte.com Preferably Aetherbyte.com
-
Cool! I've downloaded it. I'll check it out soon. Thanks!
-
yay
-
Captcha isn't showing up.. can't register.
-
wtf!
I thought I fixed it. God damn lol
-
Sorry Arkhan, my mistake. I was thinking back to the discussion of LFO and for some reason I assumed that vibrato and pitch-bending were hard to do on the PCE without doing a little bit of weird stuff based on the discussion there. I must've misunderstood the context a bit.
-
hi ark your modified startup.asm, is only for hucard, you're using cd bios psg driver for cdrom ??
-
hi ark your modified startup.asm, is only for hucard, you're using cd bios psg driver for cdrom ??
yes
-
ok, because i don't use a standard startup .
And do you think that squirrel 3 is suited for a 64k cd game ???
-
ok, because i don't use a standard startup .
And do you think that squirrel 3 is suited for a 64k cd game ???
The changes are minor ones, mostly dealing with enabling/disabling the player routine. (And that stuff was broke in Huc anyway). Do a diff against the stock HuC startup, and you'll see - and get an idea of what to change in -your- startup to make it work.
But yeah, the player was just moved to work on a card. Works great for testing the sounds before they get used on a CD. Once you have sounds you like, you should only have to re-compile for CD to have it work on one.
AFAIK, there weren't any changes in the psg code between versions 2.0 and 3.0 of the bios, so it should be okay.
...And, if I forgot, you can comment out the debug variables (the globals in the example HuC code). They aren't required for the player. <oops>
-
Thanks Man for explanations :wink:
-
I left those variables in since they're handy for people dicking around with this. :)
This stuff is perfectly suited for a 64k CD game, Touko.
You can use the CD bios to your ultimate advantage with it.
-
I won't be able to make use of this and it may be old news/common knowledge but... does Squirrel support mixing in regular sound samples with the PSG/WSG/chip sounds?
-
no but you can force samples with Squirrel if you make your own waves and string them together.
-
Looking forward to messing with this.
Hey Ark, does the PSG bios (for CD setup) parse the sound channel for you (the binary) or do you have to manually feed it the PSG commands?
-
I'm not sure what you're asking.
The CD bios processes what Squirrel outputs, which is MML that's been compiled into the bytecode stuff that the BIOS expects. If you look at the file generated by Squirrel, you will see all of the stuff that is expected by the player.
You basically just load up the data, setup the call to the bios, and then call it, and it goes on its merry way doing what it should do.
Is that what you meant? I may have answered the wrong question here, lol
EDIT: Also, to clear it up more, maybe: If you check the squirrel.c test file, you will notice that the psgPlay(0) call, which is the one to play .TRACK 0 of any of the included files, is outside of the main loop.
ONE single call is all it takes to make the BIOS know what to do to sit and play the whole entire song.
It doesn't have to be track 0, but that is what the numbering starts at, so the first song of an MML file is always track 0 (see any of the examples).
-
Hey Ark, does the PSG bios (for CD setup) parse the sound channel for you (the binary) or do you have to manually feed it the PSG commands?
Think of it as Basic for sound. You write a program (the MML), run it through squirrel, set it up in your program, and then run it. All of the parsing/wave loading/effects processing happens in the background (well, in the irq routines)
You'll laugh at how simple it is to use. Seriously, the hardest part is writing the songs and effects :)
And that's not too bad if you can read music.
[There is a lot of power there, though. You can put a lot of compiled MML in 2 banks of memory]
-
Yeah,
For example (I think this was mentioned before), Insanity's chiptune soundtrack fits into 1 bank.
It's all magic :)
-
Ahh ok. So you set the channel pointer to the track binary/data and the PSG bios parses it for you? So if I wanted to have sample support (7khz DDA or ADPCM), I have to kinda follow along externally to the PSG bios routine? I'd need to be able to read/track the PSB bios tempo control variable.
-
Ahh ok. So you set the channel pointer to the track binary/data and the PSG bios parses it for you? So if I wanted to have sample support (7khz DDA or ADPCM), I have to kinda follow along externally to the PSG bios routine? I'd need to be able to read/track the PSB bios tempo control variable.
Right. The PSG Bios doesn't really handle samples, and trying to do so is pretty tricky. It throws the player off completely. I have a pretty OK way of using hand-rolled samples, and someone else who I don't think posts here, was actually using the same method for voice samples.
It's sort of tedious though, and not very flexible if you want a sample-crazy song. Would be good for a kick and snare
-
I created the video for this.
I'm working on relining up the audio as it fell out of sync
also, it compressed funny. Hypercam is dumb.
It's solid for a tutorial vid though.
So, soon it will be ONLINE!
-
NICE!!!!
-
NICE!!!!
yeah, there are times where the screen gets kinda goofy while flipping from program to program, but in a second or so, it clears up. It doesn't remove from the usefullness, it just looks like a Sega CD movie sometimes.
I could redo it all, but its a 25 minute video.
-
HAHAH you should include a Sega logo in between, just a few seconds worth. Non linear editing style ;)
-
lol
I might put subliminal messages saying TRACKERS BLOW.
-
lol
I might put subliminal messages saying TRACKERS BLOW.
(http://cdn.collider.com/wp-content/image-base/movies/f/fight_club/fight%20club%20movie%20image%20edward%20norton%20(1).jpg)
-
exactly.