ByteBeat App turns tiny formulas into raw digital sound, animated
waveforms, visualizers, presets, WAV exports, and shareable sound
experiments. This guide takes you from the first t tone to
drums, basslines, melody masks, arrangements, and floatbeat textures.
Every practice sample can open directly inside the app.
ByteBeat App is built for fast musical experiments: type a formula,
press play, watch the waveform react, save the best patches, export audio,
and share links that reopen the same sound. It is a focused playground for
learning how math, bits, rhythm, and time become sound.
The lessons below are designed for real practice, not passive reading.
Open a sample in the app, listen carefully, change one number, then save
the variation when it starts to feel musical.
Code to soundWrite compact formulas and hear them as live bytebeat audio.
Visual feedbackUse waveform and reactive visuals to understand the signal.
Save and shareKeep presets, export WAV files, and reopen samples from links.
Start here if you are new
No coding background needed.
You do not need to learn programming before using ByteBeat App. Treat each
formula like a small sound recipe. The goal is not to understand every
symbol immediately. The goal is to open a working sound, change one tiny
part, listen, and slowly learn what that change does.
Install or open ByteBeat App.
Use the download button above if the app is not installed yet.
Tap Open in App on the first sample.
Start with t. It is intentionally simple, because it teaches
the core idea without extra noise.
Press play and listen before editing.
Give each sound a few seconds. Bytebeat patterns often reveal themselves
after the counter has moved for a while.
Change one number only.
For example, change t*3 to t*5. If you change
many things at once, it becomes hard to know what caused the new sound.
Save good accidents.
If a mistake sounds interesting, save it as a preset. Bytebeat is full
of useful surprises.
1. First Sounds
Bytebeat formulas are evaluated again and again while t counts upward:
0, 1, 2, 3, and so on. In Bytebeat output mode, the app keeps the low 8 bits
of the result, so values wrap around from 255 back to 0.
Core idea
Start with ramps. A ramp is a repeated rise from low to high. Faster ramps
sound higher. Slower ramps sound lower. The expression t is the
most direct ramp. Multiplying t makes it climb faster.
t gives a bright raw tone.
t*2 is higher because the ramp moves twice as fast.
t>>4 changes slowly, which creates a stepped low pattern.
Goal: hear the difference between sample value, pitch, and stepping.
2. Time and Pitch
Bit shifts are the main time control in bytebeat. t>>n means
"divide time by a power of two." Small shifts change quickly. Big shifts
change slowly.
How to think about shifts
Use shifts as clocks. t>>8 changes much slower than t>>4.
When a slow clock is used inside a pitch formula, the sound changes in
phrases instead of staying still.
>> slows a value down.
<< speeds a value up and can get aggressive quickly.
& keeps selected bits, often creating repeating masks.
Listen for the point where a shift stops sounding like pitch and starts
sounding like rhythm.
3. Rhythm
Percussion in bytebeat often comes from sudden changes. Masks, modulo,
subtraction, and noisy bit combinations create clicks, hats, snares, and kick-like pulses.
Build a beat from gates
A gate is a formula that turns part of the sound on or off. When a slow
bit changes, the tone suddenly jumps. That jump becomes rhythm. Combine
several gates with | or +.
Kicks often use low, short pulses.
Hats often use fast noisy bits.
Snares often combine noise with a timed gate.
If a pattern gets too harsh, lower the app gain before exploring denser formulas.
4. Melody
A melody is a sequence of pitch choices. In bytebeat, a compact way to store
a sequence is to pack numbers into a hexadecimal mask, then shift through it over time.
Use masks as note tables
The expression 0xCA98>>(t>>9&15)&15 pulls a small value
from the hexadecimal number 0xCA98. That value changes every
t>>9 step and becomes a pitch multiplier.
Change the hex number to reshape the melody.
Change t>>9 to control note speed.
Use &15 to keep a value inside 0 to 15.
The fastest way to learn melody masks is to change one hex digit, then listen.
5. Layers
Bytebeat songs often sound complex because several simple parts are combined.
Use | for crunchy digital mixing, + for additive mixing,
and ^ for unstable XOR textures.
Layer by role
Keep each part understandable: one bass, one rhythm, one melody, one
texture. If the formula becomes hard to read, break it apart mentally
and test each part alone first.
Bass: slower, lower, often built from t>>5 to t>>12.
Lead: faster pitch multiplication and masks.
Drums: sudden jumps, noise, and time gates.
Practice muting one layer at a time by deleting one side of an operator.
6. Texture
Texture comes from interference: values fighting, folding, wrapping, or
modulating each other. Small changes can produce large sound changes.
Controlled roughness
Use folds and masks to create motion without losing the beat. A fold
changes the effective range or direction of a ramp. A mask carves repeated
holes into a sound.
t*(t>>5|t>>8) makes a moving harmonic field.
>>(t>>16) changes the whole formula at phrase speed.
^ creates sharper, less predictable edges.
Texture formulas can be loud. Use the app gain and output mode deliberately.
7. Arrangement
Arrangement is how a formula changes over time. Use slow clocks such as
t>>13, t>>15, and t>>17 to switch
sections, thin out layers, or reveal new patterns.
Make phrases, not loops
A one-bar loop becomes a track when slow bits decide which layers are
active. Ternary expressions are useful in JS-big mode:
condition ? soundA : soundB. For Classic mode, use masks and
bitwise gates instead.
Use (t>>15)&1 as a section switch.
Use (t>>13)&3 as a four-part phrase clock.
Keep one anchor sound stable so changes feel intentional.
A strong arrangement changes slowly enough that the listener can notice it.
8. Advanced Techniques
JS-big mode opens more bytebeat styles: math functions, ternaries, and
multi-line expressions with return. When you use smooth functions
such as sin in normal bytebeat output, scale the result into the
0 to 255 byte range so it becomes audible.
When to use JS-big and floatbeat
Classic mode is great for strict old-school bytebeat. JS-big mode is
better for formulas that use sin, floor, ternaries,
and named temporary values. A raw sine wave returns values around -1 to 1,
so bytebeat formulas usually add 128 and multiply by 127.
Use 128+127*sin(...) for sine waves in bytebeat output.
Use return for multi-line formulas.
Use the app output mode selector to compare Bytebeat and Floatbeat.
Advanced practice is about control: reduce gain, change one parameter,
and keep the parts named in your own notes.
Sample Practice Library
Use this section as the first website integration target. Each row has a
formula, a purpose, and app links generated from the same data attributes
used in the lessons above.
First rampstarter
t
Understand the raw sample counter.
Crunchbuilt-in
t*(t>>11& t>>8 &123 & t>>3)
A dense classic texture from the app preset list.
Reese stylebass
(t>>6|t|t>>(t>>16))*10+((t>>11)&7)
A rough bass-like patch with long movement.
Melodic clockminimal
((t>>10)&42)*t
Small code, strong musical identity.
Reference
Keep this nearby while practicing. The exact sound depends on sample rate,
output mode, expression mode, and gain, but these patterns are stable.
Operators
*
Multiply. Often raises pitch or increases density.
>>
Slow time down by shifting bits right.
<<
Speed values up by shifting bits left.
&
Mask bits. Useful for gates and repeating shapes.
|
Combine bits. Useful for crunchy layering.
^
XOR. Useful for sharp interference.
Time Values
t>>4
Fast stepping and buzzing movement.
t>>8
Note-rate motion for many formulas.
t>>12
Beat and phrase-level switching.
t>>16
Long arrangement changes.
Workflow
1
Start from a formula that works.
2
Change one number or one operator.
3
Listen for rhythm, pitch, and harshness.
4
Save useful variations as presets.
Bytebeat Learning FAQ
These answers summarize the core ideas people search for when they are new
to bytebeat, music coding, and formula-based sound design.
What is bytebeat?
Bytebeat is a way to create digital sound from short formulas. A
changing time counter, usually named t, is transformed with
math and bitwise operators into raw audio samples.
Do I need coding experience?
No. Start by opening a working bytebeat formula, listening to it, and
changing one number or operator. That is enough to learn pitch, rhythm,
texture, and arrangement step by step.
Can examples open in the app?
Yes. Practice examples use universal links. If ByteBeat App is installed,
iOS can open the formula in the app. If it is not installed, the fallback
page points users to the App Store.