Shop Learn
Retronitus - Noise from the past! - Page 10 — Parallax Forums

Retronitus - Noise from the past!

14567810»

Comments

  • And here's the other Spintris one rendered:


    One may also find source for both of these on GitLab...
  • Nice tune! I like the claps too.

  • Here's another original tune:


    "Stepping through a dusty archway into halls unseen for centuries..."

    I whipped this tune up pretty quick, so it's not perfect, but I've been doing this long enough to know that trying to fiddle it to perfection doesn't work and is a waste of time, so say it with me: **Ehhhh**....

    As always, source is on GitLab.

  • PublisonPublison Posts: 11,934
    edited 2020-10-23 21:30
    Stellar! !!
  • New tune time:


    "And so a journey begins..."

    There. A Field theme. It works and is long enough to not get old too quick. I took way too long to make this, mostly spent on fruitlessly trying to make new parts to make it longer/more varied.
  • Wuerfel_21Wuerfel_21 Posts: 1,730
    edited 2020-11-30 02:03
    So here's a thing:

    I tried my hand at adding an NES-style DPCM channel type. Seems to work fine and doesn't even consume as many cog resources as I'd initially had thought it would (the samples themselves are of course huge...)



    The noise is mostly due to my sub-optimal sample here. If I take the one from, say, Journey to Silius, it's a lot less noisy, but very detuned instead (since we need different sample rates than NES DPCM would)

    The code is in GitLab right now. It's a bit tricky to use, just look at the example or ask me if that doesn't help.

    How to create an untuned sample (drums and stuff):
    - Find/record a sample
    - Decide on a sampling rate - ideally, choose 32000,16000, etc, since these will not suffer aliasing
    - Resample the sample to that rate and export as mono WAV
    - Open the WAV in a hex editor and change the sample rate (at offset 18h) to 33144
    - Open the modified WAV in RJDMC and save out a DMC file (leave the settings alone!)
    - Done, include the sample in your tune and play it at your chosen frequency!

    How to create a tuned sample (i.e. any pitched instrument):
    - Find/record a sample and take note of which note it is
    - The sample rate must be the same note as your sample, but in a higher octave. Note that the highest note Retronitus supports is B10 (OCTAVE*0 NOTE*11).
    - Resample the sample to that rate and export as mono WAV
    - Open the WAV in a hex editor and change the sample rate (at offset 18h) to 33144
    - Open the modified WAV in RJDMC and save out a DMC file (leave the settings alone!)
    - Done, include the sample in your tune - make sure the notes are shifted up enough octaves!
  • I recently pushed a minor enhancement to Retronitus DX: The amplification of Sawtooth channels is now configurable

    Also, attached you may find another tune I did. It's for the game and I think it's too short and simple for a video. It uses the new DPCM stuff, which is cool, too.
  • Wuerfel_21Wuerfel_21 Posts: 1,730
    edited 2021-01-02 22:38
    Here's a fun thing: MAKE SURE WHICH COG YOU LOAD RETRONITUS (or any other audio cog, for that matter) INTO

    I've spent a couple hours today tracking this bug down, so please, for all that is good, DO NOT LOAD RETRONITUS INTO COG 7 LIKE I DID, IT WILL MAKE YOU SAD.

    So, after having vented my frustration, here's the problem:

    Image21.png
    Pictured: grahphic from section 8.5 of the P8X32A datasheet

    When generated by a cog far away from the audio pins (usually 11 and 10), the very high-frequency modulated audio signal gets distorted by all the OR gates in the path. As you may see, cog 7 is furthest from pins 0 through 15.

    This is what that does to the signal:
    wiggle.png

    Top traces are Retronitus DX in cog 2 (running standalone with a *_main.spin file, as in the repo),
    bottom traces are Retronitus DX in cog 7 (running inside my game).

    This distorion manifests in a highly irritating sound.

    I've attached some zipped FLACs to illustrate that point. They are all the same length and content, so you can compare them. The *_game ones have a lot higher noise floor due to the video pins having a rave next door.


    940 x 439 - 34K
    1680 x 1010 - 116K
  • Because someone kinda asked for it, here's a video that shows the sawtooth modulation in action:

  • Wuerfel_21Wuerfel_21 Posts: 1,730
    edited 2021-03-18 00:26

    Here is Retronitus DX for P2!
    I haven't quite put it through it's paces yet, so it's only a preview release. Just load retrotest.spin2 and enjoy. I've included 3 tunes converted to Spin2 to try: NearlyThere.spin2 (yes, it's supposed to just hang when it's done), Fierce.spin2 and DPCMtest.spin2. I converted them to Spin2, which isn't too difficult.

  • Ahle2Ahle2 Posts: 1,160

    Great, I will have to try this out! :smile:

  • Wuerfel_21Wuerfel_21 Posts: 1,730
    edited 2021-03-28 21:53

    Here's yet another silly tune.

    My last 3 braincells when I try to write a melody that doesn't suck...
    This tries to be some sort of EDM but I'm not sure if it's any good.
    The emulated audio is a bit muddy. It sounds cleaner on hardware.

  • Mmmm should try to combine this with Linus Åkesson's latest project: http://www.linusakesson.net/sixtyforgan/index.php

  • @rosco_pc said:
    Mmmm should try to combine this with Linus Åkesson's latest project: http://www.linusakesson.net/sixtyforgan/index.php

    Yeah, that sure is a cool one. I think you could do some kind of digital reverb on P2? Idk, would have to look into it. Doing just a little bit could sound pretty nice without changing the character of the sound completely.

    Hmm, could a proper P2-centric synth do physical modelling? It's basically just reverb tuned to a frequency, I think.

  • Cluso99Cluso99 Posts: 17,767

    @Wuerfel_21 said:
    Here's yet another silly tune.

    My last 3 braincells when I try to write a melody that doesn't suck...
    This tries to be some sort of EDM but I'm not sure if it's any good.
    The emulated audio is a bit muddy. It sounds cleaner on hardware.

    WOW! Sounds really cool so thanks for posting the audio file :)

  • New cover tune. It's the music from Gyruss, that arcade game where you shoot stuff in space.

    The main theme from Gyruss. It doesn't really have a name, but its basically Toccata and Fugue in D Minor but with drums and bass, lol.
    This version here is somewhere between the original arcade and the NES version, with some random changes I made and some errors, probably.

  • BaggersBaggers Posts: 3,003

    That's ace @Wuerfel_21 :)

  • Aaand another one:

    An old path leading into a snowed village...

    Not a very interesting tune, except for that alleged tamburine patch (playing on the LFSR channel) that sounds more like someone dropping a bunch of dishes. And that I completely blinded on the lead and the chords playing the same pitches while composing, which results in that slightly obnoxious phasing(?) effect. It seems less present when playing this on my phone, oddly enough (LG G5 with DAC module).

  • Aaand yet another one.

    This one is really more of an exercise in sound design and an excuse to add new waveforms than anything else. Each channel does something interesting:

    • A new "filtered square" waveform is used for the bass. It works like a normal square channel, except that the bottom 5 bits of the volume register control filter strength and the bit above switches between high-pass and low-pass filtering (the tune only uses low-pass)
    • A new "stereo square" waveform is used. It doesn't have an envelope generator, but instead allows direct control of its mix level into the left and right outputs.
    • The LFSR channel is effectively playing a simple chord by setting it up to loop a special bit pattern
    • The whistly kinda patch on the triangle channels has a frequency envelope, sortof
    • The Sawtooth channels are doing something interesting with the envelope generator's usually undesired wraparound behavior
    • The Noise channel... yeah, not very interesting. It's supposed to be a bit like boiling water...
Sign In or Register to comment.