• Guest
HabraHabr
  • Main
  • Users

  • Development
    • Programming
    • Information Security
    • Website development
    • JavaScript
    • Game development
    • Open source
    • Developed for Android
    • Machine learning
    • Abnormal programming
    • Java
    • Python
    • Development of mobile applications
    • Analysis and design of systems
    • .NET
    • Mathematics
    • Algorithms
    • C#
    • System Programming
    • C++
    • C
    • Go
    • PHP
    • Reverse engineering
    • Assembler
    • Development under Linux
    • Big Data
    • Rust
    • Cryptography
    • Entertaining problems
    • Testing of IT systems
    • Testing Web Services
    • HTML
    • Programming microcontrollers
    • API
    • High performance
    • Developed for iOS
    • CSS
    • Industrial Programming
    • Development under Windows
    • Image processing
    • Compilers
    • FPGA
    • Professional literature
    • OpenStreetMap
    • Google Chrome
    • Data Mining
    • PostgreSQL
    • Development of robotics
    • Visualization of data
    • Angular
    • ReactJS
    • Search technologies
    • Debugging
    • Test mobile applications
    • Browsers
    • Designing and refactoring
    • IT Standards
    • Solidity
    • Node.JS
    • Git
    • LaTeX
    • SQL
    • Haskell
    • Unreal Engine
    • Unity3D
    • Development for the Internet of things
    • Functional Programming
    • Amazon Web Services
    • Google Cloud Platform
    • Development under AR and VR
    • Assembly systems
    • Version control systems
    • Kotlin
    • R
    • CAD/CAM
    • Customer Optimization
    • Development of communication systems
    • Microsoft Azure
    • Perfect code
    • Atlassian
    • Visual Studio
    • NoSQL
    • Yii
    • Mono и Moonlight
    • Parallel Programming
    • Asterisk
    • Yandex API
    • WordPress
    • Sports programming
    • Lua
    • Microsoft SQL Server
    • Payment systems
    • TypeScript
    • Scala
    • Google API
    • Development of data transmission systems
    • XML
    • Regular expressions
    • Development under Tizen
    • Swift
    • MySQL
    • Geoinformation services
    • Global Positioning Systems
    • Qt
    • Dart
    • Django
    • Development for Office 365
    • Erlang/OTP
    • GPGPU
    • Eclipse
    • Maps API
    • Testing games
    • Browser Extensions
    • 1C-Bitrix
    • Development under e-commerce
    • Xamarin
    • Xcode
    • Development under Windows Phone
    • Semantics
    • CMS
    • VueJS
    • GitHub
    • Open data
    • Sphinx
    • Ruby on Rails
    • Ruby
    • Symfony
    • Drupal
    • Messaging Systems
    • CTF
    • SaaS / S+S
    • SharePoint
    • jQuery
    • Puppet
    • Firefox
    • Elm
    • MODX
    • Billing systems
    • Graphical shells
    • Kodobred
    • MongoDB
    • SCADA
    • Hadoop
    • Gradle
    • Clojure
    • F#
    • CoffeeScript
    • Matlab
    • Phalcon
    • Development under Sailfish OS
    • Magento
    • Elixir/Phoenix
    • Microsoft Edge
    • Layout of letters
    • Development for OS X
    • Forth
    • Smalltalk
    • Julia
    • Laravel
    • WebGL
    • Meteor.JS
    • Firebird/Interbase
    • SQLite
    • D
    • Mesh-networks
    • I2P
    • Derby.js
    • Emacs
    • Development under Bada
    • Mercurial
    • UML Design
    • Objective C
    • Fortran
    • Cocoa
    • Cobol
    • Apache Flex
    • Action Script
    • Joomla
    • IIS
    • Twitter API
    • Vkontakte API
    • Facebook API
    • Microsoft Access
    • PDF
    • Prolog
    • GTK+
    • LabVIEW
    • Brainfuck
    • Cubrid
    • Canvas
    • Doctrine ORM
    • Google App Engine
    • Twisted
    • XSLT
    • TDD
    • Small Basic
    • Kohana
    • Development for Java ME
    • LiveStreet
    • MooTools
    • Adobe Flash
    • GreaseMonkey
    • INFOLUST
    • Groovy & Grails
    • Lisp
    • Delphi
    • Zend Framework
    • ExtJS / Sencha Library
    • Internet Explorer
    • CodeIgniter
    • Silverlight
    • Google Web Toolkit
    • CakePHP
    • Safari
    • Opera
    • Microformats
    • Ajax
    • VIM
  • Administration
    • System administration
    • IT Infrastructure
    • *nix
    • Network technologies
    • DevOps
    • Server Administration
    • Cloud computing
    • Configuring Linux
    • Wireless technologies
    • Virtualization
    • Hosting
    • Data storage
    • Decentralized networks
    • Database Administration
    • Data Warehousing
    • Communication standards
    • PowerShell
    • Backup
    • Cisco
    • Nginx
    • Antivirus protection
    • DNS
    • Server Optimization
    • Data recovery
    • Apache
    • Spam and antispam
    • Data Compression
    • SAN
    • IPv6
    • Fidonet
    • IPTV
    • Shells
    • Administering domain names
  • Design
    • Interfaces
    • Web design
    • Working with sound
    • Usability
    • Graphic design
    • Design Games
    • Mobile App Design
    • Working with 3D-graphics
    • Typography
    • Working with video
    • Work with vector graphics
    • Accessibility
    • Prototyping
    • CGI (graphics)
    • Computer Animation
    • Working with icons
  • Control
    • Careers in the IT industry
    • Project management
    • Development Management
    • Personnel Management
    • Product Management
    • Start-up development
    • Managing the community
    • Service Desk
    • GTD
    • IT Terminology
    • Agile
    • Business Models
    • Legislation and IT-business
    • Sales management
    • CRM-systems
    • Product localization
    • ECM / EDS
    • Freelance
    • Venture investments
    • ERP-systems
    • Help Desk Software
    • Media management
    • Patenting
    • E-commerce management
    • Creative Commons
  • Marketing
    • Conferences
    • Promotion of games
    • Internet Marketing
    • Search Engine Optimization
    • Web Analytics
    • Monetize Web services
    • Content marketing
    • Monetization of IT systems
    • Monetize mobile apps
    • Mobile App Analytics
    • Growth Hacking
    • Branding
    • Monetize Games
    • Display ads
    • Contextual advertising
    • Increase Conversion Rate
  • Sundry
    • Reading room
    • Educational process in IT
    • Research and forecasts in IT
    • Finance in IT
    • Hakatonas
    • IT emigration
    • Education abroad
    • Lumber room
    • I'm on my way

As we were repairing a corrupted .wav file

 
3r3-31. 3r3142. It was an interesting experience when a .wav file was restored with a friend. I decided to describe our tormenting process, suddenly someone will come in handy. 3r3143. 3r33140.  
Prehistory
3r33140.  
3r3142. There are sad stories when a voice recorder hangs /or gives an error when saving a file. Therefore, when we try to open a damaged file, we get errors like: unable to decode format 3r3r166. , [u] Incorrect format. or [u] The program did not recognize the file format 3r3166. .
3r3143. 3r33140.  
Trying to figure out
3r33140.  
3r3142. Since we did not manage to open the file, we decided to google it. We wanted to figure out how to feed the .wav file to the player. Found a bunch of tips: load it in Raw (raw format), play around with settings, etc. All these attempts failed. 3r3143. 3r33140.  
3r3142. We decided to study what wav is, find information about headlines and their 3r-331. Description
:
3r33140.  
3r3142. As we were repairing a corrupted .wav file 3r3143. 3r33140.  
3r3142. Install the hex editor (wxHexEditor), open and try to at least find something similar to the title. 3r3143. 3r33140.  
3r3142. 3r3143. 3r33140.  
3r3142. Failure they were not. 3r3143. 3r33140.  
3r3142. We decided to write a new record with good preservation. Opened it in the editor and see the headers. 3r3143. 3r33140.  
3r3142. 3r3143. 3r33140.  
3r3142. Copy the headers and paste into our broken file (hereinafter referred to as BF)! We convulsively save and run the file in the player, and nothing works! (I, like a real man, began to sob in the corner of the room)
3r33140.  
Before you build something, you need to break something.
3r33140.  
3r3142. We decided to figure out how to break a normal file and get such a ugly picture as a damaged file. 3r3143. 3r33140.  
3r3142. Figure: glued BF on top, normal recording below. 3r3143. 3r33140.  
3r3142. 3r380. 3r3143. 3r33140.  
3r3142. It turned out that if you delete 1 byte in a normal file and save it, the picture becomes similar. And if you return a byte, even an empty one with zeros, then everything becomes normal. 3r3143. 3r33140.  
3r388. Writing a bash script
3r33140.  
3r3142. We decided to delete and save the file by-byte in order to get a normal picture, as in the figure above. Created 2 files, one only headers, and another damaged file (after cutting it a little less than a megabyte). 3r3143. 3r33140.  
3r3142. They wrote a small script that deletes one byte from the file and sticks to the header, and then saves it with a sequence number. 3r3143. 3r33140.  
3r3-300. #! /bin /bash
for i in {11000}
do
cat header.wav> "./wav/$i.wav"
tail -c + $ i raw.wav "./wav/$i.wav"
done

3r33140.  
3r3142. Run the script and with awe, on the edge of the chair, waiting for the result. Unfortunately, we had to look through these files manually, but we didn’t know how to do it differently. Threw 250 files in audacity and looked at the tracks: 3r3143. 3r33140.  
3r3142. 3r3117. 3r3143. 3r33140.  
3r3142. I did not have to scroll long, because on the 537 file we found what we were looking for:
3r33140.  
3r3142. 3r3143. 3r33140.  
3r3142. It remains the case for small. We look at this file in the hash of the editor, where it stopped. Open the BF in the editor and delete after the header we need the length of bytes. That's it, the two-hour file plays normally. 3r3143. 3r33140.  
3r3133. P.S.
3r33140.  
3r3142. Most likely, it could be made easier. Who knows how to facilitate the work or somehow optimize it, write, add to this "guide." 3r3143. 3r33140.  
3r3142. Thank you all for your attention. 3r3143. 3r3151.
3r3148. ! function (e) {function t (t, n) {if (! (n in e)) {for (var r, a = e.document, i = a.scripts, o = i.length; o-- ;) if (-1! == i[o].src.indexOf (t)) {r = i[o]; break} if (! r) {r = a.createElement ("script"), r.type = "text /jаvascript", r.async =! ? r.defer =! ? r.src = t, r.charset = "UTF-8"; var d = function () {var e = a.getElementsByTagName ("script")[0]; e. ): d ()}}} t ("//mediator.mail.ru/script/2820404/"""_mediator") () (); 3r3149.
3r3151.

It may be interesting

  • Comments
  • About article
  • Similar news
This publication has no comments.

weber

Author

15-12-2018, 13:29

Publication Date

Administration / *nix

Category
  • Comments: 0
  • Views: 353
Create a Shape Map RF map in Power BI
Under the hood JobIntentService
The gate closes. Until the threshold of
Razor support in Visual Studio Code
Getting links to audio without VKApi
Straight line with TM. v3.0
Write a comment
Name:*
E-Mail:


Comments
Global Dezigns is a Website Development Company in Karachi, Providing services of
website design in karachi
. We are delivering the best partnership across Pakistan. provides a complete range of web development services including web applications, website hosting and maintenance, domain registration, on-page search engine optimization, and website integration with social media platforms such as Facebook, Twitter, LinkedIn, Google Maps, and Google Local Directory. We believe we are well placed to take our knowledge and expertise to the logical next level with the latest web standards.  
  Show/hide text
https://www.globaldezigns.com/



Yesterday, 22:45

mike tomlin

This blog is really great. The information here will surely be of some help to me. Thanks!.mastering physics

Yesterday, 17:57

raymond weber

Coinyspace is the cryptocurrency community and trading forum where members can find any contributors of crypto ecosystem like currencies, exchanges & merchants. Check Out: Bitcoin Merchants
Yesterday, 16:57

noorseo

This is a great high resolution screen which you have shared for the users. Making a website is not an easy task but managing a good website is really a hard work. As far as this website is concerned, I am very happy.https://19216801.1
Yesterday, 16:01

nushra45

i'm satisfied to deem this make recognized Very beneficial for me, as it contains lot of advice. I usually favor to buttonhole The excellent and glad i found this count number in you assertion. thanks Subliminal Hypnosis
Yesterday, 14:56

jahangirkhatri

Adv
Website for web developers. New scripts, best ideas, programming tips. How to write a script for you here, we have a lot of information about various programming languages. You are a webmaster or a beginner programmer, it does not matter, useful articles will help to make your favorite business faster.

Login

Registration Forgot password