TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139257 times)
  2. FAT32 Library (71751 times)
  3. Network Ethernet Library (57123 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42404 times)
  7. GSM click (29835 times)
  8. mikroSDK (28078 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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: 392 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

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]

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]

Saving Glcd Calibration Data in internl EEPROM

0

Calibrate the Touch Panel (only if required) with saved data that is check summed. Displays Cal Data and EEPROM Data on GLCD PIC 18F46K22

[Learn More]