Skip to content

Commit

Permalink
Version 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliastik committed Dec 28, 2019
1 parent 898a37a commit 29a860d
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 11 deletions.
30 changes: 28 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This program uses the Web Audio API. A browser supporting this API is therefore

## About

* Version: 1.2.1.2 (7/26/2019)
* Version: 1.3 (12/28/2019)
* Made in France by Eliastik - [eliastiksofts.com](http://eliastiksofts.com) - Contact : [eliastiksofts.com/contact](http://eliastiksofts.com/contact)
* License: GNU GPLv3 (see the LICENCE.txt file)

Expand All @@ -32,6 +32,19 @@ This program uses the Web Audio API. A browser supporting this API is therefore

## Changelog

* Version 1.3 (12/28/2019):
- Many filters can now be configured! This includes the Limiter and the filters Bass boost, Reverberation, Echo, Low-pass filter and High-pass filter;
- Added many environments for the Reverberation filter, accessible via the settings of this filter;
- Compatibility mode now have the same audio player as the standard mode. In addition, this mode now allows you to edit the sounds in real time!;
- Added the possibility to enable loop playback of a sound;
- Many bug fixes and other improvements of the quality of the application:
- Optimizations aimed at reducing memory usage and speed of sound processing;
- Adjustment of the default limiter settings in order to improve the quality;
- Fixed: the message "A connection error has occurred..." could appear even when no error had occurred;
- Simplified and commented code;
- Updated software libraries;
- Other bug fixes and adjustments.

* Version 1.2.1.2 (7/26/2019):
- Additions to use the app in offline mode and to be offered installation on compatible platforms;
- Other corrections.
Expand Down Expand Up @@ -85,7 +98,7 @@ Ce programme utilise la Web Audio API. Un navigateur supportant cette API est do

## À propos du programme

* Version du programme : 1.2.1.2 (26/07/2019)
* Version du programme : 1.3 (28/12/2019)
* Made in France by Eliastik - [eliastiksofts.com](http://eliastiksofts.com) - Contact : [eliastiksofts.com/contact](http://eliastiksofts.com/contact)
* Licence : GNU GPLv3 (voir le fichier LICENCE.txt)

Expand All @@ -104,6 +117,19 @@ Ce programme utilise la Web Audio API. Un navigateur supportant cette API est do

## Journal des changements

* Version 1.3 (28/12/2019) :
- De nombreux filtres ont désormais la possibilité d'être paramétrés ! Cela inclus notamment le limiteur, les filtres Boost des basses, Réverbération, Echo, Filtre passe-bas et Filtre passe-haut ;
- Ajout de nombreux environnements pour le filtre Réverbération, accessibles via les paramètres de ce filtre ;
- Le mode de compatibilité a désormais le même lecteur audio que le mode standard. De plus, ce mode permet désormais de modifier les sons en temps réel ! ;
- Ajout de la possibilité de lire en boucle un son ;
- De nombreuses corrections de bugs et autres améliorations de la qualité de l'application :
- Optimisations visant à réduire l'utilisation mémoire et la rapidité de traitement des sons ;
- Ajustement des paramètres par défaut du limiteur afin d'en améliorer la qualité ;
- Corrigé : le message "Une erreur de connexion est survenue..." pouvait s'afficher même lorsqu'aucune erreur n'était survenue ;
- Code simplifié et commenté ;
- Mise à jour des bibliothèques logicielles ;
- Autres corrections de bugs et ajustements.

* Version 1.2.1.2 (26/07/2019) :
- Ajout permettant d'utiliser l'application en mode hors-ligne et de se voir proposer l'installation sur les plateformes compatibles ;
- Autres corrections.
Expand Down
31 changes: 25 additions & 6 deletions assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
// App infos
var filesDownloadName = "simple_voice_changer";
var audioArray = ["assets/sounds/impulse_response.wav", "assets/sounds/modulator.mp3"]; // audio to be loaded when launching the app
var app_version = "1.2.1.2";
var app_version_date = "07/26/2019";
var app_version = "1.3";
var app_version_date = "12/28/2019";
var updater_uri = "https://www.eliastiksofts.com/simple-voice-changer/update.php"
// End of app infos

Expand Down Expand Up @@ -101,15 +101,15 @@ var delayOptions = {
// Impulses responses settings
var audioImpulseResponses = {
current: 1,
nbResponses: 11,
nbResponses: 13,
loading: false,
1: {
title: "Medium Damping Cave E002 M2S",
file: "assets/sounds/impulse_response.wav",
size: 1350278,
buffer: null,
link: "http://www.cksde.com/p_6_250.htm",
addDuration: 2
addDuration: 4
},
2: {
title: "The Dixon Studio Theatre – University of York",
Expand Down Expand Up @@ -190,6 +190,22 @@ var audioImpulseResponses = {
buffer: null,
link: "https://openairlib.net/?page_id=770",
addDuration: 5
},
12: {
title: "Hoffmann Lime Kiln – Langcliffe, UK",
file: "assets/sounds/impulse_response_12.wav",
size: 1536044,
buffer: null,
link: "https://openairlib.net/?page_id=518",
addDuration: 2
},
13: {
title: "Innocent Railway Tunnel (middle)",
file: "assets/sounds/impulse_response_13.wav",
size: 5760056,
buffer: null,
link: "https://openairlib.net/?page_id=525",
addDuration: 5
}
};
// End of Impulses responses settings
Expand Down Expand Up @@ -1417,7 +1433,10 @@ function calcAudioDuration(audio, speed, pitch, reverb, vocode, echo) {

duration = duration / parseFloat(speed);

if(echo) {
if(echo && reverb) {
var addDuration = Math.max(5, reverb_duration);
duration = duration + addDuration;
} else if(echo) {
duration = duration + 5;
} else if(reverb) {
duration = duration + reverb_duration;
Expand Down Expand Up @@ -1660,7 +1679,7 @@ function saveBuffer(buffer) {
return false;
}

if ('AudioContext' in window && !audioContextNotSupported) {
if('AudioContext' in window && !audioContextNotSupported && worker != null) {
worker.postMessage({
command: "init",
config: {
Expand Down
2 changes: 1 addition & 1 deletion assets/locales/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
},
"source": "Source",
"environmentSettingsInfos": "En cliquant sur Valider, l'environnement sera téléchargé temporairement sur votre appareil. Cela peut engendrer des frais.",
"environmentAlreadyDownloaded": "Cet environement a déjà été téléchargé.",
"environmentAlreadyDownloaded": "Cet environnement a déjà été téléchargé.",
"loading": "Chargement de l'environnement en cours… Veuillez patienter.",
"error": "Une erreur est survenue lors du chargement de l'environnement. Veuillez réessayer."
},
Expand Down
Binary file added assets/sounds/impulse_response_12.wav
Binary file not shown.
Binary file added assets/sounds/impulse_response_13.wav
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ <h4 class="modal-title" data-i18n="reverbSettings.title">Paramètres du filtre r
<a target="_blank" data-i18n="reverbSettings.source" href="#null" id="linkEnvironmentReverb">Source</a>
</p>
<p data-i18n="reverbSettings.environmentSettingsInfos">En cliquant sur Valider, l'environnement sera téléchargé temporairement sur votre appareil. Cela peut engendrer des frais.</p>
<p data-i18n="reverbSettings.environmentAlreadyDownloaded" class="bold" id="environmentAlreadyDownloaded">Cet environement a déjà été téléchargé.</p>
<p data-i18n="reverbSettings.environmentAlreadyDownloaded" class="bold" id="environmentAlreadyDownloaded">Cet environnement a déjà été téléchargé.</p>
</div>
</div>
<div class="form-group row big center" id="loadingReverb">
Expand Down
2 changes: 1 addition & 1 deletion service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with "Simple Voice Changer". If not, see <http://www.gnu.org/licenses/>.
*/
const CACHE_BASENAME = 'simple-voice-changer';
const CACHE_VER = '-v1.2.1.2';
const CACHE_VER = '-v1.3';
const CACHE = CACHE_BASENAME + CACHE_VER;

const CACHE_URLS = [
Expand Down

0 comments on commit 29a860d

Please sign in to comment.