[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4759: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
Open Music Labs Forums • View topic - Reduced volume with flanger demo

Reduced volume with flanger demo

Reduced volume with flanger demo

Postby rascalmicro » Sat Aug 13, 2011 4:52 pm

Hi,

Just got my audio codec shield a couple of days ago, and I've just been trying to get it going with an Arduino this afternoon. Took me a little bit to figure out that I should put the Audio Codec Shield in the Arduino/Libraries folder, but after I figured that out, it works beautifully. Congratulations on making something that works!

In trying out the different examples, I notice that the flanger reduces the volume of the signal as it passes through the shield. Is this what's expected? Is the volume decreased by a constant factor?

Brandon
Brandon Stafford
Rascal Micro: small computers for art and science
rascalmicro
 
Posts: 8
Joined: Sat Aug 13, 2011 4:19 pm
Location: Somerville, MA, USA

Re: Reduced volume with flanger demo

Postby rascalmicro » Sat Aug 13, 2011 4:58 pm

Brandon Stafford
Rascal Micro: small computers for art and science
rascalmicro
 
Posts: 8
Joined: Sat Aug 13, 2011 4:19 pm
Location: Somerville, MA, USA

Re: Reduced volume with flanger demo

Postby guest » Sat Aug 13, 2011 10:09 pm

guest
Site Admin
 
Posts: 449
Joined: Thu May 20, 2010 11:58 pm

Re: Reduced volume with flanger demo

Postby rascalmicro » Sun Aug 14, 2011 4:57 am

Brandon Stafford
Rascal Micro: small computers for art and science
rascalmicro
 
Posts: 8
Joined: Sat Aug 13, 2011 4:19 pm
Location: Somerville, MA, USA

Re: Reduced volume with flanger demo

Postby guest » Sun Aug 14, 2011 10:47 am

cool
best of luck with the compressor

sorry about the confusing c refrences
im new to the whole c thing

there are two different ways of doing compression
one is just with a lookup table and interpolation
this is basically how early telephones did it
they had different lookup tables
mu-law and a-law were the common ones
and they used them to get better dynamic range
out of the a to d converters

the other sort is used in studios and cellphones today
and its a dynamic compressor
or automatic gain control circuit
and these try to keep the output signal at the same level
regardless of the input signal
so it takes a short term average of the rms signal
and uses that to set the amplification factor
guest
Site Admin
 
Posts: 449
Joined: Thu May 20, 2010 11:58 pm

Re: Reduced volume with flanger demo

Postby mcanulty » Sun Aug 14, 2011 4:23 pm

It's awesome to hear that you're getting into the code! Definitely consider uploading your stuff on the forum, and suggestions like variable name changes will get evaluated and hopefully implemented at some point. The C code is still young, so comments and implementable suggestions on the readability are helpful!
mcanulty
Site Admin
 
Posts: 63
Joined: Thu May 20, 2010 10:46 pm

Re: Reduced volume with flanger demo

Postby rascalmicro » Mon Aug 15, 2011 6:44 am

Brandon Stafford
Rascal Micro: small computers for art and science
rascalmicro
 
Posts: 8
Joined: Sat Aug 13, 2011 4:19 pm
Location: Somerville, MA, USA

Re: Reduced volume with flanger demo

Postby rascalmicro » Mon Aug 15, 2011 6:52 am

Brandon Stafford
Rascal Micro: small computers for art and science
rascalmicro
 
Posts: 8
Joined: Sat Aug 13, 2011 4:19 pm
Location: Somerville, MA, USA

Re: Reduced volume with flanger demo

Postby rascalmicro » Mon Aug 15, 2011 7:23 am

Brandon Stafford
Rascal Micro: small computers for art and science
rascalmicro
 
Posts: 8
Joined: Sat Aug 13, 2011 4:19 pm
Location: Somerville, MA, USA

Re: Reduced volume with flanger demo

Postby guest » Mon Aug 15, 2011 7:07 pm

i was concerned that people wouldnt know what a macro was
or that it would be more confusing to introduce more lingo

if you dont use the macros
it takes 4 times as long to do a multiply
which basically eats up almost all of your time

it sounds like the explanation in the read_me file
didnt do a very good job of showing how to use the macro
guest
Site Admin
 
Posts: 449
Joined: Thu May 20, 2010 11:58 pm

Next

Return to Audio Codec Shield

Who is online

Users browsing this forum: No registered users and 1 guest


cron