This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
// Load plugins | |
const autoprefixer = require("autoprefixer"); | |
const browsersync = require("browser-sync").create(); | |
const cp = require("child_process"); | |
const cssnano = require("cssnano"); | |
const del = require("del"); | |
const eslint = require("gulp-eslint"); | |
const gulp = require("gulp"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Mp3Info do | |
def duration(data) do | |
compute_duration(data, 0, 0) | |
end | |
defp compute_duration(data, offset, duration) when byte_size(data) > offset do | |
case decode_header_at_offset(offset, data) do | |
{:ok, length, {samplerate, samples}} -> | |
compute_duration(data, offset + length, duration + (samples / samplerate)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <float.h> | |
// declare global variables | |
float qrt; | |
float dim; | |
float nik; | |
float pen; | |
float chg; |