Newsfinder e-magazine: A literary favor to world culture
 2162 days since Newsfinder launched.
 

At Last A Debugger That Plays Nice Music When Everything Is OK

Posted by Gas Terzoulin  Posted by Gas Terzoulin in Computers section

Programmer In Hard Work

How many times did all programmers spend hours and days to find out where is the logical error and the program doesn?t run properly. Making music out of computer code is helping programmers to catch the bugs that can cause software to go awry.

Musical approach helps programmers catch bugs
Making music out of computer code is helping programmers to catch the bugs that can cause software to go awry.

How many times did all programmers spend hours and days to find out where is the logical error and the program doesn?t run properly.
Computer code is often prone to errors that are difficult to spot. In a long program, made perhaps of hundreds or thousands of lines of programming language code, it is possible for the writer to misjudge how the various elements of the software will work together.

So-called debugging software can iron this out, by letting people look at a graphical representation of a program but mot very helpful. This helps a little to find bugs by highlighting which parts of a program are communicating with others.

But the computer’s sound capabilities are ignored in debugging, says Paul Vickers at the University of Northumbria. “It’s sitting there as a completely unused channel, while lots of effort is being put into visualisation tools.”

So Vickers and James Alty of Loughborough University developed a system that automatically converts computer program code written in Pascal into simple “music”.

Stephen Brewster, who specialises in programming theory at the University of Glasgow, believes the music may well help programmers verify code. “Your ears are extremely good at picking up temporal patterns,” Brewster says. “Sometimes better than eyes.”

Wrong note
Vickers and Alty assigned particular musical phrases to different Pascal language constructs, such as conditional statements and loops. A synthesised chord, for example, represents conditional statements such as “IF TRUE”. A loop could have an ascending string of synthesised notes associated with it.

When different sections of code are put together, they should form a harmonious tune. But if a loop, for example, does not execute properly, the music would not ascend properly and the programmer should hear the error. Similarly, a duff statement would produce a different chord that would be immediately apparent. It will be very interest to have your favorite music when everything is ok.

Vickers tested the system on 22 computer science students at Loughborough University. They had to find errors in a buggy program by scrolling through the code. But some of them could hear a musical representation of the program at the same time.

Musical aptitude
Overall, those who “heard” the code identified more bugs. “When they heard the music, they found more bugs,” says Vickers. “It was statistically significant enough to indicate it is worth taking further.” But it is unclear how much this may be due to the ability of each programmer, or their individual musical aptitude, so Vickers plans more tests.

Alan Blackwell at Cambridge University, an expert on the psychology of computer programming, believes “auralisation” of program code can assist with some forms of problem-solving activity. But he says further research is needed to see if it is any better than other representations.

Brewster hopes that future software development tools will include some simple sound abilities. “There would be lots of interesting things people could find out about their programs, by listening to them as well as looking at them,” he says.

I hope this will be work and to other programming language. I can think and imagine how helpful that will be when your eyes will be tired but we can listen to music. It really helps.


Tag  Tag: At Last A Debugger That Plays Nice Music When Everything Is OK 
 

Statement

The information contained does not necessarily reflect the opinions, beliefs or position of the Newsfinder.org. The Newsfinder.org take no responsibility for the information submited by authors. The copyright for each article including photos, belongs to the respective author. Copyright for the journal as a whole belongs to Newsfinder.org. If, you re-use the material in other publications, you must cite the Newsfinder.org as the original source of publication.

Authors are responsible for obtaining permission to reproduce copyright materials from other sources.

Top 100 tags

Shuttlecock - Karma of Past Lives - Asalha Puja day - History of the Tooth Relic - Ahimsa, non Violence - Dhammapada - Symbol of the Absolute - Shambhala - Buddhist cosmology - Gate of Death - Life after death - Finding Inner Peace - Becoming a Boddhisattva - Metta Bhavana - Varanasi - Lotus Temple of Bahapur - Inner Peace is real - Padmasambhava - Mantras - sound symbols - Angulimala - Guarding the Senses - What is Buddhism? - Buddhist gestures of respect - Om mani padme hum - The Triple Gem - Suffering - Impermanence - Impersonality - Madihe Pannaseeha Thera - Universal Dharma Realms - Bodhisattva Tara - Talalle Dhammaloka - Vulture Peak - Buddhist Scrolls on Sale - Mapping the Unknown Tibet - Tracing the Buddhist Path - The Three Wise Monkeys - Maha Karuna - Jivaka Kumarabhacca - Mantra Meditation - Thangka paintings - Mahayana Buddhist rituals in Japan - Anagarika Dharmapala - Prayer Wheels - Dracula theme park - Chips under skin - Electronic Mind Control - The Druze of Lebanon - Is this the skull of our father? - Mysterious historic rock sculptures of Buduruwagala - Hindus convert to Buddhism - Giant gas halo from sun caught on camera - Tai Ji Quan the Art of Life - Yoga The Art Of Breathe - Getting Along Better with Your Kids - Zen Gardens - Long-Time Tea Drinking Aid Bones - Capoeira The Brazilian Martial Art - Asians in Britain - The Khazar Empire - Churning of the Heart, Volume One - Shaktipat and Kundalini - Whoever said you can't build your own black hole? - Sun Tzu's Classic The Art of War - Stonehenge a megalithic monument - Robot See, Robot Kill - How to Find a Counselor or Therapist for Your Child - Why are we here - Spiritual Qualities - Kushan empire new discoveries - A crazy pool pro Greek in Montreal - Mystery of Selfless - Chinese develop a new Operating System - Cab driver has an idea for Olymbic Game parade - Improve maths teaching - Hollywood Movies About Asteroids Becam True - Time Traveller - Making the Decision to be FREE - The 4 Dragons a Chinese tale - Where Did That Galaxy Go? - Harmless give-and-take or just Bullying - Karma, Kamma, Vipaka and Rebirth - Moon illusion in early evening - Artificial mouth - Sacred City of Kandy - Big Buddha of Leshan - U.S. Navy's Sonar Techonology kills whale population - The legend of Miao-shan - Baiijia River Dolphin - Thought Contagion : How Belief Spreads Through Society - The Mediterranean Monk Seal - America's Stonehenge - Mystery Hill - Venerable Ming Yang passes away - Nature's Treasure - Essential Oils - A Beautiful Flower In A Broken Pot - The Complete Idiot's Guide to Understanding Buddhism - Paper Cutting - The Story of Vimanas - Pyramids in China - Ayurveda,the science of longevity -

Copyright Newsfinder.org 2002 and on, All content is protected by U.S.copyright and international treaties. All Rights Reserved.