TOP Contributors

  1. MIKROE (2651 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136600 times)
  2. FAT32 Library (69803 times)
  3. Network Ethernet Library (55879 times)
  4. USB Device Library (46209 times)
  5. Network WiFi Library (41856 times)
  6. FT800 Library (41064 times)
  7. GSM click (28941 times)
  8. PID Library (26400 times)
  9. mikroSDK (26306 times)
  10. microSD click (25321 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

Sorting out the Logarithmic Scale for the Volume Control for SMART_MP3 Click

Rating:

0

Author: Dick Berry

Last Updated: 2014-07-13

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Audio & Speech

Downloaded: 377 times

Not followed.

License: MIT license  

Here is a spreadsheet with the volume control numbers for a 0 to 11 scale translated to the 0 - 255 controls of the Smart_MP3. It's a simple LOG10 scale but that approximates the true LOG scale close enough.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Sorting out the Logarithmic Scale for the Volume Control for SMART_MP3 Click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Sorting out the Logarithmic Scale for the Volume Control for SMART_MP3 Click" changes.

Do you want to report abuse regarding "Sorting out the Logarithmic Scale for the Volume Control for SMART_MP3 Click".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
Other Compiler
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

This is a XL spreadsheet for a LOG10 Volume control Scale. I used 0 to 11 as a level scale because it's part of my Camper Light Control project, but you could easily modify the sheet for any scale you choose. The formula is documented as well as in the cells. Here are two links to papers I referenced while researching this subject.

 

BTW I expect I will have to modify the final numbers depending on the amplifier and speaker I will be using, but the progression is pretty true. I also had to change the value of 1 to 1.1 to avoid a log of 0 which didn't help in the volume control scheme.

 

http://www.dr-lex.be/info-stuff/volumecontrols.html

 

http://www.cs.sfu.ca/~tamaras/digitalAudio/digitalAudio.pdf

 

Dick

ALSO FROM THIS AUTHOR

Interrupt Driven State Machine MP3 Player for Smart MP3-Board

0

This is a real time state machine that plays MP-3 files from the SD Card using the Smart-MP3 board. Now I can service the GLCD and Touch Panel while playing Audio Files. I've included the five songs I tested with. Just copy them to your SD Card.

[Learn More]

ExpressPCB Schematic and PCB Layout (FREE Software)

0

A very nice Schematic Drawing Tool and PCB Layout Software (Free Download) Extensive Library with component building. Up to four layer PCB can be ordered from them but not required. Software is not a trial and is fully enabled. Many PIC Controllers in the Library. http://www.expresspcb.com/index.htm Enjoy! Dick

[Learn More]

Readin the AM2303 Temp/Humidity Sensor with Basic

0

I'v seen a several C examples for reading these sensors but haven't found one in Basic. So here is the Source file for a Module in my RV Monitor Project for Handleing the AM2303. See the RV Monitor Project for a detailed Blog.

[Learn More]