It is currently Mon Dec 11, 2017 4:35 am

All times are UTC - 7 hours



Forum rules


Related:



Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Sat Mar 11, 2017 3:18 pm 
Offline

Joined: Wed May 19, 2010 6:12 pm
Posts: 2420
I implemented all 8 algorithms but I'm having a quantization noise problem with algorithm 7. In order find the BRR "range" I just added up the carrier volumes, and counted the number of 0 bits at the top. If you have several carriers that are slightly detuned they could cancel each other out, which would turn into a square wave with only 4 bit samples. I guess I just have to find the BRR range by checking each sample individually.


Top
 Profile  
 
PostPosted: Thu Mar 23, 2017 4:27 pm 
Offline

Joined: Sat Jul 26, 2014 9:50 am
Posts: 54
psycopathicteen wrote:
I implemented all 8 algorithms...


I'm looking forward to hearing what that sounds like.

I made this test awhile ago using the original code you posted... I just dropped your code into the middle of the SNESMod vibrato routine. 4xy: x = vibrato speed and carrier frequency, and y = vibrato depth and modulation frequency; but only when the vibrato waveform is $08-$0f. <$08 is just vibrato waveforms. Each time the song repeats the FM waveform is changed.

Channel 1: FM waveform echo

Channel 3+5 FM waveform
Channel 4+6 2nd waveform (pitch modulation enabled)

carrier frequency = #$02
modulation frequency = #$04

I was working on a ROM that would allow you to change various settings maybe I'll dig that up.

Also, it's weird that .spc extension is not allowed.


Attachments:
fmtest.bin [64.5 KiB]
Downloaded 48 times
Top
 Profile  
 
PostPosted: Sat Mar 25, 2017 11:01 am 
Offline

Joined: Wed May 19, 2010 6:12 pm
Posts: 2420
Can BIN be directly used as an SPC file?


Top
 Profile  
 
PostPosted: Sat Mar 25, 2017 9:52 pm 
Offline

Joined: Fri Jul 04, 2014 9:31 pm
Posts: 818
I just saved it as an SPC file, and it worked.


Top
 Profile  
 
PostPosted: Sun Mar 26, 2017 1:34 am 
Online
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7312
Location: Chexbres, VD, Switzerland
I tried to play it with both of my SPC players and it sounded awful in both. Is this due to an emulation inacuracy or is it supposed to sound like this ?


Top
 Profile  
 
PostPosted: Mon Mar 27, 2017 1:30 pm 
Offline

Joined: Sat Jul 26, 2014 9:50 am
Posts: 54
Bregalad wrote:
I tried to play it with both of my SPC players and it sounded awful in both. Is this due to an emulation inacuracy or is it supposed to sound like this ?


It doesn't sound great. I noticed playback varied a lot on each SPC player I tried. After real hardware it probably sounded the best on SPCPlay.

Due to limited RAM I'm only using two BRR blocks. How good it sounds depends on the waveform selected and settings used. The ramp up and ramp down waveforms probably sound the worst unless you are looking for a super glitch-y sound.

I've attached another test and a song, although they probably do not sound much better.


Attachments:
File comment: Channel 1 & 3 are a saw waveform
Channel 2 is the fm synth

other-test.spc.bin [64.5 KiB]
Downloaded 38 times
song.spc.bin [64.5 KiB]
Downloaded 42 times
song.mp3 [2.06 MiB]
Downloaded 74 times
Top
 Profile  
 
PostPosted: Mon Mar 27, 2017 6:20 pm 
Offline

Joined: Wed May 19, 2010 6:12 pm
Posts: 2420
The first half sounds awesome though


Top
 Profile  
 
PostPosted: Mon Mar 27, 2017 8:36 pm 
Offline
User avatar

Joined: Mon Sep 15, 2014 4:35 pm
Posts: 3152
Location: Nacogdoches, Texas
Augustus Blackheart wrote:
It doesn't sound great.

What is causing this? It sounds like an electronic voice crack at 22 seconds in.


Last edited by Espozo on Tue Mar 28, 2017 5:19 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Tue Mar 28, 2017 2:17 am 
Offline

Joined: Thu Feb 07, 2013 1:15 am
Posts: 96
Location: Sweden
Wow, this is awesome!


Top
 Profile  
 
PostPosted: Mon Aug 28, 2017 7:03 am 
Offline

Joined: Sat Jul 26, 2014 9:50 am
Posts: 54
Here's another example (made during a shocking international incident). There's one version with FM and pitch modulation, it's used starting one minute into the song, and one version with pitch modulation only.


Attachments:
File comment: with FM (change extension to spc)
Augustus Blackheart - Lengi lifi ananas-pizzan - Orsök.bin [64.5 KiB]
Downloaded 31 times
File comment: without FM (change extension to spc)
Augustus Blackheart - Lengi lifi ananas-pizzan - Orsök-no-fm.bin [64.5 KiB]
Downloaded 18 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC - 7 hours


Who is online

Users browsing this forum: Bregalad and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group