[PD] MIDI latency problem

2009-12-03 Thread chi ball









Hi, I have a little *problem* with *MIDI latency* (linux Mandriva 2010.0):

- if I make a patch to
generate midi notes repeated, with a metro (for example [metro 200])
I listen the rithm irregular (instead in Windows -on the same pc- the
rithm is perfect..)

-if in the same patch I change [metro
200] in [metro 10] the midi notes output goes in crash, is'n possible
play midi notes speadily (instead in Windows -on the same pc- this is
possible).

-instead if I make an oscillator with a slide, the
pitch of sound change *perfectly in realtime*.

So the problem is
only of MIDI.
__
My settings:

-in
"/etc/security/limits.conf":
*  
-   rtprio  
0
*  
-   nice
0
@audio - rtprio 89
@audio - memlock 288000#My RAM = 576MB
@audio - nice
-10

-in "/etc/modprobe.preload":
realtime mlock=1
gid=81#My user is in the "audio" group.
___
-in "qjackctl":

realtime: on
priority=89
frames/period=128
sample
rate=44100
periods/buffer=2
port maximum=256
timeout=200
output
latency=6
latency: 5.8msecmidi: seq
_
in "puredata":
-I run pd with: pd -rt -jack -channels
2
-In "media" I set "jack" and "ALSA 
MIDI"._
Any suggestion for this
problem?
Thanks,
c

P.S.: 

my o.s. is Mandriva 2010.0
Processor: Pentium III Coppermine
RAM: 576  MBSound Blaster Live! 5.1

:)
  
_
Di che umore sei oggi? Dillo con le Emoticon
http://intrattenimento.it.msn.com/emoticon___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] problem with MIDI (linux)

2009-11-29 Thread chi ball



> Date: Thu, 26 Nov 2009 09:57:48 +0100
> Subject: Re: [PD] problem with MIDI (linux)
> From: reduzie...@yahoo.de
> To: c...@hotmail.it; zmoel...@iem.at
> CC: pd-list@iem.at
> 
> Hi Chi
> 
> 
> Am 26.11.09 01:49 schrieb "chi ball" unter :
>  

> > Now, running some patch in pd, happen this:
> > 
> > 1)in a audio patch (for example a simple oscillator with a slide..) *I can
> > listen sound correctly* (even if
> > with a fastidious background noise) and I can change frequency well with the
> > slide.
> 
> From the audio I/O errors you mention below, i can tell you that you're
> still running pd with alsa, but not with jackd. After having made sure, that
> your jackd is running correctly, try this in a terminal:
> 
> pd -rt -jack -channels 2

With this jack run correctly! ..sound is clean, without noise. Thank you! :)

> Usually, you don't need even to manually connect pd to the soundcard in the
> connection window of qjackctl, but the connection should happen
> automatically.

When I run pd, in "media" I see: "jack" and "default midi" already setted. I 
change only "default midi" in "alsa midi".

Then I open "qjackctl" panel, and I found 3 windows: 

- in the first ("audio") I must connect manually "pure_data_0" with "system".
-in the second window (midi) I don't set anything.
-in the thrd window ("Alsa") I found already all connected.

> > 2)in a midi patch (a patch certainly correct, tested in o.s. Windows..!) *I
> > can't listen anything*.
> > I see numbers change, but *no sound*.
> 
> Ok, i think, i kind of understand now, what you mean. If you send in windows
> MIDI to your SB Live, it'll produce GeneralMidi synthesizer sounds. I don't
> know how this works in details, i guess in some cases it is simply a
> software synthesizer in the driver.  Probably some soundcards have this
> capability built into the hardware.  The fact, that you don't hear anything
> in linux, when sending MIDI from pd, doesn't mean, that your Pd MIDI doesn't
> work, it simply means, that you're lacking a similar setup with some kind of
> synth. There are a lot of synths available also in linux, you might find
> one, that suits your needs. You would then need to connect Pd to 'yourSynth'
> in the connection window in the MIDI tab.

Now I listen also MIDI notes, and this is due to a connection between 
"puredata" and "timididy" in "Alsa" window of qjackctl.

But I have a little *problem*:
- if I make a patch to generate midi notes repeated, with a metro (for example 
[metro 200]) I listen the rithm irregular (instead in Windows -on the same pc- 
the rithm is perfect..)
-if in the same patch I change [metro 200] in [metro 10] the midi notes output 
goes in crash, is'n possible play midi notes speadily (instead in Windows this 
is possible).

Any suggestion for this problem?
Thanks,
c

P.S.: my o.s. is Mandriva 2010.0

:)


  
_
Messenger su ogni PC, prova la Web Bar!
http://www.messenger.it/___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] problem with MIDI (linux)

2009-11-25 Thread chi ball


> iirc, you should use the same user to start jackd and Pd.
> so if you run Pd as user "chi", than you should also run jackd as user
>"chi". the same if you use root (which i don't recommend; you should
>rather fix your /etc/security/limits.conf to be able to run realtime
>processes as member of the audio-group).

Thanks..

I've resolved the problem of "user" adding (as root) those rows in 
/etc/security/limits.conf:

@audio - rtprio 80
@audio - memlock 288000
#288000 because my RAM is 576 MB
@audio - nice -10

and I set user in "audio" member group.
___
In JACK setup I set: 
realtime, priority 80
midi driver: seq
___
So now I can open qjackctl and start JACK correctly (play), but give me this 
error:

cannot use real-time scheduling (FIFO at priority 90) [for thread -1238557840, 
from 
thread -1238557840] (1: Operation not permitted)


Now I open pd, and in "media" I select: JACK, and ALSA-MIDI. 

Then I open JACK connections: I see 2 windows: AUDIO and MIDI. Here, in both 
windows,  I connect pd with 
my SB LIVE! sound card.

Now, running some patch in pd, happen this:

1)in a audio patch (for example a simple oscillator with a slide..) *I can 
listen sound correctly* (even if 
with a fastidious background noise) and I can change frequency well with the 
slide.

2)in a midi patch (a patch certainly correct, tested in o.s. Windows..!) *I 
can't listen anything*. 
I see numbers change, but *no sound*.

PD give me this error:

audio I/O error history:
seconds ago error type
 1.39   A/D/A sync
 3.25   A/D/A sync
 3.28   A/D/A sync
 3.37   A/D/A sync
 3.38   A/D/A sync
   (..etc..etc..similarly)


Thank you in advance,
cb


  
_
Carica e scarica in un clic. Fino a 25 GB su SkyDrive 
http://www.windowslive.it/skyDrive.aspx___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] problem with MIDI (linux)

2009-11-24 Thread chi ball



> Date: Tue, 24 Nov 2009 15:08:49 -0800
> From: noisesm...@gmail.com
> To: c...@hotmail.it
> Subject: Re: [PD] problem with MIDI (linux)
> 
> chi ball wrote:
> > 
> > 
> >> When you send MIDI into pd, what do you expect to happen?
> > 
> > 
> >> MIDI coming into pd will not make any sound, it will provide messages to
> >> control things that make sound, if you build them or load them.
> > 
> > In "testtone" there is a midi test...a little patch.. ;)
> 
> I am familiar with the testtone patch, but the word 'mute' threw me off,
> because MIDI does not cause sound to occur in the testtone patch. Which
> MIDI api are you using?

I don't know..

Excuse me for my english..mute means that if I make a simple patch to
produce a midi note with a metro.. (I'm familiar with algorithmic music
in pd, but in windows..)  I can't listen anything.
  
_
Carica e scarica in un clic. Fino a 25 GB su SkyDrive 
http://www.windowslive.it/skyDrive.aspx___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] FW: problem with MIDI (linux)

2009-11-24 Thread chi ball



From: c...@hotmail.it
To: noisesm...@gmail.com
Subject: RE: [PD] problem with MIDI (linux)
Date: Tue, 24 Nov 2009 23:54:42 +0100










> When you send MIDI into pd, what do you expect to happen?


> MIDI coming into pd will not make any sound, it will provide messages to
> control things that make sound, if you build them or load them.

In "testtone" there is a midi test...a little patch.. ;)
bye,
cb

  
Screensaver, sfondi e scene: scarica i gadget di Messenger  
  
_
Fatti riconoscere con i biglietti da visita di Messenger
http://www.messenger.it/bigliettiVisita.aspx___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] problem with MIDI (linux)

2009-11-24 Thread chi ball



Hi, I have a problem with pd 0.41.4 on Linux Mandriva 2010.
I run JACK (qjackctl from terminal as root), and then I open pd.

If in "media" I set: ALSA, ALSA-MIDI, in "testtone" audio is ok, MIDI is mute!
If in "media" I set "jack", audio and midi in testtone are mute.
(In jack connections, pure data is connect with snd_emu10k1...)

My sound card use "snd_emu10k1" driver.
I can listen correctly MIDI with Timidity...,sound from cd or YT..)
sound card is ok)

Any suggestions?
thanks
_
Carica e scarica in un clic. Fino a 25 GB su SkyDrive 
http://www.windowslive.it/skyDrive.aspx___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] counter

2008-10-13 Thread chi ball

Hi,
I've just installed pd 0.41.0 on Mandriva 2008 Spring.
Why [counter] in not active?

Thank's
c
_
Comunica, gioca e divertiti con i tuoi amici su Messenger!
http://www.messenger.it
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] pd installation on Mandriva Spring

2008-09-16 Thread chi ball

Hi,
I've downloaded "pd-0.41-0.src.tar.gz" and I've installed it succesfully on 
Mandriva Free 2008  Spring
(using ./configure, make, make install).
But when  I load it from a root terminal, it go in loop with message:

error while loading shared libraries: libtk8.5.so: cannot open shared object 
file: No such file or directory
priority 98 scheduling enabled.
priority 96 scheduling enabled.
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
ecc.ecc.


The latest Tcl/Tk libraries are installed.
How i can solve the problem?
Exist a "rpm" of pd-extended for Mandriva-Spring?

Thanks,

T.
_
Cerchi un locale per la serata? Chiedilo a Live Maps!
http://maps.live.it/
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd and IFS

2008-08-22 Thread chi ball

It's wonderful...
Thanks!
t.
> Date: Sat, 23 Aug 2008 00:06:39 +0100> From: [EMAIL PROTECTED]> To: [EMAIL 
> PROTECTED]> CC: pd-list@iem.at> Subject: Re: [PD] pd and IFS> > Claude 
> Heiland-Allen wrote:> > Attached> > oops> > > is a working IFS (for Gem and 
> zexy), should give you some hints > > on how to play the chaos game. Starts 
> to look fun at 1 vertices per > > frame...
_
Leggi le tue mail sotto l’ombrellone con Windows Live Mobile!
http://windowslivemobile.msn.com/BrowserServiceHotmail.aspx?lang=IT-IT ___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd and IFS

2008-08-14 Thread chi ball

Thank's, I have interest mainly in a fractal music, more than in graphic, so 
would be sufficient a numerical output.
t.
_
> Date: Thu, 14 Aug 2008 23:43:16 +0100> From: [EMAIL PROTECTED]> To: [EMAIL 
> PROTECTED]> CC: pd-list@iem.at> Subject: Re: [PD] pd and IFS> > chi ball 
> wrote:> > Hi,> > is there a patch using Iterated Function Systems (IFS) ?> > 
> You want to implement an IFS in Pd?> > I think that's a bad idea (unless you 
> want it to be very slow, passing > messages between different objects is not 
> something you want to do > 10+ times per frame).> > Having said that, I 
> did try it, but didn't have much luck: I did > something like:> > [gemhead]> 
> [t a a a]> [GEMglEnd] [repeat 1] [GEMglBegin]\[glDefine GL_POINTS]> ...> 
> [GEMglVertex3f]> > but I got GL errors and no image, can't remember the exact 
> message now > though.> > > On the other hand, you can do some fun things with 
> texture feedback > quite efficiently:> > 
> http://claudiusmaximus.goto10.org/files/video/puzzle.ogg> > > Claude> 
_
Messenger vuole te! Sei pronto?
http://www.messenger.it___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] decimal to binary number conversion

2008-08-14 Thread chi ball

I have succeeded with [div 2]  & [mod 2], was very simple.. :)))
Thank's,t.> Date: Thu, 14 Aug 2008 23:29:41 +0100> From: [EMAIL PROTECTED]> To: 
[EMAIL PROTECTED]> CC: pd-list@iem.at> Subject: Re: [PD] decimal to binary 
number conversion> > chi ball wrote:> > Hi,> > is there an object in pd for 
convert decimal numbers into binary numbers ?> > (..and if possible also in 
other bases)> > [div], [mod], [pack]> > for arbitrary numbers of digits you 
could use a loop with [list append]> > > Thank's,> > t.> > > Claude
_
Windows Live Mail: il programma gratuito per gestire tutta la tua posta!
http://get.live.com/wlmail/overview ___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] decimal to binary number conversion

2008-08-14 Thread chi ball

Hi,
is there an object in pd for convert decimal numbers into binary numbers ?
(..and if possible also in other bases)
 
 
Thank's,
t.
_
La strada migliore per andare in vacanza? Chiedila a Live Maps!
http://maps.live.it/___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] pd and IFS

2008-08-14 Thread chi ball

Hi,
is there a patch using Iterated Function Systems (IFS) ?
 
Thank's,
t.
_
Messenger vuole te! Sei pronto?
http://www.messenger.it___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pmpd simulation and numerical output

2008-08-12 Thread chi ball

Thank's, I'm trying...
But in "gas_molecules" how can I set the number of molecules?
I would add or remove molecules during the simulation.
 
t.



CC: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [PD] pmpd simulation and 
numerical outputDate: Mon, 11 Aug 2008 22:50:22 +0200To: [EMAIL PROTECTED], 

[tCircle2D] will do the job (to put in [fluide_mass5] abstraction). It output 
by its first outlet 0 or 1. 1 if there is an impact according to a certain mass.
++

Jack



Le 11 août 08 à 22:12, chi ball a écrit :
Hi,with regard to the "gaz_molecules" in pmpd, how is possible take (for 
example in some number boxes) the position coordinates, time, and velocity of 
each molecular impact during a simulation? Thank's,t.

Aggiungila ai tuoi contatti! Conosci Doretta? Ti "cerca" su Messenger! 
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list
_
Leggi le tue mail sotto l’ombrellone con Windows Live Mobile!
http://windowslivemobile.msn.com/BrowserServiceHotmail.aspx?lang=IT-IT ___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] pd and CMask

2008-08-11 Thread chi ball

Hi, 
 
exist an implementation in pd of CMask's structures? 
(Cmask is a stochastic event generator by Andre Bartetzki).For example there is 
an implementation of CMask in HPKComposer (a Java application).
 
Thank's,t
_
Sintonizzati su Messenger e accendi la TV!
http://messengertv.msn.com/mkt/it-it/default.htm___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] pmpd simulation and numerical output

2008-08-11 Thread chi ball

Hi,
with regard to the "gaz_molecules" in pmpd, how is possible take (for example 
in some number boxes) the position coordinates, time, and velocity of each 
molecular impact during a simulation?
 
Thank's,
t.
_
Messenger vuole te! Sei pronto?
http://www.messenger.it___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] number boxes and time delay

2008-08-02 Thread chi ball

Hi,in pd I have two number boxes connected. How can I do so that when the first 
box assume a value, the second box take the same value, but after a time delay 
that I decide?
I'v tried using [delay] objec, with no success.
Thank's.
c.
_
La strada migliore per andare in vacanza? Chiedila a Live Maps!
http://maps.live.it/___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] External "midifile" (by Martin Peach)

2008-07-30 Thread chi ball

Hi,
when I load the "midifile-help.pd", pd windows give this errror:
"error: midifile: unable to open wowo".
 
What does it mean?
 
(I use WinXP)
 
Thank's
tuco
_
Condividi i tuoi scatti più belli con Raccolta foto di Windows Live!
http://get.live.com/photogallery/overview___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list