File:Progression continue octave do3 do4.ogg

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

Progression_continue_octave_do3_do4.ogg(Ogg Vorbis sound file, length 4.8 s, 15 kbps, file size: 8 KB)

Captions

Captions

Continuous progression (glissando) on one octave.

Summary[edit]

Description
English: Continuous progression (glissando) on one octave, from C3 to C4; made with Scilab, converted from WAV to OGG by ffmpeg2theora
Français : Progression continue (glissando) sur une octave, du do3 au do4 ; fait avec Scilab, converti de WAV vers OGG par ffmpeg2theora
Date
Source Own work
Author Christophe Dang Ngoc Chan (cdang)
Permission
(Reusing this file)
GFDL

Scilab source

 clear;
 fs = 5000; // frequence d'echantillonnage
 // fs = 1000; // lors des tests
 duree=4; // duree de l'air en secondes
 n=216; // nombre total de marches (18 marches par demi-ton : 1/4 comma)
 raison = 2^(1/n); // les notes suivent une suite geometrique
 // afin de doubler la frequence a la fin
 
 N = round(duree*fs/n); // nombre de pas par marche
 
 f=264; // do3
 // f=50; // lors des tests
 son(1)=0;
 
 for i=0:n-1
    decalage=i*N;
    // raccordement entre les marches
    if i==0 then
       phase=0;
    else
       valeur_penultieme=son(decalage-1);
       valeur_precedente=son(decalage);
       phase=asin(valeur_precedente);
       signe=valeur_precedente-valeur_penultieme;
       if signe < 0 then
          if valeur_precedente < 0 then
             phase = -%pi-phase;
             else phase = %pi-phase;
          end
       end
    end
    for j=1:N
       instant=j/fs;
       son(decalage+j) = sin(2*%pi*instant*f+phase);
    end
       f = f*raison;
 end
 
 // terminer en decrescendo
 taille = max(size(son));
 valeur_penultieme=son(taille-1);
 valeur_precedente=son(taille);
 phase=asin(valeur_precedente)+1/fs;
 signe=valeur_precedente-valeur_penultieme;
 if signe < 0 then
    if valeur_precedente < 0 then
       phase = -%pi-phase;
       else phase = %pi-phase;
    end
 end
 demi_seconde = round(fs/2);
 for i=0:demi_seconde-1
    instant = i/fs;
    son(i+taille)=sin(2*%pi*instant*f+phase)*(1-i/demi_seconde);
 end
 
 // plot(son') // lors des tests
 
 savewave('progression_continue_octave_do3_do4.wav', son', fs)
 
 // wavwrite(son', fs, 'progression_continue_octave_do3_do4') // alternative

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported 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.
This licensing tag was added to this file as part of the GFDL licensing update.

File history

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

Date/TimeThumbnailDimensionsUserComment
current12:35, 7 November 20064.8 s (8 KB)Cdang (talk | contribs){{Information |Description={{en|Continuous progression ''(glissando)'' on one octave, from C3 to C4; made with [http://www.scilab.org/ Scilab], converted from WAV to OGG by ffmpeg2theora}} {{fr|Progression continue ''(glissando)'' sur une octave, du do3 a

The following page uses this file:

Transcode status

Update transcode status
Format Bitrate Download Status Encode time
MP3 96 kbps Completed 19:44, 22 December 2017 1.0 s

File usage on other wikis

The following other wikis use this file:

Metadata