[PD] [PD-announce] Postdoc at Sussex

2018-07-11 Thread thor list

Hi all,

Some of you might be interested in this postdoc position at the University of 
Sussex in Brighton, UK:

http://www.sussex.ac.uk/about/jobs/postdoctoral-research-fellow-3462 


It’s a project that combines live coding, machine listening, and machine 
learning. 

Feel free to get in touch directly for further information,

Best
Thor

___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Tiny Core Linux on Raspberry Pi

2018-07-11 Thread Chris McCormick

Hi,

On 11/07/18 04:13, Peter P. wrote:

Furthermore, does anyone know if the 'tc' user can be added to an
audiogroup, whose permissions could be elevated through
/etc/security/limits.conf (currently not present in piCore).


I think you could do this by settings the rtprio limit directly in: 
/opt/bootscript.sh


It seems that sysctl and ulimit can't set this but maybe this will help:

https://serverfault.com/questions/889635/seting-rtprio-limit-in-system-without-pam


This might be off-topic, but has anyone managed to create a persisntent
home directory inside /dev/mmcblk0p2 (the ext2/3 partition created by
piCore itself, which I did maximize already)?


You can use the command `filetool.sh -b` to backup a snapshot of the 
homedir to the SD card and it will be returned to that state on reboot.


There is also a kernel boot parameter to make the homedir persist 
automatically:


http://forum.tinycorelinux.net/index.php?topic=15450.0


I am so happy my patch runs without dropouts on the RPi 1 and that it
boots so fast!


I'm a huge fan of this platform too! I had the original RPi 1 rendering 
mod files to Alsa out and only using 4% CPU.


Probably OT but I gave a talk about my experience with piCore last night 
at the local Linux users group:


https://github.com/chr15m/gnu-linux-in-tiny-places-plug

Cheers,

Chris.

--
http://mccormick.cx/

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Tiny Core Linux on Raspberry Pi

2018-07-11 Thread Peter P.
Hi,

* Chris McCormick  [2018-07-11 10:41]:
> Hi,
> 
> On 11/07/18 04:13, Peter P. wrote:
> > Furthermore, does anyone know if the 'tc' user can be added to an
> > audiogroup, whose permissions could be elevated through
> > /etc/security/limits.conf (currently not present in piCore).
> 
> I think you could do this by settings the rtprio limit directly in:
> /opt/bootscript.sh
> 
> It seems that sysctl and ulimit can't set this but maybe this will help:
> 
> https://serverfault.com/questions/889635/seting-rtprio-limit-in-system-without-pam
Thanks for that link! In this case I could run the patch as root anyway
I think.

Interestingly, starting pd from /opt/bootlocal.sh as root at startup
will make Pd use all of the CPU and hence produce stuttering audio. When
I change the corresponding line in /opt/bootlocal.sh to start as user tc
sudo -u tc /home/tc/myPdStartupScript.sh
Pd runs normally.

> > This might be off-topic, but has anyone managed to create a persisntent
> > home directory inside /dev/mmcblk0p2 (the ext2/3 partition created by
> > piCore itself, which I did maximize already)?
> 
> You can use the command `filetool.sh -b` to backup a snapshot of the homedir
> to the SD card and it will be returned to that state on reboot.
This is what I read from the docs and what I am currently using. Albeit,
I am having a 300MB sound file in my home dir and it being part of the
filetool.sh backup immensely slows down startup as the OS has to
uncompress the audiofile.

> There is also a kernel boot parameter to make the homedir persist
> automatically:
> 
> http://forum.tinycorelinux.net/index.php?topic=15450.0
This is the method I am trying to use with a directory inside
/dev/mmcblk0p2 (the ext2/3 partition created by piCore itself, which I
did maximize to the full available space on the memory card).
Possibly I have to try to shrink that partition to make space for yet
another partition as dedicated /home. Any hints appreciated!

> > I am so happy my patch runs without dropouts on the RPi 1 and that it
> > boots so fast!
> 
> I'm a huge fan of this platform too! I had the original RPi 1 rendering mod
> files to Alsa out and only using 4% CPU.
> 
> Probably OT but I gave a talk about my experience with piCore last night at
> the local Linux users group:
> 
> https://github.com/chr15m/gnu-linux-in-tiny-places-plug
Nice, great talk!

P

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Tiny Core Linux on Raspberry Pi

2018-07-11 Thread Peter P.
Replying to myself below.

* Peter P.  [2018-07-11 12:31]:
> Hi,
> 
> * Chris McCormick  [2018-07-11 10:41]:
> > Hi,
> > 
> > On 11/07/18 04:13, Peter P. wrote:
> > > Furthermore, does anyone know if the 'tc' user can be added to an
> > > audiogroup, whose permissions could be elevated through
> > > /etc/security/limits.conf (currently not present in piCore).
> > 
> > I think you could do this by settings the rtprio limit directly in:
> > /opt/bootscript.sh
> > 
> > It seems that sysctl and ulimit can't set this but maybe this will help:
> > 
> > https://serverfault.com/questions/889635/seting-rtprio-limit-in-system-without-pam
> Thanks for that link! In this case I could run the patch as root anyway
> I think.
> 
> Interestingly, starting pd from /opt/bootlocal.sh as root at startup
> will make Pd use all of the CPU and hence produce stuttering audio. When
> I change the corresponding line in /opt/bootlocal.sh to start as user tc
>   sudo -u tc /home/tc/myPdStartupScript.sh
> Pd runs normally.
> 
> > > This might be off-topic, but has anyone managed to create a persisntent
> > > home directory inside /dev/mmcblk0p2 (the ext2/3 partition created by
> > > piCore itself, which I did maximize already)?
> > 
> > You can use the command `filetool.sh -b` to backup a snapshot of the homedir
> > to the SD card and it will be returned to that state on reboot.
> This is what I read from the docs and what I am currently using. Albeit,
> I am having a 300MB sound file in my home dir and it being part of the
> filetool.sh backup immensely slows down startup as the OS has to
> uncompress the audiofile.
Managed to shrink the existing filesystem in /dev/mmcblk0p2 using
resize2fs as well as the partition using fdisk. 
Created yet another partition /dev/mmcblk0p3 with an ext4 filesystem
which now gets mounted as home with the boot option
home=/dev/mmcblk0p3

There might be more elegant ways of doing this, but it works fine for
me.

thanks Chris and list again,
P

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Tiny Core Linux on Raspberry Pi

2018-07-11 Thread Thomas Grill
Hi all,

> Am 11.07.2018 um 14:07 schrieb Peter P. :
> 
 This might be off-topic, but has anyone managed to create a persisntent
 home directory inside /dev/mmcblk0p2 (the ext2/3 partition created by
 piCore itself, which I did maximize already)?
>>> 
>>> You can use the command `filetool.sh -b` to backup a snapshot of the homedir
>>> to the SD card and it will be returned to that state on reboot.
>> This is what I read from the docs and what I am currently using. Albeit,
>> I am having a 300MB sound file in my home dir and it being part of the
>> filetool.sh backup immensely slows down startup as the OS has to
>> uncompress the audiofile.
> Managed to shrink the existing filesystem in /dev/mmcblk0p2 using
> resize2fs as well as the partition using fdisk.
> Created yet another partition /dev/mmcblk0p3 with an ext4 filesystem
> which now gets mounted as home with the boot option
>   home=/dev/mmcblk0p3
> 

I do a similar thing, mounting an extra partition as read-only using /etc/fstab.
I my home, i have a symbol link to the actual startup script on the extra 
partition.
It is easy to remount the extra partition read/write when i have to update a 
project (which is usually simply a transfer from my laptop using rsync)

best, Thomas

--
Thomas Grill
http://g.org




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Pd~ error messages printed in main PD console

2018-07-11 Thread José Rafael Subía Valdez
Hello list,

is there a way to print pd errors of a pd instance runing via [pd~] object
on the parent (main) pd session?

I have a patch that runs the GUI on one instance (main instance) and the
audio processing on a [pd~]. Problem is that if I run with -nogui, I would
never know if there was an error loading an object.

cheers
-- 
José Rafael Subía Valdez
www.jrsv.net
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] getting OSCx library to load correctly in 48.1

2018-07-11 Thread Scott R. Looney
allright - thanks for the advice. i managed to get it to work with netsend
and netreceive, but it apparently loses the slash separator which makes
parsing the address tricky as it's a string that then needs conversion to
an int in order to route correctly. luckily i found a vanilla abstraction
that does this one thing just fine. it's a bit of kludgy workaround but for
this demo it'll do well enough.

best,
scott

On Sat, Jul 7, 2018 at 3:30 AM, IOhannes m zmölnig  wrote:

> On 07/07/2018 10:34 AM, Scott R. Looney wrote:
> > hey folks, on a Mac, with 48.1 vanilla and i'm trying to load the OSCx
>
> you shouldn't use OSCx.
> you shouldn't have used OSCx in the last 10 years.
>
> if you ever encounter a patch that depends on OSCx, report a bug at the
> patch author.
>
> fgmards
> IOhannes
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] low latency virtual MIDI for Windows? (tried loopBE1 and midiloop

2018-07-11 Thread Scott R. Looney
hey folks, i'm working with PD and decided to move my MIDI performance
patch to my laptop which is a Windows 10 machine. it's a really simple one
that switches outgoing midi channels based on OSC data from TouchOSC. on a
Mac, i use the main MIDI input from the controller to PD, then PDs output
is via the IAC Bus to Logic where i have my instruments set up. it all
works great and has little to no latency.

on the Windows machine however, there is significant latency. i'm using
Reaper there. i did a lot of testing, changed interfaces to an Apogee Duet
and finally discovered that the lowest latency setting under ASIO gets me
just about there - except, when i configure it to use the virtual driver
for input as i need it to be, i get latency again. i was using loopmidi and
switched to LoopBe1. basically there's no difference as i'm still getting
about 20-25ms latency. for live performance on a keyboard that's far too
slow. if i switch Reaper's input to the keyboard's MIDI out instead, the
latency is basically gone.

anyone out there have some suggestions as to how to improve this? any
really low latency virtual MIDI cable/MIDI routing apps out there? or maybe
something like Jack could work for MIDI as well? any advice appreciated!

best,
scott
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list