Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Pages: [1] 2   Go Down

Author Topic: Odd sound: Sine/Triangle low frequency  (Read 15309 times)

0 Members and 1 Guest are viewing this topic.

usrfriendly

  • Newbie
  • Offline Offline
  • Posts: 122
    • View Profile
Odd sound: Sine/Triangle low frequency
« on: July 11, 2008, 05:17:11 »

Since I started using Nitrotracker (0.3), i've noticed that if I play a sine or triangle wave at a low frequency, it gives the low tone, and a bit of a high-pitched, quiet tone on top of it.  I tested the same .xm file on my DS and on MilkyTracker (PC), and the high pitched tone wasn't there.  Is there some sort of explanation for this (my guess is the software, LSDJ does the same thing in an emulator on my DS)
Logged

0xtob

  • NitroTracker Moderators
  • Newbie
  • Offline Offline
  • Posts: 84
    • View Profile
Re: Odd sound: Sine/Triangle low frequency
« Reply #1 on: July 11, 2008, 12:17:21 »

I haven't observed this myself, but my guess would be that the DS's sound hardware is to blame. Probably the AD converter doesn't interpolate the values given to it, so a sample played back at very low sampling rate will have "steps" (imagine this like zooming into an image into an image editor until you see the pixels), which cause high pitched noise.

This could be fixed by doing the sound rendering in software, but then we wouldn't have original DS sound any more :)
Logged

m0d

  • Creator of Meow Meow Meow Kitty Song
  • Global Moderator
  • Top Poster
  • ****
  • Offline Offline
  • Posts: 1867
  • Original Site Admin/Designer/Coder
    • View Profile
    • Science & Art - Eindhoven.space - RedHeat Music & More
Re: Odd sound: Sine/Triangle low frequency
« Reply #2 on: July 11, 2008, 12:31:56 »

Hmmm: Aliasing, is this the correct term?
Logged
👨‍💻 Creator, Musician & HF Packet Radio Network Core
🎧 Discover great music via other member's special picks in the MFG
☕️ Get m0d a coffee via Ko-Fi.com
💬 IRC irc.rizon.net #modarchive
💬 Modarchive Discord

raina

  • Milkytracker Moderator
  • Great Poster
  • ***
  • Offline Offline
  • Posts: 719
    • View Profile
    • raina.kapsi.fi
Re: Odd sound: Sine/Triangle low frequency
« Reply #3 on: July 11, 2008, 13:36:42 »

In MilkyTracker, try setting Config > I/O > Resampling to No interpolation. Sound familiar?

0xtob

  • NitroTracker Moderators
  • Newbie
  • Offline Offline
  • Posts: 84
    • View Profile
Re: Odd sound: Sine/Triangle low frequency
« Reply #4 on: July 11, 2008, 16:17:19 »

m0d: Aliasing is the effect that occurs when you sample a signal of some frequency at a sampling frequency that is less than twice the frequency you're sampling. Then you won't be able to capture the frequency of the tone you want to record, but you'll get an unwanted "alias" frequency.

The effect of playing back a sample at a very low frequency is that a spurious frequency is generated by the "steps" of the "stairs" that are the samples of your sound stretched to multiple samples in the output signal.

Aliasing might occur in NitroTracker when you play back a sample at a too high frequency, because the DS's hardware mixer downsamples everything to 32khz. So you have to use multiple samples per instrument to avoid this.
Logged

raina

  • Milkytracker Moderator
  • Great Poster
  • ***
  • Offline Offline
  • Posts: 719
    • View Profile
    • raina.kapsi.fi
Re: Odd sound: Sine/Triangle low frequency
« Reply #5 on: July 11, 2008, 16:55:31 »

Hooray for .XI :)

usrfriendly

  • Newbie
  • Offline Offline
  • Posts: 122
    • View Profile
Re: Odd sound: Sine/Triangle low frequency
« Reply #6 on: July 12, 2008, 00:39:59 »

In MilkyTracker, try setting Config > I/O > Resampling to No interpolation. Sound familiar?

yeah, that's what happened.  i've also run into high-frequency aliasing, as 0xtob mentioned.  i'm not sure how to combine samples for an instrument, though, in any tracker, is there somewhere i can go to find out?
Logged

0xtob

  • NitroTracker Moderators
  • Newbie
  • Offline Offline
  • Posts: 84
    • View Profile
Re: Odd sound: Sine/Triangle low frequency
« Reply #7 on: July 12, 2008, 11:28:31 »

Sure, there's a tutorial on it in the documentation:
http://nitrotracker.tobw.net/index.php?cat_id=4#instruments
Logged

bithog

  • New User
  • Offline Offline
  • Posts: 2
    • View Profile
Re: Odd sound: Sine/Triangle low frequency
« Reply #8 on: July 12, 2008, 18:07:00 »

i kind of like that sound. I'm using a sine pitched way down in  track now. its real durty. Aint that the beauty of this thing? To get off the audiophile Lavry A/D D/A converter, 24bit 192khz anal trip and jam with this baby?

well for me it is anyway.
Logged

raina

  • Milkytracker Moderator
  • Great Poster
  • ***
  • Offline Offline
  • Posts: 719
    • View Profile
    • raina.kapsi.fi
Re: Odd sound: Sine/Triangle low frequency
« Reply #9 on: July 12, 2008, 21:39:59 »

The sound can often work as an effect adding a little colour to the mix. Generating sine and triangle tones at very low volume and frequency and boosting them afterwards produces nice jagged waves. :)
Pages: [1] 2   Go Up