justin = {
main feed
,
music
,
code
= {
cockos
,
reaper
,
wdl
,
ninjam
,
jsfx
,
more
}
,
askjf
,
pubkey
};
Ask Justin Frankel
No reasonable question unanswered since 2009!
Suggested topics: programming, music, sleep, coffee, etc.
Note: please do not ask questions about REAPER features, bugs or scheduling, use the
forums
instead.
Name:
Ask:
Human (enter yes):
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Question:
I want to mix two audio samples. Adding them together and dividing by 2 reduces audio gain. What should I do? (using realtime)
Asked by Ruchira (175.157.30.x) on March 29 2025, 3:41am
Reply on March 29 2025, 3:43am:
add them together, don't divide by two?
Comments:
Posted by Ruchira Hasaranga (111.223.184.x) on March 29 2025, 6:29am:
isn't that causes the output values to be more than 1.0?
Posted by
Justin
on March 29 2025, 2:26pm:
depends on the signal of each... but yes you could end up with some samples over +-1, which might need handling if converting to integer PCM
Comment:
Your Name:
-- Site Owner's Name:
(for human-verification) Comment:
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Copyright 2025 Justin Frankel
.
|
RSS