9 posts / 0 new
Last post
TheRektafire
Offline
Joined: 08/27/2014 - 10:45
This is kind of a weird question but, what is the samplerate of the 8bitsynth

I am wanting to submit a Bytebeat track to battle of the bits but one of the requirements is to list the samplerate which I don't know :( Would I be correct in just assuming that c4 is 8khz and just working from there or is that wrong? 

James
James's picture
Offline
Joined: 01/21/2013 - 07:09
This is kind of a

This is kind of a philosophical question.

If you export audio from Caustic as a 32 Bit wav file, including patterns created with the 8 Bit synth, there's probably a case for stating that the sample rate on the 8 Bit Synth is actually 32 Bit by the time it's exported.

I did a little bit of reading and found that some 8 Bit synths used 10 Bit Digital to Analogue converters (DAC) so again, was it true 8 Bit audio to begin with?

 

TheRektafire
Offline
Joined: 08/27/2014 - 10:45
I meant what is the

I meant what is the samplerate of the internal bytebeat generator the 8bitsynth uses, that is the important part.

UncleAfx
UncleAfx's picture
Offline
Joined: 03/06/2016 - 20:08
Here's something you can try

Here's something you can try if you're using android.

https://play.google.com/store/apps/details?id=com.midnightsun.synth.android

That app can play any equation you make in caustic. But also it can play it in 5 different sample rates. Maybe a side by side comparison would give you your answer.

James
James's picture
Offline
Joined: 01/21/2013 - 07:09
http://www.singlecellsoftware
UncleAfx
UncleAfx's picture
Offline
Joined: 03/06/2016 - 20:08

James
James's picture
Offline
Joined: 01/21/2013 - 07:09
key statement from the thread

key statement from the thread was from Mike (imo):

'Rej's synths are float precision. The 8 bit means he truncating the samples to 8 bits of resolution in the calculations but the output signal from the synth is float.'

So I read that as the code that generates the sounds is 8 Bit, internally within the 8 Bit synth but the audio output is back to full Bit rate (is that 32 bit?).

carl-alex
Offline
Joined: 11/08/2012 - 05:30
As I understand the generator

As I understand the generator produces 256 steps/samples for each note (dependent on the key pressed).

So the rate should be: "frequency of note * 256"

The output of the generator is converted to the standard sound format with a sample rate of 44,1 kHz.

mike
mike's picture
Offline
Joined: 12/18/2011 - 15:53
Yeah it's bit shifting/xor

Yeah it's bit shifting/xor etc integers(yes 8 bit == 256 values) then pushing those samples back into the float audio stream.

A float can be an 8 bit integer, an 8 bit integer can be a float but it's decimal is just chopped.

The sample rate is the sample rate. I think the question is confusing because there are two parts to the audio stream.

The audio stream code is always running at the set sample rate, that never changes. What happens in the process audio for each synth is a black box to the audio stream, it doesn't care, it just says fill this box.