TOP Contributors

  1. MIKROE (2663 codes)
  2. Alcides Ramos (357 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 (137067 times)
  2. FAT32 Library (70198 times)
  3. Network Ethernet Library (56080 times)
  4. USB Device Library (46392 times)
  5. Network WiFi Library (42013 times)
  6. FT800 Library (41347 times)
  7. GSM click (29108 times)
  8. mikroSDK (26543 times)
  9. PID Library (26483 times)
  10. microSD click (25483 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: 380 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

Camper Light Control Project Update

0

This is the mid point of this project. The Light Control is working with Blue Tooth Coms between the head end and the light controller. The VGLCD code is working the touch panel to turn on and off lights. I will be adding Voice Control using the Speak-Up and Smart_MP3 modules in the near future. Enjoy New Version, more functionally. Dick

[Learn More]

RV Monitor System Two Displays, Battery Voltage, Fresh Water Level, Outside Temp, Inside Temp, With Cycleing Mode

10

This is a Monitor system for Travel Trailers, Pop Up's and other RV's. I have made provisions for two displays, one inside and one outside. A single button for each display steps through the modes. Modes include Battery Voltage: Fresh Water Level: Outside Temp: Inside Temp: Cycle The Data Displays: Off: Thanks For Looking Dick

[Learn More]

Example of Using a STP16CPC05 16 Bit Serial in Shift register to light LED's

0

Test software to demonstrate the capabilities of the STP16CPC05 serial in 16 bit shift register with Current Limiting to light 12 LED's Rev 2.0 Rev 3.0 is the end of this project. I added a couple more test and am including a link to a Video on You Tube.

[Learn More]