Pulsar: New Video (as promised)

I was going to leave this a few days but while playing around this morning I found a couple of bugs in the Multi FX stuff and so while I was getting my hands dirty fixing them (yes!) I though I may as well do the video I promised.

I’m sorry but I got a bit carried away again so it’s in two parts. Luckily this time the demonstration splits nicely. The first half is demonstrating the Table random jumping stuff and the second half demos the Multi FX stuff.

Anyway, here’s the videos, the transcripts are below.

Part A

Simple setup, one chain/pattern on Track B playing a repeating C 4 note.

00:30 I start to build the table. I stop the Song as it gets really annoying :)
00:50 Set the Table speed (Zxx) to 40 using Command 1 column
00:55 Set the first random jump (Hxx) using Command 2 on the same step. You can see I enter H13 which will perform a random jump between steps 01 and 03.
01:20 Setup the secondary jump on step 01 that will always jump to Step 04 (by setting the upper and lower random limit to the same number, 4)
01:30 So that I can build the table while audio is running I temporarily set the first random jump to always got to step 01 (H11)
01:55 I set up the minor arpeggio and start audio playing again so you can hear (and see!) the table in action.
02:25 Use a Wxx command to change the Duty of the sound.
02:45 Audio stopped again while I set up the second arpeggio in the same way. Then I set the initial jump on step 0 to H12 so that the table will randomly jump to either step 01 or 02.
03:10 Playing audio again and you can hear (and see) the random jump happening.
03:40 Stop audio while I set up the final arpeggio. Notice now the three Hxx commands, H44, H77 and HAA.
04:20 With the jumps all in place I start the audio again and you can see it now jumps between three arpeggios.
04:45 Quickly showing the Pattern again and that it still only consists of the same 1 note.
05:10 Tweaking a few things to show the flexibility. First I add an individual speed to each arpeggio so all three could run at different speeds.
06:10 I add a 2nd and 3rd Wxx command to the first arpeggio to illustrate how you could make the sound randomly different.

Part B

00:15 I add a Multi FX command to the first step of the Pattern. The first digit is the speed of the FX which is set to 7 and the second digit is the FX number, in this case 0.
00:22 I jump to the Multi FX editor page.

I'm not going to go into too much detail here but the columns from left to right are marked A, B, C and D which represent each hardware voice (DPCM not included). For voice A and B you have 3 settings: Pitch (first two digits), Volume, 3rd digit and Duty (little waveform). Voice C only has Pitch and Voice D (noise) has Pitch and Volume. Anywhere in the table you see "--" in the Pitch column means nothing is written to that voice on that step.

00:50 Back to the Pattern to start the audio again and add the Fxx command to the first step - instant drum! Good eh? :)
01:10 Messing about with values in the FX to illustrate how the synthesis works. Note that this FX is actually using all four voices.
02:10 Back to the Pattern to show how you can change the playback speed of the FX table which allows you to get even more flexibility.
02:25 The second occurrence of the F command is now running at the slowest speed and you can clearly hear the individual notes that make up the drum sound.
02:40 Changing the volume of the arpeggio instrument to illustrate that the Multi FX is running totally independent of whatever is happening on each voice.
03:30 Tweak the random arpeggio table so that all three arpeggios are playing a minor chord but the speed and duty variations are still there. Probably a more useful application of the random jump stuff to be honest :)
04:00 Messing with the Pattern while the Multi FX drum is still going.
04:30 Start breaking down the drum so that you can hear how the sound is constructed.
05:00 Drum is now only using Voice C (triangle) and Voice D (noise)
06:10 Arpeggio is back!
06:30 Add some more Fxx commands to show you how easy it is to add drums to any track. Remember, those Fxx commands could actually go on any of the 5 Tracks which makes it really flexible if you're struggling for commands.
07:10 Build the drum up by using Voice A too and then tweak it a bit, adding in a bit of the tonal noise.
08:50 Turn the arpeggio instrument right down so you can hear the drum clearly.
09:00 Starting going a bit daft with the Hard Frq setting. :) Again, just to show the Multi FX keeps on doing it's thing whatever else you've got going on.
10:00 Add a little slide into the Pattern.
10:30 End with just the Multi FX audible.

11 comments to Pulsar: New Video (as promised)

  • his8

    any idea of a release date :P

  • Infunichibu

    I look every day at your website to see any progress of pulsar. You have my respect thanks to your music trackers on NES :D

  • B00daW

    Multi FX and randomness are GREAT. I love how out of the box you’ve been with this tracker. Mad scientists unite! Any possibilities of direct and tabled $4011 writes for smooth triangle (and noise) “volume” slides/tremolo/click distortion/etc… (since you have refresh rate tweaking) and/or additional short waveforms; such as ghetto tri-pulse with DPCM still on the last bit of $4011.

    I know I do nothing but give you wacky-ass suggestions. Just proud of your accomplishments and looking forward to the general warm reception of the public you’re surely to receive.

    • Heh, thanks dude.

      I’ll have a think about the $4011 idea. I can’t think of a way to cram it in at the moment so it would probably need it’s own dedicated table(s). Not a big issue but I’ve got some other structural (nightmare) stuff to take care of (bank switching the SRAM anyone? :S)

      Something I haven’t shown in a video yet is how some of the Pattern/Table commands double up as specific DPCM functions.

      In the Drumkits (DPCM) you can specify; sample number, pitch, start offset, end offset and looping on/off.

      As well as defining them in the Drumkit you can also change the values on the fly either with Pattern commands or via Table commands.

      It’s not *massively* useful in Tables mainly because you have to retrigger the sample when you change a value otherwise (as you know) you won’t hear the effect of the parameter change until the write to bit 4 of $4015 to start the sample playback again.

      You can do some pretty cool stuff though by tweaking start/end/offsets and using the loop function.

      I’ll do a video of that next actually :)

  • B00daW

    Well… Regarding bankswitching, have you considered an “EX” version of Pulsar with a custom or more complicated mapper like MMC5?

    Interesting benefits of MMC5 are as follows:

    1.) Obviously 2 additional pulsewave channels — minus hardware slide features — that could easily be copy/paste coded. (See: http://wiki.nesdev.com/w/index.php/MMC5_audio)

    2.) Additional PCM channel with read and write modes. (Most likely more of a headache to add in to your current code without cycle-exacting some bits and possibly subbing in some illegal ops. …But would be amazing for a potential future project if interest persists.) (See: http://wiki.nesdev.com/w/index.php/MMC5_audio)

    3.) Buttloads of RAM — especially on the fly RAM/ROM write mode capability at previously designated ROM regions. (See: http://wiki.nesdev.com/w/index.php/MMC5#Banks) Being able to actively write to areas $8000-$FFFF — or even just a portion of this area — could open up other very interesting possibilities such as DPCM editing/distortion in RAM. …Which opens up a point that I had semi-recently researched in the past:

    With the aid of boy genius SquidMan/trap15 he created a little proof of concept application of my inception called “bitslider” (http://github.com/SquidMan/misc_tools/tree/master/bitslider/) The application increments the byte value of a binary every “x” bytes by “y”. In the case of DPCM it creates a distortion effect. (See: http://average.truechiptilldeath.com/filedump/1bitplusdistortion01.nsf (Sunsoft sample) and http://average.truechiptilldeath.com/filedump/distortion-test01.nsf (PunchOut crowd sample)) Depending on the type of the sample and how the sample is manipulated some really kick-ass distortion could be achieved.

    ~~~~~~

    DPCM offsets are my friends. I love messing with DPCM offsets…

    Also my friend Kulor and I have discovered (from other previous NSF composer magic) that around 4 to 5 full octaves of instruments can be created from A#, B, and C pitched samples using the 15 available DPCM “pitch” values. (Since I’m at work and don’t have internet at home I don’t have my Famitracker cheat instrument as reference to explain how to address the values, but you can take my word for it…) This could potentially be added into the drumkit maker app that you no doubt have already made. ;)

    Speaking with your DPCM loop function, with the possibility of editing the DPCM sample within RAM it might be neat to see if the engine would be fast enough to edit the sample before refresh in a command formatted possibly as such: CXY (C = Placeholder command name), (X = X byte offset from $00 until end of sample to be edited by value Y. Legal values being (1-7) (0 = OFF)) (Y = Value of byte to be incremented/decremented (1-7 = increment. 8-F = decrement. 0 = null) Being that you have multiple command lines, perhaps there could be a possibility of daisy-chaining the commands so that after one command begins to write, it references the instruction of the next, daisy-chained command at the last offset and loops back to the first until it reaches the end of the DPCM sample, loop point, command off, or channel kill. (I can see that sample offset tweaking could potentially be fun to mess within this scenario. ;) )

    Again more mad-sciencery and fanboyism.

    Looking forward to seeing the next update; even though it’ll probably be a good few months before I get my hands on and use these masterpieces.

    • Best comment ever.
      :D

      Some interesting ideas. I discounted the MMC5 though because a) it’s not easy to get a donor cart and b) PowerPak doesn’t support it properly. Hell, PowerPak doesn’t even support 32K SRAM yet :S

      With those limitations, it would make a MMC5 version of Pulsar to be emulator-only which, well, defeats the object a bit.

      Having said all that, I’m taking notes :)

      Some great ideas for adding manipulation commands.

  • B00daW

    Innovation comes with necessity. If you build it, Loopy may fix his FPGA mapper. If you see the NESdev wiki, Loopy’s notes on MMC5 were the last. ;) So if anybody can do it, Loopy can.

  • Hey Neil.

    You asked about SRAM bankswitching up above. Well, there is mapper 40 that is supported in PowerPak. Mapper 40 is the FDS port mapper. You can switch 8KB banks into $6000 – $7FFF. But unfortunately, there is no indication that you can save that bank or hold the contents. So, I doubt that this mapper will work either.

    I’d say a custom mapper would better for this project if you want SRAM bankswitching that is. One that can switch banks into $6000 – $7FFF and save it. Of course that would limit you to emulators and to the PowerPak unless you can build your own custom board.

    Yes, you’d also have to add the mapper support in your emulator and PowerPak.

    • Hi Gil,

      I’m currently using a SXROM configuration which does allow bank-switching of 32K SRM and, in Nestopia at least, you can save the whole 32K.

      I’m promised that PowerPak will support this sometime soon. I’ve also mentioned it to the developers of FCEUX (etc) as it should be a relatively simple update for any emulator.

      I believe the issue is that support for SRAM bigger than 8K in emulators only came with iNES 2.0 format, which many emulators have not yet adopted.

  • Well, if it’s SXROM configuration, then that is confusing indeed. Either it’s the grouping or the subset, lol. But I think it’s the subset configuration according to the NESdev Wiki.

    As far as I know, Nintendulator supports some of iNES 2.0 but not all of it’s features. FCEUX could support it for iNES 2.0 or in UNIF format, I’m guessing. I don’t think it will be too simple to implement the SRAM bankswitching though because of how the rest of the emulator is set up, possibly.

    That newest video you showed of Pulsar is really exciting indeed. The tune sounds good too. Keep up the excellent work. It’s really inspiring to see something this awesome. Seriously!

    I also would like some advice, I’m going to mail you soon.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>