예제 #1
0
"""
Welcome to the Loris morphing demo!
Kelly Fitz 2009

Generates several morphs between a clarinet, 
a flute, and a cello.

In order to run this demo, the Loris module must be 
in your PYTHONPATH.
"""
print __doc__

import loris, os, time
print '(in %s)\n' % os.getcwd()

print '(using Loris version %s)\n' % loris.version()

srcdir = 'source'

#
#	analyze flute tone
#
# The analysis process is as follows:
# - configure the analyzer (the flute and clarinet use the
# same analyzer configuration)
# - analyze, yielding a collection of partials
# - construct a constant reference envelope and distill partials
# (this reduces the number of partials considerably by 
# connecting and condensing related partials; for example, 
# in quasi-harmonic sounds, the distillation process yields
# one partial per harmonic)
예제 #2
0
#   [email protected]
#  
#   http://www.cerlsoundgroup.org/Loris/
#
"""
--- Welcome to the very simple Loris morphing test ---

Generates a simple linear morph between a 
clarinet and a flute using the Loris
extension module for Python.
"""
print __doc__

import loris, os, time

print ' Using Loris version', loris.version()

path = os.getcwd()
print '(in %s)' % path
try:    
    path = os.environ['srcdir']
except:
    path = os.path.join(os.pardir, 'test')
print '(looking for sources in %s)' % path

#
#   analyze clarinet tone
#
print 'analyzing clarinet 4G# (%s)' % time.ctime(time.time())
a = loris.Analyzer( 390 )
a.setFreqDrift( 30 )
예제 #3
0
#   [email protected]
#
#   http://www.cerlsoundgroup.org/Loris/
#
"""
--- Welcome to the very simple Loris morphing test ---

Generates a simple linear morph between a 
clarinet and a flute using the Loris
extension module for Python.
"""
print __doc__

import loris, os, time

print ' Using Loris version', loris.version()

path = os.getcwd()
print '(in %s)' % path
try:
    path = os.environ['srcdir']
except:
    path = os.path.join(os.pardir, 'test')
print '(looking for sources in %s)' % path

#
#   analyze clarinet tone
#
print 'analyzing clarinet 4G# (%s)' % time.ctime(time.time())
a = loris.Analyzer(390)
a.setFreqDrift(30)
예제 #4
0
"""
Welcome to the Loris morphing demo!
Kelly Fitz 2009

Generates several morphs between a clarinet, 
a flute, and a cello.

In order to run this demo, the Loris module must be 
in your PYTHONPATH.
"""
print __doc__

import loris, os, time
print '(in %s)\n' % os.getcwd()

print '(using Loris version %s)\n' % loris.version()

srcdir = 'source'

#
#	analyze flute tone
#
# The analysis process is as follows:
# - configure the analyzer (the flute and clarinet use the
# same analyzer configuration)
# - analyze, yielding a collection of partials
# - construct a constant reference envelope and distill partials
# (this reduces the number of partials considerably by
# connecting and condensing related partials; for example,
# in quasi-harmonic sounds, the distillation process yields
# one partial per harmonic)