Skip to content

Instantly share code, notes, and snippets.

APEX_DIR=apex
N_PROC=8
CUDA_VERSION=11.4.0
# Install packages
mamba install -c conda-forge \
cudatoolkit=11.4.0 cudatoolkit-dev=11.4.0 pytorch-gpu=1.9.0 \
scipy numpy matplotlib tensorboardx tensorboard inflect \
gcc=9.4.0 gxx=9.4.0
;; ----------------------------------------------------------------- ;;
;; The HMM-Based Speech Synthesis System (HTS) ;;
;; developed by HTS Working Group ;;
;; http://hts.sp.nitech.ac.jp/ ;;
;; ----------------------------------------------------------------- ;;
;; ;;
;; Copyright (c) 2001-2016 Nagoya Institute of Technology ;;
;; Department of Computer Science ;;
;; ;;
;; 2001-2008 Tokyo Institute of Technology ;;
;; ----------------------------------------------------------------- ;;
;; The HMM-Based Speech Synthesis System (HTS) ;;
;; developed by HTS Working Group ;;
;; http://hts.sp.nitech.ac.jp/ ;;
;; ----------------------------------------------------------------- ;;
;; ;;
;; Copyright (c) 2001-2016 Nagoya Institute of Technology ;;
;; Department of Computer Science ;;
;; ;;
;; 2001-2008 Tokyo Institute of Technology ;;
@seblemaguer
seblemaguer / onedrive.md
Created March 6, 2021 09:55 — forked from starlinq/onedrive.md
How to Sync Microsoft OneDrive with Ubuntu 18.04 and 20.04 (64 bit)
layout title tags date
post
How to Sync Microsoft OneDrive with Ubuntu 18.04 and 20.04 (64 bit)
ubuntu-18.04, ubuntu-20.04
2020-04-23

There are many instructions to syncronize your files with OneDrive cloud-based storage in Linux. However they typically address multiple Linux distributions that often causes a confusion or an use of some commands which have not been actually tested before publishing. This instruction is for Ubuntu 18.04 and 20.04 (64 bit) only.

In order to install onedrive, first you need to install some dependencies and set up git.

@seblemaguer
seblemaguer / install_espeak.sh
Created February 8, 2021 13:18
Espeak installation script for Katri
#!/bin/bash
# Set root directory
ROOT_DIR=$PWD/espeak
# Prepare environment
mkdir -p $ROOT_DIR
# Clone the respository
git clone https://github.com/espeak-ng/espeak-ng.git $ROOT_DIR/src
@seblemaguer
seblemaguer / compile_other_speech_tools.sh
Last active December 20, 2020 21:07
Fixing compile speech tools for Merlin
#!/bin/bash
#########################################
######### Install Dependencies ##########
#########################################
#sudo apt-get -y install libncurses5 libncurses5-dev libcurses-ocaml # for sudo users only
current_working_dir=$(pwd)
tools_dir=${current_working_dir}/$(dirname $0)
cd $tools_dir
@seblemaguer
seblemaguer / dur2lab.py
Created December 16, 2020 09:54
Helper to convert an HTS duration file to an HTK state-level label file
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
AUTHOR
Sébastien Le Maguer <[email protected]>
DESCRIPTION
Helper to convert an HTS duration file to an HTK state-level label file
@seblemaguer
seblemaguer / generate_shirp_signal.py
Last active October 22, 2020 13:37
Generate F0 sinusoidal signal from original wavefile using pyworld
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
AUTHOR
Sébastien Le Maguer <[email protected]>
DESCRIPTION
LICENSE
@seblemaguer
seblemaguer / install-trizen.sh
Last active September 5, 2020 01:32
Trizen install script based on pacaur install script
#!/usr/bin/bash -l
#
# The MIT License (MIT)
#
# Copyright (c) 2015-2018 Stefan Tatschner / adapted by Sébastien Le Maguer
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@seblemaguer
seblemaguer / example mary 6.gradle
Last active June 26, 2017 06:53
MaryTTS 6.0.X calling from gradle
dependencies {
classpath group: "org.codehaus.groovy.modules.http-builder", name: "http-builder", version: "0.7"
}
import groovyx.net.http.HTTPBuilder
import static groovyx.net.http.ContentType.URLENC
import static groovyx.net.http.Method.POST