sndobj-devel Mailing List for The Sound Object Library (Page 3)
Status: Abandoned
Brought to you by:
veplaini
This list is closed, nobody may subscribe to it.
2007 |
Jan
(57) |
Feb
(16) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
(8) |
Aug
(24) |
Sep
(12) |
Oct
(4) |
Nov
(11) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(9) |
Feb
(13) |
Mar
(3) |
Apr
(10) |
May
(11) |
Jun
(12) |
Jul
(8) |
Aug
(9) |
Sep
(1) |
Oct
(24) |
Nov
(11) |
Dec
(19) |
2009 |
Jan
(5) |
Feb
(24) |
Mar
(43) |
Apr
(9) |
May
(14) |
Jun
(28) |
Jul
|
Aug
(6) |
Sep
|
Oct
(4) |
Nov
(10) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(9) |
Dec
|
2011 |
Jan
(3) |
Feb
(3) |
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2013 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Luigi C. <lui...@ya...> - 2009-06-30 15:10:18
|
--- Mar 30/6/09, Luigi Curzi <lui...@ya...> ha scritto: > Da: Luigi Curzi <lui...@ya...> > Oggetto: [Sndobj-devel] Problem with PushIn and Numpy array from h5py > A: snd...@li... > Data: Martedì 30 giugno 2009, 13:38 > > i use python-sndobj. > i created a sndthread with a callback function that pushes > in a slice from a numpy array in sndobj; the numpy array is > a view from an h5py file (created using h5py library > facilities) > > def __process_callback(self, channels): > if self.stream.pos_ptr < stop: > for i in > range(channels): > >self.channels[i].PushIn(self.stream.audiodata.get_slice(self.stream.pos_ptr, > > > > > self.stream.pos_ptr + 256, i) * 32768) > self.stream.pos_ptr += 256 > > i think that the problem is in h5py + sndthread, because > also without pushin function in the callback, application > crashes. > if i use same array in a qthread or in a python thread it > works without problems; > i forgot to explain that get_slice() is a method that retrieves a slice from an array stored in a h5 file (through h5py). thanks in advice. Luigi |
From: Luigi C. <lui...@ya...> - 2009-06-30 15:07:03
|
--- Mar 30/6/09, Luigi Curzi <lui...@ya...> ha scritto: > Da: Luigi Curzi <lui...@ya...> > Oggetto: [Sndobj-devel] Problem with PushIn and Numpy array from h5py > A: snd...@li... > Data: Martedì 30 giugno 2009, 13:38 > > i use python-sndobj. > i created a sndthread with a callback function that pushes > in a slice from a numpy array in sndobj; the numpy array is > a view from an h5py file (created using h5py library > facilities) > > def __process_callback(self, channels): > if self.stream.pos_ptr < stop: > for i in > range(channels): > >self.channels[i].PushIn(self.stream.audiodata.get_slice(self.stream.pos_ptr, > > > > > self.stream.pos_ptr + 256, i) * 32768) > self.stream.pos_ptr += 256 > i forgot to explain that get_slice() is a method that retrieves a slice from an array stored in a h5 file (through h5py). > i think that the problem is in h5py + sndthread, because > also without pushin function in the callback, application > crashes. > if i use same array in a qthread or in a python thread it > works without problems; > > this is the bt: > (gdb) bt full > > > > > #0 PyDict_SetItem (op=0x0, key=0xb7d8c3a0, > value=0x81453c0) at ../Objects/dictobject.c:624 > hash = <value optimized > out> > > > > n_used = <value optimized > out> > > > > #1 0x08088d42 in PyDict_SetItemString (v=0x0, > key=0x813f9f2 "exc_type", item=0x81453c0) > at ../Objects/dictobject.c:2186 > > > > > kv = (PyObject *) > 0xb7d8c3a0 > > > > err = -1 > > > > > > #2 0x080f2a51 in PySys_SetObject (name=0x813f9f2 > "exc_type", v=0xa047d40) > > at ../Python/sysmodule.c:82 > > > > > sd = (PyObject *) 0x0 > > > > > #3 0x080cdd66 in PyEval_EvalFrameEx (f=0x9f4b744, > throwflag=0) at ../Python/ceval.c:2994 > exc = (PyObject *) > 0x81453c0 > > > > val = (PyObject *) > 0xa047cec > > > > tb = (PyObject *) > 0xa0434dc > > > > b = (PyTryBlock *) > 0x9f4b78c > > > > stack_pointer = (PyObject **) > 0x9f4b87c > > > next_instr = (unsigned char *) > 0x9f35311 "SWn\032" > > > opcode = <value optimized > out> > > > > oparg = 0 > > > > > > why = <value optimized > out> > > > > err = 0 > > > > > > x = (PyObject *) > 0x814a398 > > > > v = (PyObject *) 0x0 > > > > > w = (PyObject *) 0x0 > > > > > u = (PyObject *) 0x0 > > > > > t = <value optimized > out> > > > > stream = (PyObject *) 0x0 > > > > > freevars = (PyObject **) > 0x9f4b87c > > > > retval = (PyObject *) 0x0 > > > > > tstate = (PyThreadState *) > 0xa2f1e60 > > > > co = (PyCodeObject *) > 0x9f35338 > > > > instr_ub = -1 > > > > > > instr_lb = 0 > > > > > > instr_prev = -1 > > > > > first_instr = (unsigned char *) > 0x9f35304 "y\017" > > > ---Type <return> to continue, or q <return> to > quit--- > > > names = (PyObject *) > 0x9f00e14 > > > > consts = (PyObject *) > 0x9f1454c > > > > #4 0x080cf89d in PyEval_EvalFrameEx (f=0x9f5f5fc, > throwflag=0) at ../Python/ceval.c:3698 > sp = (PyObject **) > 0x9f5f748 > > > > stack_pointer = (PyObject **) > 0x9f5f748 > > > next_instr = (unsigned char *) > 0x9818b02 "}\002" > > > opcode = <value optimized > out> > > > > oparg = 0 > > > > > > why = <value optimized > out> > > > > err = 0 > > > > > > x = (PyObject *) 0x0 > > > > > v = (PyObject *) > 0x9f0f8ac > > > > w = (PyObject *) 0x0 > > > > > u = (PyObject *) 0x0 > > > > > t = <value optimized > out> > > > > stream = (PyObject *) 0x0 > > > > > freevars = (PyObject **) > 0x9f5f744 > > > > retval = (PyObject *) 0x0 > > > > > tstate = (PyThreadState *) > 0xa2f1e60 > > > > co = (PyCodeObject *) > 0x9f1bd10 > > > > instr_ub = -1 > > > > > > instr_lb = 0 > > > > > > instr_prev = -1 > > > > > first_instr = (unsigned char *) > 0x9818afc "t" > > > names = (PyObject *) > 0x9f011ac > > > > consts = (PyObject *) > 0x9f0114c > > > > #5 0x080d00c5 in PyEval_EvalCodeEx (co=0x9f1bd10, > globals=0x9f0f8ac, locals=0x0, > > args=0xa0a5378, argcount=1, kws=0xa0a537c, > kwcount=0, defs=0x9f14dd8, defcount=1, > closure=0x0) at ../Python/ceval.c:2875 > > > > > f = (PyFrameObject *) > 0x9f5f5fc > > > > retval = <value optimized > out> > > > > freevars = (PyObject **) > 0x9f5f744 > > > > tstate = (PyThreadState *) > 0xa2f1e60 > > > > x = <value optimized > out> > > > > u = (PyObject *) > 0x9eabdac > > > > ---Type <return> to continue, or q <return> to > quit--- > > > #6 0x080ce9fc in PyEval_EvalFrameEx (f=0xa0a520c, > throwflag=0) at ../Python/ceval.c:3708 > sp = (PyObject **) > 0xa0a537c > > > > stack_pointer = (PyObject **) > 0xa0a537c > > > next_instr = (unsigned char *) > 0x9fea5a7 "\001z�\001t\003" > > > opcode = <value optimized > out> > > > > oparg = 0 > > > > > > why = <value optimized > out> > > > > err = 0 > > > > > > x = (PyObject *) > 0x9c165cc > > > > v = (PyObject *) > 0x9e9ed74 > > > > w = (PyObject *) 0x0 > > > > > u = (PyObject *) 0x0 > > > > > t = <value optimized > out> > > > > stream = (PyObject *) 0x0 > > > > > freevars = (PyObject **) > 0xa0a5378 > > > > retval = (PyObject *) 0x0 > > > > > tstate = (PyThreadState *) > 0xa2f1e60 > > > > co = (PyCodeObject *) > 0x9ea6650 > > > > instr_ub = -1 > > > > > > instr_lb = 0 > > > > > > instr_prev = -1 > > > > > first_instr = (unsigned char *) > 0x9fea594 "|" > > > names = (PyObject *) > 0x9ea412c > > > > consts = (PyObject *) > 0x9ea64f4 > > > > #7 0x080d00c5 in PyEval_EvalCodeEx (co=0x9ea6650, > globals=0x9e9ed74, locals=0x0, > > args=0xa047ab8, argcount=2, kws=0x0, > kwcount=0, defs=0x0, defcount=0, closure=0x0) > > at ../Python/ceval.c:2875 > > > > > f = (PyFrameObject *) > 0xa0a520c > > > > retval = <value optimized > out> > > > > freevars = (PyObject **) > 0xa0a5378 > > > > tstate = (PyThreadState *) > 0xa2f1e60 > > > > x = <value optimized > out> > > > > u = (PyObject *) 0x0 > > > > > #8 0x08116b91 in function_call (func=0x9eb241c, > arg=0xa047aac, kw=0x0) > > at ../Objects/funcobject.c:517 > > > > > ---Type <return> to continue, or q <return> to > quit--- > > > result = <value optimized > out> > > > > argdefs = <value optimized > out> > > > > d = (PyObject **) 0x0 > > > > > nk = <value optimized > out> > > > > nd = 0 > > > > > > #9 0x0805d4b7 in PyObject_Call (func=0xa0311d0, > arg=0xa047aac, kw=0x0) > > at ../Objects/abstract.c:1861 > > > > > result = <value optimized > out> > > > > call = (ternaryfunc) 0 > > > > > > #10 0x0806369f in instancemethod_call (func=0x9eb241c, > arg=0xa047aac, kw=0x0) > at ../Objects/classobject.c:2519 > > > > self = (PyObject *) > 0xa042dec > > > klass = (PyObject *) 0x1 > > > > result = <value optimized > out> > > > #11 0x0805d4b7 in PyObject_Call (func=0xa0311d0, > arg=0xa039ccc, kw=0x0) > at ../Objects/abstract.c:1861 > > > > result = <value optimized > out> > > > call = (ternaryfunc) 0 > > > > #12 0x080a24d7 in call_method (o=0xa042dec, name=0x812842f > "__getitem__", nameobj=0x8168874, > format=0x812d8fe "(O)") at > ../Objects/typeobject.c:929 > > > args = (PyObject *) > 0xa039ccc > > > > func = (PyObject *) > 0x9c16644 > > > > retval = <value optimized > out> > > > > #13 0x080a2cf0 in slot_mp_subscript (self=0xa042dec, > arg1=0xa04412c) > > at ../Objects/typeobject.c:4371 > > > > > cache_str = (PyObject *) > 0xb7d53048 > > > > #14 0x080cbee4 in PyEval_EvalFrameEx (f=0xa289394, > throwflag=0) at ../Python/ceval.c:1214 > stack_pointer = (PyObject **) > 0xa2894e4 > > > next_instr = (unsigned char *) > 0x9f188ea "S" > > > opcode = <value optimized > out> > > > > oparg = 0 > > > > > > why = <value optimized > out> > > > > err = 0 > > > > > > x = (PyObject *) > 0xa04412c > > > > v = (PyObject *) > 0xa042dec > > > > ---Type <return> to continue, or q <return> to > quit--- > > > w = (PyObject *) > 0xa04412c > > > > u = (PyObject *) 0x0 > > > > > > t = <value optimized > out> > > > > stream = (PyObject *) 0x6 > > > > > freevars = (PyObject **) > 0xa2894dc > > > > retval = (PyObject *) 0x0 > > > > > tstate = (PyThreadState *) > 0xa2f1e60 > > > > co = (PyCodeObject *) > 0x9f1b6e0 > > > > instr_ub = -1 > > > > > > instr_lb = 0 > > > > > > instr_prev = -1 > > > > > > first_instr = (unsigned char *) > 0x9f188d4 "|" > > > names = (PyObject *) > 0x9efe70c > > > > consts = (PyObject *) > 0x9efe6ec > > > > #15 0x080d00c5 in PyEval_EvalCodeEx (co=0x9f1b6e0, > globals=0x9f12c64, locals=0x0, > > args=0xb26019c0, argcount=4, kws=0xb26019d0, > kwcount=0, defs=0x9efe918, defcount=1, > closure=0x0) at ../Python/ceval.c:2875 > > > > > f = (PyFrameObject *) > 0xa289394 > > > > retval = <value optimized > out> > > > > freevars = (PyObject **) > 0xa2894dc > > > > tstate = (PyThreadState *) > 0xa2f1e60 > > > > x = <value optimized > out> > > > > u = (PyObject *) > 0xb26019c0 > > > > #16 0x080ce9fc in PyEval_EvalFrameEx (f=0xb2601874, > throwflag=0) at ../Python/ceval.c:3708 > sp = (PyObject **) > 0xb26019d0 > > > > stack_pointer = (PyObject **) > 0xb26019d0 > > > > next_instr = (unsigned char *) > 0x9e073f6 "d\003" > > > opcode = <value optimized > out> > > > > oparg = 3 > > > > > > why = <value optimized > out> > > > > err = 0 > > > > > > x = (PyObject *) > 0x96500ac > > > > v = (PyObject *) > 0xb2600010 > > > > w = (PyObject *) > 0xb6d73037 > > > > u = (PyObject *) 0x1d6fa0 > > > > > ---Type <return> to continue, or q <return> to > quit--- > > > t = <value optimized > out> > > > > stream = (PyObject *) > 0xa1d6fa0 > > > > freevars = (PyObject **) > 0xb26019b8 > > > > retval = (PyObject *) 0x0 > > > > > tstate = (PyThreadState *) > 0xa2f1e60 > > > > co = (PyCodeObject *) > 0x9f09608 > > > > instr_ub = -1 > > > > > > instr_lb = 0 > > > > > > instr_prev = -1 > > > > > > first_instr = (unsigned char *) > 0x9e07394 "|" > > > names = (PyObject *) > 0x982270c > > > > consts = (PyObject *) > 0x9f23e9c > > > > #17 0x080d00c5 in PyEval_EvalCodeEx (co=0x9f09608, > globals=0x9f04bdc, locals=0x0, > > args=0xa047b58, argcount=2, kws=0x0, > kwcount=0, defs=0x0, defcount=0, closure=0x0) > > at ../Python/ceval.c:2875 > > > > > > f = (PyFrameObject *) > 0xb2601874 > retval = <value optimized > out> > freevars = (PyObject **) > 0xb26019b8 > tstate = (PyThreadState *) > 0xa2f1e60 > x = <value optimized > out> > u = (PyObject *) > 0xa1cb000 > #18 0x08116b91 in function_call (func=0x9a4abc4, > arg=0xa047b4c, kw=0x0) > at ../Objects/funcobject.c:517 > > > > result = <value optimized > out> > > > argdefs = <value optimized > out> > > > d = (PyObject **) 0x0 > > > > nk = <value optimized > out> > > > nd = 0 > > > > > #19 0x0805d4b7 in PyObject_Call (func=0xa0311d0, > arg=0xa047b4c, kw=0x0) > at ../Objects/abstract.c:1861 > > > > result = <value optimized > out> > call = (ternaryfunc) 0 > #20 0x0806369f in instancemethod_call (func=0x9a4abc4, > arg=0xa047b4c, kw=0x0) > at ../Objects/classobject.c:2519 > self = (PyObject *) 0x9afadac > ---Type <return> to continue, or q <return> to > quit--- > klass = (PyObject *) 0x1 > result = <value optimized > out> > #21 0x0805d4b7 in PyObject_Call (func=0xa0311d0, > arg=0xa04278c, kw=0x0) > at ../Objects/abstract.c:1861 > result = <value optimized > out> > call = (ternaryfunc) 0 > #22 0x080c88fc in PyEval_CallObjectWithKeywords > (func=0x9c165a4, arg=0xa04278c, kw=0x0) > at ../Python/ceval.c:3481 > result = <value optimized > out> > #23 0xb55d9d6f in ?? () from > /usr/lib/python2.5/site-packages/_sndobj.so > No symbol table info available. > #24 0xb5429992 in threadfunc () from > /usr/lib/libsndobj.so.2.6.5 > No symbol table info available. > #25 0xb7f284e5 in start_thread (arg=0xb1dfeb90) at > pthread_create.c:300 > __res = <value optimized > out> > __ignore1 = <value optimized > out> > __ignore2 = <value optimized > out> > pd = (struct pthread *) > 0xb1dfeb90 > now = <value optimized > out> > unwind_buf = {cancel_jmp_buf = > {{jmp_buf = {-1208778764, 0, 4001536, -1310726984, > 1504832600, 58672724}, > mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, > data = {prev = 0x0, cleanup = 0x0, canceltype > = 0}}} > not_first_call = <value > optimized out> > #26 0xb7e7621e in clone () at > ../sysdeps/unix/sysv/linux/i386/clone.S:130 > No locals. > thanks in advice. Luigi |
From: Luigi C. <lui...@ya...> - 2009-06-30 11:46:38
|
i use python-sndobj. i created a sndthread with a callback function that pushes in a slice from a numpy array in sndobj; the numpy array is a view from an h5py file (created using h5py library facilities) def __process_callback(self, channels): if self.stream.pos_ptr < stop: for i in range(channels): self.channels[i].PushIn(self.stream.audiodata.get_slice(self.stream.pos_ptr, self.stream.pos_ptr + 256, i) * 32768) self.stream.pos_ptr += 256 i think that the problem is in h5py + sndthread, because also without pushin function in the callback, application crashes. if i use same array in a qthread or in a python thread it works without problems; this is the bt: (gdb) bt full #0 PyDict_SetItem (op=0x0, key=0xb7d8c3a0, value=0x81453c0) at ../Objects/dictobject.c:624 hash = <value optimized out> n_used = <value optimized out> #1 0x08088d42 in PyDict_SetItemString (v=0x0, key=0x813f9f2 "exc_type", item=0x81453c0) at ../Objects/dictobject.c:2186 kv = (PyObject *) 0xb7d8c3a0 err = -1 #2 0x080f2a51 in PySys_SetObject (name=0x813f9f2 "exc_type", v=0xa047d40) at ../Python/sysmodule.c:82 sd = (PyObject *) 0x0 #3 0x080cdd66 in PyEval_EvalFrameEx (f=0x9f4b744, throwflag=0) at ../Python/ceval.c:2994 exc = (PyObject *) 0x81453c0 val = (PyObject *) 0xa047cec tb = (PyObject *) 0xa0434dc b = (PyTryBlock *) 0x9f4b78c stack_pointer = (PyObject **) 0x9f4b87c next_instr = (unsigned char *) 0x9f35311 "SWn\032" opcode = <value optimized out> oparg = 0 why = <value optimized out> err = 0 x = (PyObject *) 0x814a398 v = (PyObject *) 0x0 w = (PyObject *) 0x0 u = (PyObject *) 0x0 t = <value optimized out> stream = (PyObject *) 0x0 freevars = (PyObject **) 0x9f4b87c retval = (PyObject *) 0x0 tstate = (PyThreadState *) 0xa2f1e60 co = (PyCodeObject *) 0x9f35338 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = (unsigned char *) 0x9f35304 "y\017" ---Type <return> to continue, or q <return> to quit--- names = (PyObject *) 0x9f00e14 consts = (PyObject *) 0x9f1454c #4 0x080cf89d in PyEval_EvalFrameEx (f=0x9f5f5fc, throwflag=0) at ../Python/ceval.c:3698 sp = (PyObject **) 0x9f5f748 stack_pointer = (PyObject **) 0x9f5f748 next_instr = (unsigned char *) 0x9818b02 "}\002" opcode = <value optimized out> oparg = 0 why = <value optimized out> err = 0 x = (PyObject *) 0x0 v = (PyObject *) 0x9f0f8ac w = (PyObject *) 0x0 u = (PyObject *) 0x0 t = <value optimized out> stream = (PyObject *) 0x0 freevars = (PyObject **) 0x9f5f744 retval = (PyObject *) 0x0 tstate = (PyThreadState *) 0xa2f1e60 co = (PyCodeObject *) 0x9f1bd10 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = (unsigned char *) 0x9818afc "t" names = (PyObject *) 0x9f011ac consts = (PyObject *) 0x9f0114c #5 0x080d00c5 in PyEval_EvalCodeEx (co=0x9f1bd10, globals=0x9f0f8ac, locals=0x0, args=0xa0a5378, argcount=1, kws=0xa0a537c, kwcount=0, defs=0x9f14dd8, defcount=1, closure=0x0) at ../Python/ceval.c:2875 f = (PyFrameObject *) 0x9f5f5fc retval = <value optimized out> freevars = (PyObject **) 0x9f5f744 tstate = (PyThreadState *) 0xa2f1e60 x = <value optimized out> u = (PyObject *) 0x9eabdac ---Type <return> to continue, or q <return> to quit--- #6 0x080ce9fc in PyEval_EvalFrameEx (f=0xa0a520c, throwflag=0) at ../Python/ceval.c:3708 sp = (PyObject **) 0xa0a537c stack_pointer = (PyObject **) 0xa0a537c next_instr = (unsigned char *) 0x9fea5a7 "\001z�\001t\003" opcode = <value optimized out> oparg = 0 why = <value optimized out> err = 0 x = (PyObject *) 0x9c165cc v = (PyObject *) 0x9e9ed74 w = (PyObject *) 0x0 u = (PyObject *) 0x0 t = <value optimized out> stream = (PyObject *) 0x0 freevars = (PyObject **) 0xa0a5378 retval = (PyObject *) 0x0 tstate = (PyThreadState *) 0xa2f1e60 co = (PyCodeObject *) 0x9ea6650 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = (unsigned char *) 0x9fea594 "|" names = (PyObject *) 0x9ea412c consts = (PyObject *) 0x9ea64f4 #7 0x080d00c5 in PyEval_EvalCodeEx (co=0x9ea6650, globals=0x9e9ed74, locals=0x0, args=0xa047ab8, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2875 f = (PyFrameObject *) 0xa0a520c retval = <value optimized out> freevars = (PyObject **) 0xa0a5378 tstate = (PyThreadState *) 0xa2f1e60 x = <value optimized out> u = (PyObject *) 0x0 #8 0x08116b91 in function_call (func=0x9eb241c, arg=0xa047aac, kw=0x0) at ../Objects/funcobject.c:517 ---Type <return> to continue, or q <return> to quit--- result = <value optimized out> argdefs = <value optimized out> d = (PyObject **) 0x0 nk = <value optimized out> nd = 0 #9 0x0805d4b7 in PyObject_Call (func=0xa0311d0, arg=0xa047aac, kw=0x0) at ../Objects/abstract.c:1861 result = <value optimized out> call = (ternaryfunc) 0 #10 0x0806369f in instancemethod_call (func=0x9eb241c, arg=0xa047aac, kw=0x0) at ../Objects/classobject.c:2519 self = (PyObject *) 0xa042dec klass = (PyObject *) 0x1 result = <value optimized out> #11 0x0805d4b7 in PyObject_Call (func=0xa0311d0, arg=0xa039ccc, kw=0x0) at ../Objects/abstract.c:1861 result = <value optimized out> call = (ternaryfunc) 0 #12 0x080a24d7 in call_method (o=0xa042dec, name=0x812842f "__getitem__", nameobj=0x8168874, format=0x812d8fe "(O)") at ../Objects/typeobject.c:929 args = (PyObject *) 0xa039ccc func = (PyObject *) 0x9c16644 retval = <value optimized out> #13 0x080a2cf0 in slot_mp_subscript (self=0xa042dec, arg1=0xa04412c) at ../Objects/typeobject.c:4371 cache_str = (PyObject *) 0xb7d53048 #14 0x080cbee4 in PyEval_EvalFrameEx (f=0xa289394, throwflag=0) at ../Python/ceval.c:1214 stack_pointer = (PyObject **) 0xa2894e4 next_instr = (unsigned char *) 0x9f188ea "S" opcode = <value optimized out> oparg = 0 why = <value optimized out> err = 0 x = (PyObject *) 0xa04412c v = (PyObject *) 0xa042dec ---Type <return> to continue, or q <return> to quit--- w = (PyObject *) 0xa04412c u = (PyObject *) 0x0 t = <value optimized out> stream = (PyObject *) 0x6 freevars = (PyObject **) 0xa2894dc retval = (PyObject *) 0x0 tstate = (PyThreadState *) 0xa2f1e60 co = (PyCodeObject *) 0x9f1b6e0 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = (unsigned char *) 0x9f188d4 "|" names = (PyObject *) 0x9efe70c consts = (PyObject *) 0x9efe6ec #15 0x080d00c5 in PyEval_EvalCodeEx (co=0x9f1b6e0, globals=0x9f12c64, locals=0x0, args=0xb26019c0, argcount=4, kws=0xb26019d0, kwcount=0, defs=0x9efe918, defcount=1, closure=0x0) at ../Python/ceval.c:2875 f = (PyFrameObject *) 0xa289394 retval = <value optimized out> freevars = (PyObject **) 0xa2894dc tstate = (PyThreadState *) 0xa2f1e60 x = <value optimized out> u = (PyObject *) 0xb26019c0 #16 0x080ce9fc in PyEval_EvalFrameEx (f=0xb2601874, throwflag=0) at ../Python/ceval.c:3708 sp = (PyObject **) 0xb26019d0 stack_pointer = (PyObject **) 0xb26019d0 next_instr = (unsigned char *) 0x9e073f6 "d\003" opcode = <value optimized out> oparg = 3 why = <value optimized out> err = 0 x = (PyObject *) 0x96500ac v = (PyObject *) 0xb2600010 w = (PyObject *) 0xb6d73037 u = (PyObject *) 0x1d6fa0 ---Type <return> to continue, or q <return> to quit--- t = <value optimized out> stream = (PyObject *) 0xa1d6fa0 freevars = (PyObject **) 0xb26019b8 retval = (PyObject *) 0x0 tstate = (PyThreadState *) 0xa2f1e60 co = (PyCodeObject *) 0x9f09608 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = (unsigned char *) 0x9e07394 "|" names = (PyObject *) 0x982270c consts = (PyObject *) 0x9f23e9c #17 0x080d00c5 in PyEval_EvalCodeEx (co=0x9f09608, globals=0x9f04bdc, locals=0x0, args=0xa047b58, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2875 f = (PyFrameObject *) 0xb2601874 retval = <value optimized out> freevars = (PyObject **) 0xb26019b8 tstate = (PyThreadState *) 0xa2f1e60 x = <value optimized out> u = (PyObject *) 0xa1cb000 #18 0x08116b91 in function_call (func=0x9a4abc4, arg=0xa047b4c, kw=0x0) at ../Objects/funcobject.c:517 result = <value optimized out> argdefs = <value optimized out> d = (PyObject **) 0x0 nk = <value optimized out> nd = 0 #19 0x0805d4b7 in PyObject_Call (func=0xa0311d0, arg=0xa047b4c, kw=0x0) at ../Objects/abstract.c:1861 result = <value optimized out> call = (ternaryfunc) 0 #20 0x0806369f in instancemethod_call (func=0x9a4abc4, arg=0xa047b4c, kw=0x0) at ../Objects/classobject.c:2519 self = (PyObject *) 0x9afadac ---Type <return> to continue, or q <return> to quit--- klass = (PyObject *) 0x1 result = <value optimized out> #21 0x0805d4b7 in PyObject_Call (func=0xa0311d0, arg=0xa04278c, kw=0x0) at ../Objects/abstract.c:1861 result = <value optimized out> call = (ternaryfunc) 0 #22 0x080c88fc in PyEval_CallObjectWithKeywords (func=0x9c165a4, arg=0xa04278c, kw=0x0) at ../Python/ceval.c:3481 result = <value optimized out> #23 0xb55d9d6f in ?? () from /usr/lib/python2.5/site-packages/_sndobj.so No symbol table info available. #24 0xb5429992 in threadfunc () from /usr/lib/libsndobj.so.2.6.5 No symbol table info available. #25 0xb7f284e5 in start_thread (arg=0xb1dfeb90) at pthread_create.c:300 __res = <value optimized out> __ignore1 = <value optimized out> __ignore2 = <value optimized out> pd = (struct pthread *) 0xb1dfeb90 now = <value optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1208778764, 0, 4001536, -1310726984, 1504832600, 58672724}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <value optimized out> #26 0xb7e7621e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 No locals. thanks in advice. Luigi |
From: Daniel S. <das...@gm...> - 2009-06-27 14:31:29
|
Hey, Yeah i gave him some directions, unfortunately my gmail seems to not automatically reply-to-all now, so it didn't make it to the list On Sat, Jun 27, 2009 at 7:48 AM, victor <Vic...@nu...> wrote: > Daniel was doing some Debian packaging, but I am not sure now. > > Victor > ----- Original Message ----- > From: "Renaud Chénard" <rch...@gm...> > To: <snd...@li...> > Sent: Monday, June 22, 2009 6:50 PM > Subject: [Sndobj-devel] Debian Lenny Repository > > > > Hello, > > > > > > Sorry for my poor english and if my question seem stupid. :-) > > > > I recently switch from Xubuntu to Debian Lenny. > > I know that there is an Ubuntu repository. > > Is there a Debian repository ? > > > > > > Thanks by advance for your answers ! > > > > > ------------------------------------------------------------------------------ > > Are you an open source citizen? Join us for the Open Source Bridge > > conference! > > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > > $250. > > Need another reason to go? 24-hour hacker lounge. Register today! > > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > > _______________________________________________ > > Sndobj-devel mailing list > > Snd...@li... > > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > |
From: victor <Vic...@nu...> - 2009-06-27 11:48:40
|
Daniel was doing some Debian packaging, but I am not sure now. Victor ----- Original Message ----- From: "Renaud Chénard" <rch...@gm...> To: <snd...@li...> Sent: Monday, June 22, 2009 6:50 PM Subject: [Sndobj-devel] Debian Lenny Repository > Hello, > > > Sorry for my poor english and if my question seem stupid. :-) > > I recently switch from Xubuntu to Debian Lenny. > I know that there is an Ubuntu repository. > Is there a Debian repository ? > > > Thanks by advance for your answers ! > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel |
From: Renaud C. <rch...@gm...> - 2009-06-22 17:50:41
|
Hello, Sorry for my poor english and if my question seem stupid. :-) I recently switch from Xubuntu to Debian Lenny. I know that there is an Ubuntu repository. Is there a Debian repository ? Thanks by advance for your answers ! |
From: Daniel S. <das...@gm...> - 2009-06-18 13:22:01
|
Ok, well i added it to AudioDefs.i under the python folder with the other oscillators, listed and i see a PhOscili.os during the build process with the other stuff but after getting it all installed and trying to use it, still no sndobj.PhOscili in python, any other ideas? On Thu, Jun 18, 2009 at 8:20 AM, <Vic...@nu...> wrote: > > Check AudioDefs.i and see if its header is not listed there. Perhaps that > is > why. > > Victor > > ----- Original Message ----- > From: Daniel Skinner <das...@gm...> > Date: Thursday, June 18, 2009 12:45 pm > Subject: [Sndobj-devel] PhOscili missing > To: sndobj <snd...@li...> > > > Hi > > > > I just noticed class PhOscili is missing from pysndobj. It was > > first noticed on a windows build of cvs and then i checked in > > linux, same case. Any info on this? > > > > Thanks, > > Daniel > > > > > ----------------------------------------------------------------- > > ------------- > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensing option that enables unlimited > > royalty-free distribution of the report engine for externally > > facing > > server and web deployment. > > http://p.sf.net/sfu/businessobjects> > _______________________________________________ > > Sndobj-devel mailing list > > Snd...@li... > > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,National University of > Ireland, Maynooth > |
From: Daniel S. <das...@gm...> - 2009-06-18 11:44:41
|
Hi I just noticed class PhOscili is missing from pysndobj. It was first noticed on a windows build of cvs and then i checked in linux, same case. Any info on this? Thanks, Daniel |
From: victor <Vic...@nu...> - 2009-06-14 12:53:32
|
Have you tried MinGW? It uses gcc and AFAIK produces faster code than the microsoft compiler. In fact the fastest code is probably icc, the intel compiler. When I have time I will try it. Also when I have time I want to play with its OpenMP implementation. But time seems to be the problem these days. I need to fix JackIO to protect those buffers. It's lock-free at the moment, but I might need to introduce locks, which I don't want to. Victor ----- Original Message ----- From: siris phi To: victor Cc: Daniel Skinner ; sndobj Sent: Sunday, June 14, 2009 12:24 AM Subject: Re: [Sndobj-devel] Updating MSVC in SConstruct Yes, that sounds like a great idea. I've got MSVC 2008 as well, and while most dev stuff is done on Linux, I've got a windows box to test thinks out on. Also, IronPython is almost twice as fast as CPython, so if you are doing PySndObj stuff on windows, that might be worth looking into. Coolest thing MS has ever done, IMHO. Dan, you need folks to test your prog on windows, yes? On Sat, Jun 13, 2009 at 11:55 AM, victor <Vic...@nu...> wrote: No objections. Perhaps the directory (msvc6.0) needs to be renamed? I don't use msvc myself, but this should be useful. Victor ----- Original Message ----- From: Daniel Skinner To: sndobj Sent: Friday, June 12, 2009 5:06 PM Subject: [Sndobj-devel] Updating MSVC in SConstruct Hey Im building sndobj on windows using msvc 2008(9.0), successfully to jump to the point. The current SConstruct references the outdated msvc6.0, which i wouldn't object to but microsoft pulled the download for msvc6 from their msdn site so its problematic to get a copy. So ive made a number of changes to the msvc area's of the SConstruct to reflect the latest changes and deprecations. Im going to commit my changes later after i fix the install process unless there are any objections. -------------------------------------------------------------------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------------------------------------------------------------------- _______________________________________________ Sndobj-devel mailing list Snd...@li... https://lists.sourceforge.net/lists/listinfo/sndobj-devel ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Sndobj-devel mailing list Snd...@li... https://lists.sourceforge.net/lists/listinfo/sndobj-devel |
From: Daniel S. <das...@gm...> - 2009-06-14 01:06:08
|
ok yeah, ill check that folder out. Im also looking into fixing the issues with using gcc on windows using the latest versions of everything. Mostly, gcc needs to be called with posix style pathnames but isn't. The SConstruct needs to reference sources something like ${SOURCES.posix} when calling SharedLibrary, or something to that effect. Right now im just outputing a dryrun to a file then parsing that and running the gcc commands with posix pathnames. But mainly i went to get jack support on windows and unistd.h that SndJackIO refers to is only available in mingw. Itll be a while before i incorporate those changes, but ill make the msvc updates pretty soon and do some test builds with the msvc project files converted. On Sat, Jun 13, 2009 at 2:55 PM, victor <Vic...@nu...> wrote: > No objections. Perhaps the directory (msvc6.0) needs to be renamed? > I don't use msvc myself, but this should be useful. > > Victor > > ----- Original Message ----- > *From:* Daniel Skinner <das...@gm...> > *To:* sndobj <snd...@li...> > *Sent:* Friday, June 12, 2009 5:06 PM > *Subject:* [Sndobj-devel] Updating MSVC in SConstruct > > Hey > > Im building sndobj on windows using msvc 2008(9.0), successfully to jump to > the point. The current SConstruct references the outdated msvc6.0, which i > wouldn't object to but microsoft pulled the download for msvc6 from their > msdn site so its problematic to get a copy. So ive made a number of changes > to the msvc area's of the SConstruct to reflect the latest changes and > deprecations. Im going to commit my changes later after i fix the install > process unless there are any objections. > > ------------------------------ > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > > ------------------------------ > > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > |
From: siris p. <sir...@gm...> - 2009-06-13 23:30:52
|
yeah, jack can be very tempermental about buffers. Have you tried changing the buffer size or the num frames/period? On Thu, Jun 11, 2009 at 1:22 PM, victor <Vic...@nu...> wrote: > I think the buffers might need protecting. I am a bit tied up now, but > I'll > see if I can take a look later. > > ----- Original Message ----- > *From:* Daniel Skinner <das...@gm...> > *To:* victor <Vic...@nu...> ; sndobj<snd...@li...> > *Sent:* Thursday, June 11, 2009 4:46 PM > *Subject:* Re: [Sndobj-devel] JackIO seg fault > > Hey I have an update on the segfaulting issue with jack > > The upgrade of jack did seem to alleviate the problem at the time but as > soon as i started using jack in realtime the problem occured again and more > often. > > So i was trying to see if i could deduce something in gdb but to no avail, > so i went to the JProcess in SndJackIO.cpp where the jack_port_get_buffer > was getting called and i tossed in some cout << vars in the for loop to see > how they compared to when its working vs not. > > So i got it compiled and started running it, and it never segfaulted, > realtime or not, at different sample rates, i went the whole nine yards. I > dont know how some std::cout lines would change that unless the writing to > stdout is causing enough of a delay to make something accessible. This > thought almost fits into whats happening where it sporadically works. > > Im going to continue running this modified version that prints to stdout > for my session tonight, then tomorrow im going to revert to the original to > reproduce the segfault so i have some solid data > > On Thu, Jun 4, 2009 at 12:43 PM, victor <Vic...@nu...> wrote: > >> I will have a look... >> >> ----- Original Message ----- >> *From:* Daniel Skinner <das...@gm...> >> *To:* sndobj <snd...@li...> >> *Sent:* Thursday, June 04, 2009 5:40 PM >> *Subject:* Re: [Sndobj-devel] JackIO seg fault >> >> Well i just installed the latest jack from svn, 1.9.3 and it seems to be a >> non issue, no segfaulting. So maybe it can be ignored? i dunno, maybe theres >> something there that could be improved >> >> ------------------------------ >> >> >> ------------------------------------------------------------------------------ >> OpenSolaris 2009.06 is a cutting edge operating system for enterprises >> looking to deploy the next generation of Solaris that includes the latest >> innovations from Sun and the OpenSource community. Download a copy and >> enjoy capabilities such as Networking, Storage and Virtualization. >> Go to: http://p.sf.net/sfu/opensolaris-get >> >> ------------------------------ >> >> _______________________________________________ >> Sndobj-devel mailing list >> Snd...@li... >> https://lists.sourceforge.net/lists/listinfo/sndobj-devel >> >> > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > |
From: siris p. <sir...@gm...> - 2009-06-13 23:24:23
|
Yes, that sounds like a great idea. I've got MSVC 2008 as well, and while most dev stuff is done on Linux, I've got a windows box to test thinks out on. Also, IronPython is almost twice as fast as CPython, so if you are doing PySndObj stuff on windows, that might be worth looking into. Coolest thing MS has ever done, IMHO. Dan, you need folks to test your prog on windows, yes? On Sat, Jun 13, 2009 at 11:55 AM, victor <Vic...@nu...> wrote: > No objections. Perhaps the directory (msvc6.0) needs to be renamed? > I don't use msvc myself, but this should be useful. > > Victor > > ----- Original Message ----- > *From:* Daniel Skinner <das...@gm...> > *To:* sndobj <snd...@li...> > *Sent:* Friday, June 12, 2009 5:06 PM > *Subject:* [Sndobj-devel] Updating MSVC in SConstruct > > Hey > > Im building sndobj on windows using msvc 2008(9.0), successfully to jump to > the point. The current SConstruct references the outdated msvc6.0, which i > wouldn't object to but microsoft pulled the download for msvc6 from their > msdn site so its problematic to get a copy. So ive made a number of changes > to the msvc area's of the SConstruct to reflect the latest changes and > deprecations. Im going to commit my changes later after i fix the install > process unless there are any objections. > > ------------------------------ > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > > ------------------------------ > > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > |
From: victor <Vic...@nu...> - 2009-06-13 22:43:13
|
Have a look at the Trane example, which uses FLTK; perhaps simpler to look at than MFC? Victor ----- Original Message ----- From: "malik martin" <las...@gm...> To: <snd...@li...> Sent: Saturday, June 13, 2009 11:32 PM Subject: [Sndobj-devel] MidiIn Alternatives > Hello, > I guess i might not be sounding terribly clever asking a question like > this, > but how would i created a Controller that would replace a MIDI in, > from say a GUI instead of > a physical controller? I'm looking in the docs and don't see any > included interface for this. > I guess i could try to make one. Any tips? > i was thinking of using your granular synth example a look, but MFC > gives me brain damage :) > the midisynth.cpp looks like it could be a good start. > "wants to turn Bend pitch(&conversion, &midi, 10.f); into GBend > pitch(&conversion, &genControl, 10.f);" > :) > > Malik > ( http://www.freewebs.com/laserbeak43 ) > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel |
From: malik m. <las...@gm...> - 2009-06-13 22:32:11
|
Hello, I guess i might not be sounding terribly clever asking a question like this, but how would i created a Controller that would replace a MIDI in, from say a GUI instead of a physical controller? I'm looking in the docs and don't see any included interface for this. I guess i could try to make one. Any tips? i was thinking of using your granular synth example a look, but MFC gives me brain damage :) the midisynth.cpp looks like it could be a good start. "wants to turn Bend pitch(&conversion, &midi, 10.f); into GBend pitch(&conversion, &genControl, 10.f);" :) Malik ( http://www.freewebs.com/laserbeak43 ) |
From: victor <Vic...@nu...> - 2009-06-13 21:38:19
|
Make sure you are commenting out the right file. There are 2 audiodefs.h (in src and in include/SndObj, confusing is it not :) just commenting out #include <unistd.h> should do the job. But I am surprised that defining WIN does not do it. Victor ----- Original Message ----- From: "malik martin" <las...@gm...> To: "victor" <Vic...@nu...> Sent: Saturday, June 13, 2009 10:26 PM Subject: Re: [Sndobj-devel] WIN not defined. Defaulting to 0x0600 (WindowsVista) > should i remove WIN before adding -DWIN? > Malik > ( http://www.freewebs.com/laserbeak43 ) > > > > On Sat, Jun 13, 2009 at 2:53 PM, victor<Vic...@nu...> wrote: >> Try adding -DWIN to your command-line or IDE options. >> >> Victor >> ----- Original Message ----- From: "malik martin" <las...@gm...> >> To: <snd...@li...> >> Sent: Saturday, June 13, 2009 12:08 PM >> Subject: [Sndobj-devel] WIN not defined. Defaulting to 0x0600 (Windows >> Vista) >> >> >>> Hello, >>> I'm trying to build in MSVC 2008 pro and i'm getting a message at >>> output that says >>> WIN not defined. Defaulting to 0x0600 (Windows Vista) >>> when i build. >>> this has no immediate affect, but when i try to include Audiodefs.h >>> into my projects, i get an error message because the compiler is >>> looking for a POSIX header named unistd.h >>> i've commented that section out >>> //#ifndef WIN >>> //#include <unistd.h> >>> //#endif >>> but it doesnt' seem like whats needed to satisfy the compiler. >>> so then, i switched all instances of WIN to WINVER and get the same >>> error. anyone have any idea? could use some help. thanks >>> :) >>> Malik >>> ( http://www.freewebs.com/laserbeak43 ) >>> >>> >>> ------------------------------------------------------------------------------ >>> Crystal Reports - New Free Runtime and 30 Day Trial >>> Check out the new simplified licensing option that enables unlimited >>> royalty-free distribution of the report engine for externally facing >>> server and web deployment. >>> http://p.sf.net/sfu/businessobjects >>> _______________________________________________ >>> Sndobj-devel mailing list >>> Snd...@li... >>> https://lists.sourceforge.net/lists/listinfo/sndobj-devel >> >> |
From: victor <Vic...@nu...> - 2009-06-13 18:55:17
|
No objections. Perhaps the directory (msvc6.0) needs to be renamed? I don't use msvc myself, but this should be useful. Victor ----- Original Message ----- From: Daniel Skinner To: sndobj Sent: Friday, June 12, 2009 5:06 PM Subject: [Sndobj-devel] Updating MSVC in SConstruct Hey Im building sndobj on windows using msvc 2008(9.0), successfully to jump to the point. The current SConstruct references the outdated msvc6.0, which i wouldn't object to but microsoft pulled the download for msvc6 from their msdn site so its problematic to get a copy. So ive made a number of changes to the msvc area's of the SConstruct to reflect the latest changes and deprecations. Im going to commit my changes later after i fix the install process unless there are any objections. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ------------------------------------------------------------------------------ _______________________________________________ Sndobj-devel mailing list Snd...@li... https://lists.sourceforge.net/lists/listinfo/sndobj-devel |
From: luigi c. <lui...@ya...> - 2009-06-13 16:28:20
|
hello, is it possible to read data from a numpy array as from a wav file? i mean, i have a numpy array and i want to read it with sndobj as if it is an audio file; i know that "pushin" support numpy array, but i would to use sndthread. some advice? thank in advance. Luigi -- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Io sono lo sbaglio, il momento di confusione, l'inopportuno Non sono niente. Non sarò mai niente. Non posso volere d'essere niente. A parte questo, ho in me tutti i sogni del mondo. F. Pessoa ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* |
From: malik m. <las...@gm...> - 2009-06-13 11:08:45
|
Hello, I'm trying to build in MSVC 2008 pro and i'm getting a message at output that says WIN not defined. Defaulting to 0x0600 (Windows Vista) when i build. this has no immediate affect, but when i try to include Audiodefs.h into my projects, i get an error message because the compiler is looking for a POSIX header named unistd.h i've commented that section out //#ifndef WIN //#include <unistd.h> //#endif but it doesnt' seem like whats needed to satisfy the compiler. so then, i switched all instances of WIN to WINVER and get the same error. anyone have any idea? could use some help. thanks :) Malik ( http://www.freewebs.com/laserbeak43 ) |
From: Daniel S. <das...@gm...> - 2009-06-12 16:07:36
|
Hey Im building sndobj on windows using msvc 2008(9.0), successfully to jump to the point. The current SConstruct references the outdated msvc6.0, which i wouldn't object to but microsoft pulled the download for msvc6 from their msdn site so its problematic to get a copy. So ive made a number of changes to the msvc area's of the SConstruct to reflect the latest changes and deprecations. Im going to commit my changes later after i fix the install process unless there are any objections. |
From: victor <Vic...@nu...> - 2009-06-11 20:22:23
|
I think the buffers might need protecting. I am a bit tied up now, but I'll see if I can take a look later. ----- Original Message ----- From: Daniel Skinner To: victor ; sndobj Sent: Thursday, June 11, 2009 4:46 PM Subject: Re: [Sndobj-devel] JackIO seg fault Hey I have an update on the segfaulting issue with jack The upgrade of jack did seem to alleviate the problem at the time but as soon as i started using jack in realtime the problem occured again and more often. So i was trying to see if i could deduce something in gdb but to no avail, so i went to the JProcess in SndJackIO.cpp where the jack_port_get_buffer was getting called and i tossed in some cout << vars in the for loop to see how they compared to when its working vs not. So i got it compiled and started running it, and it never segfaulted, realtime or not, at different sample rates, i went the whole nine yards. I dont know how some std::cout lines would change that unless the writing to stdout is causing enough of a delay to make something accessible. This thought almost fits into whats happening where it sporadically works. Im going to continue running this modified version that prints to stdout for my session tonight, then tomorrow im going to revert to the original to reproduce the segfault so i have some solid data On Thu, Jun 4, 2009 at 12:43 PM, victor <Vic...@nu...> wrote: I will have a look... ----- Original Message ----- From: Daniel Skinner To: sndobj Sent: Thursday, June 04, 2009 5:40 PM Subject: Re: [Sndobj-devel] JackIO seg fault Well i just installed the latest jack from svn, 1.9.3 and it seems to be a non issue, no segfaulting. So maybe it can be ignored? i dunno, maybe theres something there that could be improved -------------------------------------------------------------------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------------------------------------------------------------------- _______________________________________________ Sndobj-devel mailing list Snd...@li... https://lists.sourceforge.net/lists/listinfo/sndobj-devel |
From: Daniel S. <das...@gm...> - 2009-06-11 15:46:47
|
Hey I have an update on the segfaulting issue with jack The upgrade of jack did seem to alleviate the problem at the time but as soon as i started using jack in realtime the problem occured again and more often. So i was trying to see if i could deduce something in gdb but to no avail, so i went to the JProcess in SndJackIO.cpp where the jack_port_get_buffer was getting called and i tossed in some cout << vars in the for loop to see how they compared to when its working vs not. So i got it compiled and started running it, and it never segfaulted, realtime or not, at different sample rates, i went the whole nine yards. I dont know how some std::cout lines would change that unless the writing to stdout is causing enough of a delay to make something accessible. This thought almost fits into whats happening where it sporadically works. Im going to continue running this modified version that prints to stdout for my session tonight, then tomorrow im going to revert to the original to reproduce the segfault so i have some solid data On Thu, Jun 4, 2009 at 12:43 PM, victor <Vic...@nu...> wrote: > I will have a look... > > ----- Original Message ----- > *From:* Daniel Skinner <das...@gm...> > *To:* sndobj <snd...@li...> > *Sent:* Thursday, June 04, 2009 5:40 PM > *Subject:* Re: [Sndobj-devel] JackIO seg fault > > Well i just installed the latest jack from svn, 1.9.3 and it seems to be a > non issue, no segfaulting. So maybe it can be ignored? i dunno, maybe theres > something there that could be improved > > ------------------------------ > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > > ------------------------------ > > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > |
From: Daniel S. <das...@gm...> - 2009-06-11 10:21:30
|
Im actually doing this alot earlier then i originally anticipated but here it is, public release of vizi. http://vizi.dasa.cc/ Theres a video you can check out here that briefly goes over some of what it does. The code is on launchpad http://www.launchpad.net/vizi Requirements right now include sndobj built with numpy support, python-numpy, python2.6, and pybox2d (which can be had here http://code.google.com/p/pybox2d/downloads/list ). In the future pybox2d will be optional for use of physics. A quick cap of current features. * Physics for future tie-ins to controls * A small portion of SndObj objects including things like oscili, FFT, SpecVoc, IFFT, Line In's from hardware * Multiple workspaces that are encapsulated as objects manipulatable in the same fashion as the base objects In the sound.py, the sound system can be initialized to use jack or the system default, you'll need to refer to their for other platforms. This is completely experimental and hasn't been tested beyond my linux box, but for any brave adventurers, enjoy. If you have any questions, feel free to contact me |
From: Daniel S. <das...@gm...> - 2009-06-10 15:58:48
|
Hey, I was wondering if its possible to create null jack inputs that I can route other software to through qjackctl. For example, if using something like ardour, anytime you create a new track or bus, it shows up in qjackctl under the ardour program. In contrast, sndobj displays the available inputs based on my hardware in qjackctl. I thought maybe just keep incrementing the number i want to connect to but it just loops around so outp = SndJackIO('sndobj') inp = outp sndin1 = SndIn(inp, 1) # accesses my first input of hardware sndin2 = SndIn(inp, 2) # accesses my second input of hardware sndin3 = SndIn(inp, 3) # accesses my first input of hardware I guess ideally id like to be able to make my mixer objects available to route out to other programs as well through the jack interface |
From: Daniel S. <das...@gm...> - 2009-06-09 16:15:48
|
Hi all, Im getting prepared for a public release of my vizi program in the next few weeks [http://vizi.dasa.cc] licensed under GPLv2 (or later at your choice) and will need to do some testing on windows. I was wondering if anyone has already built a windows python module for 2.6 with the new numpy stuff from cvs. I attempted a build with mingw about a month ago or so but it didn't work out to well for me, i dont do much on windows so it takes me alot longer then what i sometimes have to give. Thanks, Daniel |
From: Daniel S. <das...@gm...> - 2009-06-05 00:57:40
|
Hi, I was a little confused about graphing a set of ADSR attributes. If maxamp represents the rise after attack, is sustain unconcerned with what the max is? I would think that sustain would always be lower then the maxamp since it is occuring after decay. Is this incorrect? Mainly, im looking at the second example in the sndobj manual where the attack is set to 1000.f and the sustain is set to 8000.f So when graphing, the y axis should extend to whichever is greater to prevent clipping? Or am i misunderstanding how these two things relate? Thanks for any advice, Daniel |