ttm / pyo Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/pyo
License: GNU General Public License v3.0
Automatically exported from code.google.com/p/pyo
License: GNU General Public License v3.0
Original issue reported on code.google.com by [email protected]
on 15 Apr 2013 at 5:06
15:48 tito@ashaka examples $ gdb --args python xnoise_example.py
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols
found)...done.
(gdb) r
Starting program: /usr/bin/python xnoise_example.py
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff41f7710 (LWP 30355)]
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
[New Thread 0x7fffec4bf710 (LWP 30356)]
[Thread 0x7fffec4bf710 (LWP 30356) exited]
[New Thread 0x7fffec4bf710 (LWP 30357)]
[Thread 0x7fffec4bf710 (LWP 30357) exited]
[New Thread 0x7fffec4bf710 (LWP 30358)]
[Thread 0x7fffec4bf710 (LWP 30358) exited]
[New Thread 0x7fffec4bf710 (LWP 30359)]
[Thread 0x7fffec4bf710 (LWP 30359) exited]
[New Thread 0x7fffec4bf710 (LWP 30360)]
[Thread 0x7fffec4bf710 (LWP 30360) exited]
[New Thread 0x7fffec4bf710 (LWP 30361)]
PortMidi initialized.
Something wrong with midi device!
Portmidi closed
Program received signal SIGSEGV, Segmentation fault.
0x00000000004bacda in PyArg_ParseTupleAndKeywords ()
(gdb) bt
#0 0x00000000004bacda in PyArg_ParseTupleAndKeywords ()
#1 0x00007ffff3748b20 in Osc_out (self=0x7ffff1a02460,
args=0x7ffff7f59c50, kwds=0x7ffff3748af0) at
src/objects/oscilmodule.c:1244
#2 0x00000000004a7c5e in PyEval_EvalFrameEx ()
#3 0x00000000004a9671 in PyEval_EvalCodeEx ()
#4 0x00000000004a7809 in PyEval_EvalFrameEx ()
#5 0x00000000004a9671 in PyEval_EvalCodeEx ()
#6 0x00000000004a9742 in PyEval_EvalCode ()
#7 0x00000000004c9a0e in PyRun_FileExFlags ()
#8 0x00000000004c9c24 in PyRun_SimpleFileExFlags ()
#9 0x000000000041a7ff in Py_Main ()
#10 0x00007ffff69dec4d in __libc_start_main (main=<value optimized
out>, argc=<value optimized out>, ubp_av=<value optimized out>,
init=<value optimized out>, fini=<value optimized out>,
rtld_fini=<value optimized out>, stack_end=0x7fffffffddd8) at libc-
start.c:226
#11 0x00000000004199f9 in _start ()
(gdb) up 1
#1 0x00007ffff3748b20 in Osc_out (self=0x7ffff1a02460,
args=0x7ffff7f59c50, kwds=0x7ffff3748af0) at
src/objects/oscilmodule.c:1244
1244 static PyObject * Osc_out(Osc *self, PyObject *args, PyObject *kwds)
{ OUT };
(gdb) p self
$1 = (Osc *) 0x7ffff1a02460
(gdb) p *self
$2 = {ob_refcnt = 5, ob_type = 0x7ffff39dd5a0, server = 0xb10f30,
stream = 0xb620a0, mode_func_ptr = 0x7ffff3740cd0
<Osc_setProcMode>,
proc_func_ptr = 0x7ffff3753140 <Osc_readframes_ai>, muladd_func_ptr
= 0x7ffff374e1a0 <Osc_postprocessing_ai>, mul = 0x7ffff69afb30,
mul_stream = 0x7ffff1a2d7a0, add = 0xc053e8, add_stream = 0x0,
bufsize = 1024, nchnls = 2, sr = 44100, data = 0xc19540, table =
0x7ffff7f50150,
freq = 0xbfa030, freq_stream = 0x7ffff1a2de30, phase = 0xc05418,
phase_stream = 0x0, modebuffer = {1, 0, 1, 0}, pointerPos = 0}
(gdb) p *args
$3 = {ob_refcnt = 1, ob_type = 0x82df40}
(gdb) p *kwds
$4 = {ob_refcnt = 11639052361877587, ob_type = 0x8948f78948fb8948}
(gdb) l
1239 static PyObject * Osc_setAdd(Osc *self, PyObject *arg) { SET_ADD };
1240 static PyObject * Osc_setSub(Osc *self, PyObject *arg) { SET_SUB };
1241 static PyObject * Osc_setDiv(Osc *self, PyObject *arg) { SET_DIV };
1242
1243 static PyObject * Osc_play(Osc *self) { PLAY };
1244 static PyObject * Osc_out(Osc *self, PyObject *args, PyObject *kwds)
{ OUT };
1245 static PyObject * Osc_stop(Osc *self) { STOP };
1246
1247 static PyObject * Osc_multiply(Osc *self, PyObject *arg) { MULTIPLY
};
1248 static PyObject * Osc_inplace_multiply(Osc *self, PyObject *arg) {
INPLACE_MULTIPLY };
(gdb)
Original issue reported on code.google.com by [email protected]
on 25 Mar 2010 at 3:41
What steps will reproduce the problem?
from pyo import *
s = Server().boot()
x = 3.4
print "OK here"
f = Biquadx(x)
print " I don't get printed"
s.gui(locals())
What is the expected output? What do you see instead?
I expect to see an error message telling me that the argument x is the wrong
type. It exits silently
What version of the product are you using? On what operating system?
0.6.1 ubuntu 10.10
Please provide any additional information below.
Original issue reported on code.google.com by PaulJohnLeonard
on 11 May 2012 at 1:32
To reproduce, enter the following at a python prompt:
>>> from pyo import *
>>> s = Server().boot()
>>> a = Sin(1)
The result is that the python interpreter quits with the message, "TypeError:
"input" argument must be a PyoObject." Instead, it should throw an exception,
but the interpreter should continue running. This is caused by calling
Py_Exit(1); as the standard way of dealing with error conditions, instead of
using the exception routines, such as PyErr_SetString().
This is catastrophic for using pyo in interactive contexts, as any such minor
mistake will quit the interpreter and force you to start again.
I am sure there are other instances of this mistake - pressing the Quit button
in the GUI also quits the interpreter if there is one! So if you want to launch
the GUI to view some waveforms, you must set up another thread in the
interpreter because otherwise once you start it, you can never get the
interpreter back!
Original issue reported on code.google.com by [email protected]
on 3 Sep 2013 at 9:49
Just to replace all "mix" attribute with "bal".
Original issue reported on code.google.com by [email protected]
on 26 May 2011 at 1:52
t = CurveTable([(0,0.0),(512,0.97),(1024,-0.94),(1536,0.0),(8192,0.0000)])
t.graph()
0.6.3 ubuntu 10.10
Original issue reported on code.google.com by PaulJohnLeonard
on 10 Jan 2013 at 9:19
What steps will reproduce the problem?
1. No input device is available (e.g. with Windows 7 and a soundcard with the
mic/linein unplugged)
2. Booting the Server crashes python
What is the expected output? What do you see instead?
Possibilities:
* the input should simply be disabled
* an error message should indicate that the server could not boot
* the Server should automoatically use duplex 0 and boot (at the moment setting
duplex to 0 does not help, python still crashes)
What version of the product are you using? On what operating system?
pyo 0.03, python 2.6.5, Windows 7
Please provide any additional information below.
The problem is linked to portaudio open stream I think...
Original issue reported on code.google.com by [email protected]
on 13 Apr 2011 at 1:08
What steps will reproduce the problem?
1. python2
2. from pyo import *
3. example(Harmonizer)
What is the expected output? What do you see instead?
Instead of any sounds I get:
File "/tmp/tmpP1crQz", line 13
"""
^
SyntaxError: invalid syntax
What version of the product are you using? On what operating system?
python2-pyo 0.6.1
python2 2.7.3
64-bit Arch Linux
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 9 Dec 2012 at 12:55
It would be nice to use the property() method of the class to make the
syntax more pythonic, example for a Since :
sine = Sine()
sine.freq = 400
sine.phase = 0.5
Nice thing about this is you can use both methods (s.freq = value or
s.setFreq and it will behave the same)
The code for the class would look like this :
{{{
class Sine(PyoObject):
def __init__(self, freq=1000, phase=0, mul=1, add=0):
freq, phase, mul, add, lmax = _convertArgsToLists(freq, phase, mul,
add)
self._base_objs = [Sine_base(_wrap(freq,i), _wrap(phase,i),
_wrap(mul,i), _wrap(add,i)) for i in range(lmax)]
def setFreq(self, x):
x, lmax = _convertArgsToLists(x)
[obj.setFreq(_wrap(x,i)) for i, obj in enumerate(self._base_objs)]
def setPhase(self, x):
x, lmax = _convertArgsToLists(x)
[obj.setPhase(_wrap(x,i)) for i, obj in enumerate(self._base_objs)]
@property
def freq(self):
# return the freq value here
@freq.setter
def freq(self, x):
self.setFreq(x)
}}}
Original issue reported on code.google.com by [email protected]
on 17 Nov 2009 at 8:30
This problem was solved in PyoObject with self._keep_trace and also in FFT
object (for real, imag and bin Dummy).
Need to check every other objects with special implementation of __getitem__
(Notein, Hilbert, Beat, ...) to be sure they "keep trace" of Dummy objects.
Otherwise, in some case, obj["str"] can't be used more than one time.
Original issue reported on code.google.com by [email protected]
on 28 May 2011 at 2:31
It makes no sound.
Original issue reported on code.google.com by [email protected]
on 5 Oct 2010 at 1:46
Build with --use-jack.
~/src/pyo/examples$ libtool --mode=execute gdb /usr/bin/python
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
(gdb) run chorus.py
Starting program: /usr/bin/python chorus.py
[Thread debugging using libthread_db enabled]
pyo version 0.5.1 (uses single precision)
[New Thread 0xb70abb70 (LWP 16321)]
PortMidi warning: Something wrong with midi device!
Portmidi closed
Program received signal SIGSEGV, Segmentation fault.
0xb7fbaa62 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) bt
#0 0xb7fbaa62 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
#1 0xb786980f in Pt_Stop () from /usr/lib/libporttime.so.0
#2 0xb7a26531 in Server_pm_init (self=0x8d4de80) at
src/engine/servermodule.c:1665
#3 0xb7a27f8a in Server_boot (self=0x8d4de80) at src/engine/servermodule.c:1691
#4 0x080e0f9c in PyEval_EvalFrameEx ()
#5 0x080e1bb0 in PyEval_EvalFrameEx ()
#6 0x080e2807 in PyEval_EvalCodeEx ()
#7 0x080e2907 in PyEval_EvalCode ()
#8 0x081005ad in PyRun_FileExFlags ()
#9 0x08100812 in PyRun_SimpleFileExFlags ()
#10 0x0805de5c in Py_Main ()
#11 0x0805d03b in main ()
Original issue reported on code.google.com by [email protected]
on 21 Nov 2011 at 6:46
It would be a nice feature to be able to scale the OSC values received from
OscReceive. With devices
like the iPhone and Lemur it is often more complicated to change what it sends
than to change it
directly in pyo. It could work in a similar way as the Max scale object.
Original issue reported on code.google.com by [email protected]
on 16 Apr 2010 at 5:17
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Feb 2012 at 3:50
What steps will reproduce the problem?
1. With ASIO4ALL installed on a Windows machine, using an aggregate device
(input and output) crashes the server
What is the expected output? What do you see instead?
This should be possible with portaudio, another project (SuperCollider) I am
involved in uses portaudio on Windows and works well with ASIO4ALL.
What version of the product are you using? On what operating system?
pyo 0.03, python 2.6.5, Windows 7, ASIO4ALL
Please provide any additional information below.
Here is the relevant code in SuperCollider's portaudio implementation:
http://supercollider.git.sourceforge.net/git/gitweb.cgi?p=supercollider/supercol
lider;a=blob;f=common/Source/server/SC_CoreAudio.cpp;h=216f5dcc965d5d8e242f6e34c
4c66aeef88630d0;hb=677d75339510046d4e53fb588efa0d2827d8b496#l2227
Original issue reported on code.google.com by [email protected]
on 13 Apr 2011 at 1:16
What steps will reproduce the problem?
1. I unpack the source in /usr/src/pyo_version..
2. compile with "python ./setup.py build" and get a error message from linker
3. The behaviour is the same with different pyo versions
I get the error message:
pyo_0.6.2-src/src/objects/chorusmodule.c:507: undefined reference to `roundf'
and many other math functions (powf, sinf etc.) too. The above error message is
the last one from the list i get.
What version of the product are you using? On what operating system?
I use Mageia 1, 64 bit with python 2.7
I try several options for compiling e.g. --use-double but ever the same errors.
Can anyone help on this issue. Please feel free to ask more, may I can help to
solve this.
Many thanks in advance.
FM
Original issue reported on code.google.com by [email protected]
on 11 Oct 2012 at 7:54
Hello,
I am keen to try out the new FFT capabilities but all FFT-based example files
fail to open with this error:
Failed to open the file.
Traceback (most recent call last):
File "fft_cross.py", line 12, in <module>
snd1 = SfPlayer(SNDS_PATH+"/baseballmajeur_m.aif", loop=True).mix(2)
File "/Library/Python/2.5/site-packages/pyolib/players.py", line 113, in __init__
_snd_size, _dur, _snd_sr, _snd_chnls, _format, _type = sndinfo(path[0])
TypeError: 'NoneType' object is not iterable
rokni-Dimension-2400:examples peimankh$ python fft_delay.py
pyo version 0.5.0 (uses single precision)
PortMidi warning: No midi device found!
Portmidi closed
fCoreAudioDriverUID de_IMM_driver_USBAudioEngine:160f6a9
Assertion failed: (gc->gc.gc_refs != 0), function visit_decref, file
Modules/gcmodule.c, line 276.
Abort trap
Other modules are working however.
Thanks
Peiman
Original issue reported on code.google.com by [email protected]
on 4 Sep 2011 at 12:50
It would seem More elegant to me to store the osc
addresses in OscReceive as a dictionary instead of a
list :
a = OscReceive(port=10001, address=['/pitch',
'/amp'])
b = Sine(a[0], 0, a[1]).out()
would become
a = OscReceive(port=10001, address=['/pitch',
'/amp'])
b = Sine(a['/pitch'], 0, a['/amp']).out()
Seems easier to remember that the list index.
Original issue reported on code.google.com by [email protected]
on 16 Nov 2009 at 6:06
I tried to install pyo under a virtualenv on Ubuntu and it did not work.
To reproduce:
1. Install all dependencies using apt-get
2. Make a virtualenv and activate it
3. Run 'python setup.py install'
4. Try to import pyo. The traceback is attached.
I am using the last svn version (as of today).
Original issue reported on code.google.com by [email protected]
on 15 Jan 2011 at 6:16
Attachments:
What version of the product are you using? On what operating system?
pyo 0.6.2 / Windows 7 / python 2.7
Please provide any additional information below.
SndTable_loadSound function doesn't close the file descriptor when file is loaded by chunks.
Original issue reported on code.google.com by [email protected]
on 2 Dec 2012 at 1:34
What steps will reproduce the problem?
1. Put these lines in /usr/lib/python2.6/distutils/distutils.cfg
[install]
prefix=/usr/local
2. Execute python setup.py install, not being root
What is the expected output? What do you see instead?
I would expect the installation to put all files under /usr/local, as usually do setup.py driven Python packages.
But parts of the installed files go under /usr/lib, and should not.
What version of the product are you using? On what operating system?
A recent pyo obtained through git svn clone.
Please provide any additional information below.
I adjusted permissions of /usr/local so I do not need to be root for installing any Python (or non-Python) packages. In my opinion, only exceptional circumstances should force someone to be root while installing, and indeed, root is not needed on the wide average. pyo forces an exception to this, without any good justification that I could see (which absolutely does not mean there is none! ☺). If there is justification however, it would be nice if it was clearly documented in the installation procedure.
P.S. I'm very glad that pyo is usable here for me! Thanks a lot for having created it. Thanks also to Olivier for the recent presentation at MontrealPython.
Original issue reported on code.google.com by [email protected]
on 14 Apr 2011 at 2:24
Sometimes it crashes when reading more than one sound, I think they don't have
enough time to do multiple hard disk access at the same time...
Original issue reported on code.google.com by [email protected]
on 17 Sep 2010 at 10:22
Steps to reproduce the problem:
1. sudo apt-get install libportmidi-dev libportaudio-dev libsndfile-dev
liblo-dev
2. python setup.py build
3. sudo python setup.py install --prefix=/usr/local
4. python start.py
{{{
Traceback (most recent call last):
File "start.py", line 8, in <module>
from pyo import *
File "/home/toonloop/src/pyo/pyo.py", line 6, in <module>
from pyolib.server import *
File "/home/toonloop/src/pyo/pyolib/server.py", line 1, in <module>
from _core import *
File "/home/toonloop/src/pyo/pyolib/_core.py", line 6, in <module>
from _pyo import *
ImportError: /usr/lib/libportmidi.so.0: undefined symbol: Pt_Time
}}}
Though I tried this on Ubuntu Hardy, with Python 2.5
Original issue reported on code.google.com by [email protected]
on 29 Jan 2010 at 4:26
I want to use pyo as an interactive effects-building block. Think of a
distributed daw.
I'd use a fifo file for sound input and communicate with pyo via stdin and an
interactive python session. pyo should then only output to stdout, not play on
my sound card.
How would you approach this?
I was thinking about
play mysound.wav > soundin
python play_snd.py
And play_snd.py would start a server, read from soundin, apply effects etc.,
and output to stdout.
The only way to use stdout I've found is a JACK-utility, however I'm not sure
how well that scales.
Thanks for this project, it looks really promising!
Original issue reported on code.google.com by [email protected]
on 3 Oct 2012 at 12:05
Pyo crashes when using a firewire card with coreaudio. It works fine with
portaudio.
Original issue reported on code.google.com by jm.dumas
on 12 Oct 2010 at 2:28
What steps will reproduce the problem?
1. See attached c.py
What is the expected output? What do you see instead?
1.I expect the count to increment with the first trigger
2.I don't expect to see -1
What version of the product are you using? On what operating system?
Latest svn.
Please provide any additional information below.
I have attached my fix for this. Look for PJL comments
Original issue reported on code.google.com by PaulJohnLeonard
on 14 Jun 2012 at 11:07
Attachments:
It would be nice if objects could print out information about current
properties state instead of printing the name and address of the object.
This can easily be done by defining an __repr__ method in the class and
returning a string :
def __repr__(self):
return 'Fade in = {0} seconds, Fade out = {1}
seconds'.format(self._fadein, self._fadeout)
Tested on the Fader object and it works great.
Original issue reported on code.google.com by [email protected]
on 25 Feb 2010 at 9:14
Run any pyo script with Jack support.
We often see "JACK error: zombified - calling shutdown handler".
Sometimes it's OK, sometimes it's not.
It's on Ubuntu Lucid, Natty, etc.
Original issue reported on code.google.com by [email protected]
on 21 Nov 2011 at 7:02
1- Copy to clipboard doesn't work.
2- OnKeyDown() doesn't work. That means we can't delete a point!
Maybe other, needs to be fully tested!
Original issue reported on code.google.com by [email protected]
on 28 May 2011 at 2:33
What steps will reproduce the problem?
1. Run 01_MusicBox.py on windows 7 machine with no input device.
What is the expected output? What do you see instead?
I would expect an informative error message.
I see a message that python.exe has terminated
What version of the product are you using? On what operating system?
6.1. ON windows 7
Please provide any additional information below.
Problem is solved by setting duplex=0 in the server constructor.
Original issue reported on code.google.com by PaulJohnLeonard
on 4 May 2012 at 3:27
Original issue reported on code.google.com by [email protected]
on 14 Apr 2013 at 1:50
What steps will reproduce the problem?
I'll give several walkarounds I tried, non worked and all ends in
JACK error: zombified - calling shutdown handler
import pyo64
s= pyo64.Server(audio='jack').boot().start()
import cv # <-- crashes here
If you do "import cv" above, then it crashes later
import pyo64
import cv
s= pyo64.Server(audio='jack').boot().start()
cap= cv.CaptureFromCAM(0) # <-- crashes here
and the same if you do the cap above
import pyo64
import cv
cap= cv.CaptureFromCAM(0)
s= pyo64.Server(audio='jack').boot().start()
image= cv.QueryFrame(cap) # <-- crashes here
WIth fluidsynth is similar, but there is a walkaround
import pyo64
s= pyo64.Server(audio='jack').boot().start()
import fluidsynth # <-- crashes here
But if you do the "import fluidsynth" above, it all works fine
What version of the product are you using? On what operating system?
I'm using pyo 0.6.0 compiled with --use-double and --use-jack in and 64 bits
architecture on Ubuntu 10.10
Sorry about the other issue, I pressed enter and it was submitted. I don't know
how to delete it.
Original issue reported on code.google.com by [email protected]
on 5 Feb 2012 at 3:55
Original issue reported on code.google.com by [email protected]
on 15 Apr 2013 at 4:34
What steps will reproduce the problem?
1. build with --use-jack on Ubuntu Lucid GNU/Linux
2. try the package from https://launchpad.net/~sat-metalab/+archive/metalab
3. launch a pyo.Server(audio="jack") and boot() it.
It should use Jack and just work. Instead, it prints "Pyo built without Jack
support".
This is pyo 0.4.1 on Ubuntu Lucid GNU/Linux.
Original issue reported on code.google.com by [email protected]
on 21 Nov 2011 at 6:32
This is a small issue, but the example code for PVAddSynth has the following
line, raises a TypeError:
pva = PVAnal(a, size=1024, overlaps=4, pitch=2)
I believe the argument pitch should be changed to wintype?
Loving the 0.6.8 update!
Original issue reported on code.google.com by [email protected]
on 19 Oct 2013 at 2:41
Hi,
Will there be Python 3 support?
Python 3 is now the official Python version (and is well on its way to replace
Python 2). See: http://www.python.org/
Please add Python 3 support! Thank you.
Best regards,
Alexander Rødseth
Original issue reported on code.google.com by [email protected]
on 9 Dec 2012 at 10:00
What steps will reproduce the problem?
1. Install as admin
2. Try running E-Pyo as usual user.
What is the expected output? What do you see instead?
E-Pyo.exe can not find .epyo
What version of the product are you using? On what operating system?
Please provide any additional information below.
Copying .epyo as admin fixes the problem but it would be nice if the install
worked without having to get admin to do this!
Original issue reported on code.google.com by PaulJohnLeonard
on 4 May 2012 at 3:23
In Change example, the printed value is not the current one, but the last one.
Original issue reported on code.google.com by [email protected]
on 16 Sep 2010 at 8:49
>>> import pyo
pyo version 0.5.0 (uses single precision)
>>> pyo.Noise()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/pyolib/generators.py", line 380, in __init__
self._base_objs = [Noise_base(wrap(mul,i), wrap(add,i)) for i in range(lmax)]
TypeError: an integer is required
It should rather raise a RuntimeError with a message such as "There is no pyo
Server running." or something like that.
Original issue reported on code.google.com by [email protected]
on 21 Nov 2011 at 10:20
What steps will reproduce the problem?
1. python setup.py build
2. sudo python setup.py install
I see:
$ sudo python setup.py install
running install
running build
running build_py
running build_ext
running install_lib
copying build/lib.linux-i686-2.6/_pyo.so ->
/usr/local/lib/python2.6/dist-packages
...
byte-compiling /usr/local/lib/python2.6/dist-packages/pyolib/_tkwidgets.py to
_tkwidgets.pyc
running install_data
copying pyo.py -> /usr/lib/python2.6/dist-packages
creating /usr/lib/python2.6/dist-packages/pyolib
creating /usr/lib/python2.6/dist-packages/pyolib/snds
copying pyolib/snds/transparent.aif ->
/usr/lib/python2.6/dist-packages/pyolib/snds
copying pyolib/snds/accord.aif -> /usr/lib/python2.6/dist-packages/pyolib/snds
running install_egg_info
Writing /usr/local/lib/python2.6/dist-packages/pyo-0.5.1.egg-info
This is Pyo from the SVN on Ubuntu Lucid GNU/Linux.
Original issue reported on code.google.com by [email protected]
on 21 Nov 2011 at 6:39
What steps will reproduce the problem?
See attached file.
What is the expected output? What do you see instead?
I expect doit to get called. It does not.
What version of the product are you using? On what operating system?
0.6.1 (from the trunk)
Please provide any additional information below.
Original issue reported on code.google.com by PaulJohnLeonard
on 14 Apr 2012 at 3:54
Attachments:
Original issue reported on code.google.com by [email protected]
on 15 Apr 2013 at 5:05
What steps will reproduce the problem?
Try to create a CurveTable with a index bigger than the size
e.g.
tab=CurveTable([(0,0),(2048,.5),(4096,.2),(6144,.5),(8192,0)], 0, 20,1024)
What is the expected output?
Error message should be produced.
What do you see instead?
*** glibc detected *** /usr/bin/python2.6: free(): invalid next size (normal):
0x0000000001b21200 ***
======= Backtrace: =========
/lib/libc.so.6(+0x775b6)[0x7ff183b4c5b6]
/lib/libc.so.6(+0x7cce4)[0x7ff183b51ce4]
/lib/libc.so.6(__libc_memalign+0xc2)[0x7ff183b52672]
/lib/libc.so.6(posix_memalign+0x5e)[0x7ff183b528ee]
/lib/libglib-2.0.so.0(+0x60538)[0x7ff179f34538]
/lib/libglib-2.0.so.0(g_slice_alloc+0x6d3)[0x7ff179f34dc3]
/lib/libglib-2.0.so.0(g_ptr_array_sized_new+0x11)[0x7ff179eedb81]
/lib/libglib-2.0.so.0(g_main_context_new+0x7b)[0x7ff179f1795b]
/lib/libglib-2.0.so.0(g_main_context_default+0xbd)[0x7ff179f17b4d]
/lib/libglib-2.0.so.0(g_source_attach+0x1ed)[0x7ff179f1941d]
/lib/libglib-2.0.so.0(g_idle_add_full+0x65)[0x7ff179f194b5]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_Z26wxapp_install_idle_handlerv+0x55)[0x7ff17
cb25355]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN5wxAppC2Ev+0x34)[0x7ff17cb254a4]
/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so(_ZN7wxPyAppC
1Ev+0x9)[0x7ff17df74729]
/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so(+0x99f6f)[0x
7ff17dfd0f6f]
/usr/bin/python2.6(PyEval_EvalFrameEx+0x4f17)[0x4a7a07]
/usr/bin/python2.6(PyEval_EvalCodeEx+0x911)[0x4a9671]
/usr/bin/python2.6[0x537620]
/usr/bin/python2.6(PyObject_Call+0x47)[0x41f0c7]
/usr/bin/python2.6[0x427dff]
/usr/bin/python2.6(PyObject_Call+0x47)[0x41f0c7]
/usr/bin/python2.6(PyEval_EvalFrameEx+0x4888)[0x4a7378]
/usr/bin/python2.6(PyEval_EvalCodeEx+0x911)[0x4a9671]
/usr/bin/python2.6[0x537620]
/usr/bin/python2.6(PyObject_Call+0x47)[0x41f0c7]
/usr/bin/python2.6[0x427dff]
/usr/bin/python2.6(PyObject_Call+0x47)[0x41f0c7]
/usr/bin/python2.6(PyEval_EvalFrameEx+0x4888)[0x4a7378]
/usr/bin/python2.6(PyEval_EvalCodeEx+0x911)[0x4a9671]
/usr/bin/python2.6[0x537620]
/usr/bin/python2.6(PyObject_Call+0x47)[0x41f0c7]
/usr/bin/python2.6[0x427dff]
/usr/bin/python2.6(PyObject_Call+0x47)[0x41f0c7]
/usr/bin/python2.6[0x477bff]
/usr/bin/python2.6[0x46f47f]
/usr/bin/python2.6(PyObject_Call+0x47)[0x41f0c7]
/usr/bin/python2.6(PyEval_EvalFrameEx+0x4888)[0x4a7378]
/usr/bin/python2.6(PyEval_EvalFrameEx+0x5a60)[0x4a8550]
What version of the product are you using? On what operating system?
Latest from svn. linux 64bit
Please provide any additional information below.
Original issue reported on code.google.com by PaulJohnLeonard
on 2 May 2012 at 1:38
What steps will reproduce the problem?
1. start e-pyo
2. select an example
3. press ctrl-r
What is the expected output? What do you see instead?
not sure what should get, but got:
pyo version 0.6.1 (uses single precision)
Traceback (most recent call last):
File "<string>", line 2465, in runner
File "<string>", line 2457, in run
File "C:\Documents and Settings\user\svn\pyo\utils\build\pyi.win32\E-Pyo\outPY
Z1.pyz/subprocess", line 679, in __init__
File "C:\Documents and Settings\user\svn\pyo\utils\build\pyi.win32\E-Pyo\outPY
Z1.pyz/subprocess", line 893, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
What version of the product are you using? On what operating system?
pyo 6.1 on windows 7 64-bit python 2.7 32-bit
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 4 May 2012 at 3:12
What steps will reproduce the problem?
1. Run Pyo
2. Open Pyo Examples>FFT>01_fft_filter.py
3. Run the example
What is the expected output? What do you see instead?
In Pyo 0.6.4, a graph was displayed automatically. In Pyo 0.6.5, nothing shows
up.
What version of the product are you using? On what operating system?
Pyo 0.6.5 on OS X Mountain Lion 10.8.2.
Please provide any additional information below.
I recently updated Pyo. I believe that this was my only environment change
since the last successful graph display. Other examples seem to display widgets
properly.
Thanks!
Original issue reported on code.google.com by [email protected]
on 6 May 2013 at 7:33
using pyo 0.6.4 on OSX 10.8.3 with python 2.7.2
example from docs VoiceManager (see below) gives error and quits:
Segmentation fault: 11
------------
from pyo import *
s = Server().boot()
s.start()
env = CosTable([(0,0),(100,1),(500,.5),(8192,0)])
delta = RandDur(min=.05, max=.1)
vm = VoiceManager(Change(delta))
sel = Select(vm, value=[0,1,2,3])
pit = TrigChoice(sel, choice=[midiToHz(x) for x in [60,63,67,70,72]])
amp = TrigEnv(sel, table=env, dur=.5, mul=.25)
synth1 = SineLoop(pit, feedback=.07, mul=amp).out()
vm.setTriggers(amp["trig"])
s.gui(locals())
------------
Original issue reported on code.google.com by [email protected]
on 27 Mar 2013 at 2:04
What steps will reproduce the problem?
Try the following code:
from pyo import *
s = Server().boot().start()
table = LinTable([(0,0.),(3,.75),(4,1.)], 4)
# the following has similar behavior, although I think it might be more
"correct":
#table = LinTable([(0,0.),(3,.75),(4,1.)], 5)
sig = Sig(0)
val = Pointer(table, sig)
sine = Sine(freq=440*(2**val), mul=.5).out()
table.graph()
sig.ctrl()
s.gui()
What is the expected output? What do you see instead?
As the Sig slider is moved from 0. to 1., the output of this LinTable should
slide between 0. and 1. linearly, as is shown in the graph. Instead, it
reaches 1. when the Sig is at .75, sits at 1. from .75 to .99..., then becomes
0. again when Sig reaches 1. The sine wave in the example code is just used to
sonify the output of the Pointer.
What version of the product are you using? On what operating system?
pyo 0.6.6 on OS X 10.8.3
Please provide any additional information below.
I've noticed similar behavior using Lookup.
Original issue reported on code.google.com by [email protected]
on 9 May 2013 at 10:53
In Ubuntu 9.10, pyo gets installed in /usr/local/lib/python2.6/dist-packages
However, it seems that get_python_lib returns
'/usr/lib/python2.6/dist-packages' which means the pyodemos folder and
pyo.py are copied there instead breaking the installation.
According to this post :
https://lists.ubuntu.com/archives/ubuntu-devel/2009-February/027439.html we
need to use --install-layout=deb extra option, using this, all gets
installed in /usr/lib
Original issue reported on code.google.com by [email protected]
on 4 Feb 2010 at 4:14
It works if copied and execute as a python script but not as an example...
Original issue reported on code.google.com by [email protected]
on 16 Sep 2010 at 8:48
The test directory should contain unit tests. (if any)
Original issue reported on code.google.com by [email protected]
on 29 Jan 2010 at 4:28
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.