Wednesday, 15 April 2015

GUI Matlab based speech processing

A GUI matlab based speech processing program, in which you can process your speech in realtime and filter it,record it,mix it.

Matlab a popular tool by mathworks is a raw data analysis tool, its a complete backend calculation software which is based on maths and we can develop software,programs,plugins anything with this.
Every software has a code and every code has a syntax and every syntax is defined with a set of mathematical calculations.
Matlab is a software which provides user the interface to create its program using the direct mathematics from scratch.

There are tools available in matlab for doing speech processing but this program is a easier to create and cheaper than the toolbox available.

it started like, one day i was using a song mixing software and it got some error, i was not getting the desired result because the background functions were not known to me, so i felt of making my own program to do this.
i opened matlab and started working on it, non-stop 14 hours of work and atlast i had what i wanted.
the program records user voice first for a defined interval of time and does various filtering operation and time scaling operations on it and displays the graph, it plays the operated sound.

It feels proud when you use your own programs for realtime works than that of using a third party application.

I took the help of books, uncle google and some mathematics tricks.

here is the link to download the program, its posted in matlab open source, and can be downloaded for free.
well i thought its not a popular thing, but i was shock to see 3254 download in a week from matlab sites, so thought of providing the link and description for the same here. 


http://www.mathworks.com/matlabcentral/fileexchange/45617-different-functions-on-speech-signal

Design of Microstrip rectangular patch antenna for wireless application

Research study published in international journal of research

My second research paper, which got published in october 2014, microstrip antenna is a small compact antenna used in mobile phone mainly for effective communications.

Abstract

This paper demonstrates the design of a rectangular probe feed microstrip patch antenna for frequency specific wireless applications operating in the frequency range of 4.2Ghz to 5Ghz.Use of higher bandwidth in microstrip has been possible by using different methods of patch construction but this antenna aims at specific short band of 0.7Ghz to be used only at desired centre frequency of 4.85Ghz. The antenna has a good gain of 7.9209db and directivity of 8.0019db.It has Voltage standing wave ratio less than 2 and is very easy to be constructed.


Introduction:

The huge demand of wireless communication system and their miniaturization has made 
antenna design more challenging. Recently  
microstrip patch antennas have been widely  
used in satellite communications, aerospace, 
radars, biomedical applications and reflector 
feeds because of its inherent characteristics 
such as light weight, low profile, low cost, 
mechanically robust, compatibility with 
integrated circuits and very versatile in terms 
of resonant frequency. The patch antenna 
model used for the numerical simulation in 
Ansoft HFSS is shown below. In this paper the 
patch antenna is designed for 5GHz operation 
on a substrate with 2.2permittivity and 
0.32mm thickness.The patch with the coaxial 
feeding was simulated in AnsoftHFSS.It has a 
bandwidth of 4.5Ghz to 5.2Ghz.


the antenna is practically in use and is functioning as desired. the full paper can be downloaded by visiting this link.

controlling suicides in indian metro railway by implementing a laser driven mechanical prey catching system

This is a Research study under humanitarian technology ,

My first research paper and the one for which i struggled the most to get it work.The design is not yet implemented because of many contradictory designs but is soon to be used in future when government learns it to be the only design to work.

Abstract: 

The objective of this paper is to propose an Analog circuit based design to control suicides in Indian metro railways. The proposed design is cheap, flexible and reliable. A laser beam is used to detect people jumping on the track which is connected to a light dependent resistor to send signal to control room of the station and the train arriving on that platform. Simple encoded transmitter and receiver are used to design the system. The design not only deals with stopping the train in such cases but also catching the people on an automatic driven mechanical tray.

INTRODUCTION
Metro Railway has become the best place for people to attempt suicide. At present the death toll counts 108 in Kolkata metro railway. Due to this abnormal mental activity of humans, metro railway services gets disrupted for many hours which makes the passenger suffer from loss of time and money. A lot of measures have been taken till now to control such accidents but none was found to be efficient enough because all the theories proposed till now deals with controlling the speed of train and power off the tracks.
A new method is implemented in this design, in which a laser beam of low intensity which will not be harmful to any human will run parallel over the edge of the platform if a citizen tries to jump on the track, laser will face obstruction and send a signal to control room as well as to the train incoming on the track. On receiving the signal the control room will switch off the power of tracks and the train on receiving the signal will automatically drive a mechanical tray to catch the person jumping on the track. This design deals with not just controlling but also saving the people attempting suicides.


The research paper can be downloaded from the International journal of research


your comments are invited

 

Migration of Asp.net website from localhost to live server

localhost: the local server that is the local machine


live server: the hosting provider server.


It is always the last step to transfer the website built in local machine to live server, but it takes lot of effort to migrate it successfully.

I recommend www.somee.com as the best hosting provider for asp.net sites.

the easiest step to migrate a site

1) login to your hosting provider account and delete every folder in file manager.

2) create the same folders as in local machine website and manually upload files in their respective         folders.

3)  manually create the database and tables and add the values to it

4)  change the connection string in webconfig file and where ever necessary

Its a time consuming process but the simple and the easiest one and i recommend it.

if you get a runtime error visit my post on Troubleshooting runtime error in asp.net website

your comments are invited


Monday, 13 April 2015

Runtime error set custom mode off in asp.net website

Hi Readers,



Today i have come up with a post which is a solution to the Runtime error occuring on the live
server in Asp.net website.

A website runs perfect in your visual studio development server but throws error in liver server.

when a asp.net website is uploaded or moved to a live server in a hosting provider web space, often this runtime error comes into play.

Runtime error: A error which occurs when the aspx page is parsed to display the contents.

A runtime error comes with a message to set custom error mode off.

A custom error is the error displayed as set by the server, by making it to set off you can get the exact error as you get while you test your website in visual studio development server. This error may occur due to following reasons.

1) incompatible .net version
2) incompatible sql version
3) error in masterpage call
4) error in page redirects.
5) error in queries.
6) error in web-config file

so here is the solution, in most of the sites you will find only a compact solution limited to just first two or 6th. Here i am sharing my personal experience about troubleshooting it.


First step: Set custom error mode to off


here is the syntax and is case sensitive so just copy paste it in web-config file.


<system.web> <customErrors mode="Off"/> </system.web>


Second step:

                         If your site is using an extension domain like www.examples.com/mywebsite then on the top of page in the call for master page add the folder name in which your master                  page is kept.
 for example if i have a website in www.examples.com and i have uploaded a folder called mywebsite in which my masterpage resides. 
then the master page call syntax will be ~/mywebsite/masterpage.master


<%@ Page Title="" Language="C#" MasterPageFile="~/mywebsite/master.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

  


Third step: 

                      if any page is kept in subfolder then use the similar method to call the page at redirects like the master page call.


    Response.Redirects("~/subfolder/pagename");

   

 Fourth step:

                      In live server if your website is in a subfolder or in many live server the subfolder calls results in runtime error so never use the class file in appcode folder to write your connection class.
I know its wrong and not efficient coding but its a only way out, don't use the class file write connection calls and connection string at every place where you wrote the query. 
Put the connection calls in local scope.

Use the connection string provided by the live server without making any changes to it.

if you have used drop-downlist calls in queries then u also need to change the connection string in webconfig file.


Fifth step:

   check the .net framework version of your hosting provider. if it uses different version just        make the target framework change to that version and it will work.
 I know there are website which tells that incompatible framework can't work and sites need to be redesigned but try my tricks and see for yourself.


Sixth step:

 Sql server version unsupported , then dont use FTP to transfer database, just click on the             database in your live server and create a database with the same name as your local database, and create the same tables and fill the data manually.


Seventh step: 

 Run your website by typing the url and clicking on go, and see its working or not, if not               you will get a error which will indicate the proper place where you have got it.Just try to troubleshoot it you will be able to do it, if you have developed the local website.


If you have any queries, your comments are invited, 

About the author

Scholar Ratan pal singh is a Google scholar, a man with innovative ideas and a nothing is impossible attitude, is a tech-lover.
He works as a independent researcher and freelance website and software developer.
Member of IEEE comsoc society, Green technology society and has published research paper and codes in many international journals and opensource.

"Failure is the pillar of success and Honesty with oneself is the only true way of achieving self-confidence."

Translate

Pageviews