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
#!/usr/bin/python | |
#12/03/2014 | |
#version: Eng Eder de Souza | |
#package: AGI Portabilidade | |
#copyright: Copyright (C) Open Source. | |
#license: GNU/GPL | |
#Exemplo de como chamar este script em seu Asterisk: | |
#exten => _4444.,1,AGI(operadora2014.py,${EXTEN:4}) | |
#exten => _4444.,n,NoOP( Operadora = ${Operadora}) |
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
#!/usr/bin/python | |
# | |
# @version Eng Eder de Souza | |
# @package Portabilidade | |
# @copyright Copyright (C) Open Source. | |
# @license GNU/GPL | |
# # Acesso ao banco de dados fornecido por http://magnussolution.com | |
# | |
import urllib2 | |
import re |
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
#!/usr/bin/python | |
#version: Eng Eder de Souza | |
#package: AGI Portabilidade | |
#copyright: Copyright (C) Open Source. | |
#license: GNU/GPL | |
#Agi para consulta de operadora para celulares portados | |
#Acesso ao banco de dados fornecido por http://magnussolution.com | |
import urllib2 |
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
#ederwander | |
#date 10/02/2012 | |
from __future__ import division | |
import math | |
import wave | |
import numpy as np | |
freq = 0.; | |
trigfact = 0.6; |
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
#Eng Eder de Souza 01/12/2011 | |
#Speech Recognizer prototype ... | |
#Real time VAD implementation using Google Speech Api | |
from tempfile import mkstemp | |
from subprocess import call | |
from os import remove, listdir | |
from matplotlib.mlab import find | |
import pyaudio | |
import numpy as np |
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
# Copyright (c) 2011, Eng Eder de Souza | |
# ___ _ _ ___ | |
# | __|__| |___ _ _ __| |___ / __| ___ _ _ _____ _ | |
# | _|/ _` / -_) '_| / _` / -_) \__ \/ _ \ || |_ / _` | | |
# |___\__,_\___|_| \__,_\___| |___/\___/\_,_/__\__,_| | |
#Accessing the Google API for speech recognition! | |
#Open a file type Wav to speech recognition | |
#This source does not require any external programs to perform audio conversions :-) | |
#http://ederwander.wordpress.com/2011/11/06/accessing-the-google-speech-api-python/ | |
#Eng Eder de Souza |
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
# Copyright (c) 2010, Eng Eder de Souza | |
# ___ _ _ ___ | |
# | __|__| |___ _ _ __| |___ / __| ___ _ _ _____ _ | |
# | _|/ _` / -_) '_| / _` / -_) \__ \/ _ \ || |_ / _` | | |
# |___\__,_\___|_| \__,_\___| |___/\___/\_,_/__\__,_| | |
#Real Time Eletric Guitar tuner by Microphone or Input | |
#Guitar tuner using Average magnitude difference function-AMDF | |
#http://ederwander.wordpress.com/2011/09/09/experimental-guitar-tuner/ | |
#Eng Eder de Souza | |
#date 23/08/2010 |