File:Bark scale approximation.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(3,000 × 2,100 pixels, file size: 235 KB, MIME type: image/png)

Captions

Captions

The comparison of several Bark scale approximation models.

Summary

[edit]
Description
English: The comparison of the several Bark scale approximation models.
Date
Source Own work
Author Kirlf
PNG development
InfoField
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

import numpy as np
import matplotlib.pyplot as plt

#Frequency array between 0 and 20000 Hz in 1000 steps:
f = np.linspace(0,20000,1000) 

zw = 13*np.arctan(0.00076*f) + 3.5*np.arctan((f/7500)**2)
tr = (26.81*f / (1960 + f)) - 0.53
sr = 7*np.arcsinh(f/650)
wsg = 6*np.arcsinh(f/600)
kov = 8.96*np.log(0.978 + 5*np.log(0.994 + ( (f + 75.4)/2173 )**1.347))

plt.figure(figsize=(10, 7), dpi=300)
plt.plot(f*1e-3,zw, label='Zwicker')
plt.plot(f*1e-3,tr, label='Traunmüller')
plt.plot(f*1e-3,sr, label='Schroeder')
plt.plot(f*1e-3,wsg, label='Wang, Sekey & Gersho')
plt.plot(f*1e-3,kov, label='Kovalchuk')

plt.plot(np.array([100,1270,2700,6400,9500,15500])*1e-3,[1,10,15,20,22,24],\
         'ro', label='Points from the Bark scale')

plt.xlabel('Frequency in kHz')
plt.ylabel('Frequency in Bark')
plt.title('Approximation of the Bark Scale')
plt.legend()
plt.grid()
plt.savefig('Results.png')

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current10:50, 12 December 2019Thumbnail for version as of 10:50, 12 December 20193,000 × 2,100 (235 KB)Kirlf (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata