hello list, Jonathan,
The fun comes when using the "canvas foo bar" field in a template for an array field-- then I can use [setsize] to create a massive > number of abstractions at once.
quite massive approach! big up for the thought. would you kindly demonstrate this with a patch? massive thanks in advance best regs .jc
Sure... what do people use in Debian/Ubuntu to do screencast + audio?
It's fun to create a bunch of voicebank canvases on the fly with [setsize], but it's even better to kill them simply by decreasing the array size.
Might be fun to build up an array of midi bots by having [setsize] react to the load meter, then have it automatically kill some of them if the load gets too high...
-Jonathan
On Tuesday, November 11, 2014 10:47 AM, jamal crawford threen52@ml1.net wrote:
hello list, Jonathan,
The fun comes when using the "canvas foo bar" field in a template for an array field-- then I can use [setsize] to create a massive > number of abstractions at once.
quite massive approach! big up for the thought. would you kindly demonstrate this with a patch? massive thanks in advance best regs .jc nse"
On 12/11/14 04:06, Jonathan Wilkes via Pd-list wrote:
Sure... what do people use in Debian/Ubuntu to do screencast + audio?
With Jack I use someting like this:
ffmpeg -f jack -ac 2 -i ffmpeg -f x11grab -r 25 -s 1366x768
-i :0.0 -acodec pcm_s16le -threads 0 output.mkv
Notice that:
Unfortunately debian now seems to only package avconv and that has always crashed on me with jack as audio input. However ffmpeg is relatively easy to compile on debian following this guide:
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
You should play with the -s and -i parameters to suit your needs.
Pulseaudio will be automatically suspended when you run jack (I was
forced to install it to use skype with, alas, I'm forced to use for work).
latencies without some xruns.
video however it will also be very (very!) big and you'll have to factor in the extra time for re-compressing (it's possible to encode on the fly -but I prefer to have a good quality 'original') For encoding I've had rather nice results with using webem, for example (YMMV):
ffmpeg -y -i "$INFILE" -threads 8 -f webm -vcodec libvpx -g 120
-level 216 -profile 0 -qmax 42 -qmin 10 -rc_buf_aggressivity 0.95
-vb 2M -acodec libvorbis -aq 90 -ac 2 $OUTFILE
Hope this helps. Lorenzo.
I use SImpleScreenRecorder http://www.maartenbaert.be/simplescreenrecorder/
It plays nicely with Jack and can record on-the-fly in high quality.
On 16 November 2014 22:16, Lorenzo Sutton lorenzofsutton@gmail.com wrote:
On 12/11/14 04:06, Jonathan Wilkes via Pd-list wrote:
Sure... what do people use in Debian/Ubuntu to do screencast + audio?
With Jack I use someting like this:
ffmpeg -f jack -ac 2 -i ffmpeg -f x11grab -r 25 -s 1366x768
-i :0.0 -acodec pcm_s16le -threads 0 output.mkvNotice that:
- ffmpeg in my case is the 'original' one compiled by hand. Unfortunately
debian now seems to only package avconv and that has always crashed on me with jack as audio input. However ffmpeg is relatively easy to compile on debian following this guide:
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
You should play with the -s and -i parameters to suit your needs.
Pulseaudio will be automatically suspended when you run jack (I was forced
to install it to use skype with, alas, I'm forced to use for work).
- Clearly when screen-casting it'll be difficult to get Chuck Norris low
latencies without some xruns.
- The output with that ffmpeg command will be a very good quality mkv video
however it will also be very (very!) big and you'll have to factor in the extra time for re-compressing (it's possible to encode on the fly -but I prefer to have a good quality 'original') For encoding I've had rather nice results with using webem, for example (YMMV):
ffmpeg -y -i "$INFILE" -threads 8 -f webm -vcodec libvpx -g 120
-level 216 -profile 0 -qmax 42 -qmin 10 -rc_buf_aggressivity 0.95
-vb 2M -acodec libvorbis -aq 90 -ac 2 $OUTFILEHope this helps. Lorenzo.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 11/11/2014 10:47 AM, jamal crawford wrote:
hello list, Jonathan,
The fun comes when using the "canvas foo bar" field in a template for an array field-- then I can use [setsize] to create a massive > number of abstractions at once.
quite massive approach! big up for the thought. would you kindly demonstrate this with a patch? massive thanks in advance best regs .jc nse"
I started looking at solutions to do a screen cast. Then I remembered I'd be screencasting a low-latency audio program under Linux, with Debian Wheezy's out-of-date video libs, using a sound server which proclaims that very low latency like Pd's is out-of-scope. On the other hand, I can capture video-only just by clicking four buttons on the keyboard...
So here's a video-only demo of a quick pendulum game being created in Pd: http://www.jonathanwilkes.net/pendulum.webm
Without audio a "canvas" field demo doesn't make much sense. But it's worth pointing out that once I figure out how to get the canvas field to talk to the associated scalar, it would be possible to put most of the above demo's code inside a canvas field. That would mean that each [pendulum] you create would have a canvas that controls its animation and interactivity, independent of the others.
Also, when you see me clicking the [bng] (or the [vsl]) in the demo to turn the pendulum red, Pd is reacting to the sound of my mouse button clicking. When the mouse isn't clicking but the pendulum still turns red, that's me yelling "ka!" at a moment when the pendulum is between -5 and 5 degrees rotation.
-Jonathan
On 11/14/2014 09:39 PM, Jonathan Wilkes via Pd-list wrote:
I started looking at solutions to do a screen cast. Then I remembered I'd be screencasting a low-latency audio program under Linux, with Debian Wheezy's out-of-date video libs, using a sound server which
seriously, you are using wheezy? is that machine also acting as an important server?
proclaims that very low latency like Pd's is out-of-scope. On the other
you could use pulseaudio, if you have trouble with jack.
gfmadsr IOhannes
I use Wheezy because Jessie would still break things up to a few weeks ago, Ubuntu doesn't have a social contract and would mine user data by default if they can find a way to get away with it, Mint has a Flash binary blob by default (and probably a lot else I don't want running on the machine), Fedora has an inferior packaging system, and Arch sounds like a royal pain. Pulseaudio isn't designed for low latency (or at least not designed for latency as low as Pd users typically try to get). That doesn't mean I'd necessarily run into problems with a screencasting demo. But Gnome itself doesn't have audio recording included with their built-in screencasting tool, and the workarounds evidently have workarounds for the bugs they introduce. I'm sure I could get something up and running, probably some trouble and frustration; at the moment it's way easier just to explain that I'm yelling "Ka!" when the pendulum in my screencast turns red. -Jonathan
On Saturday, November 15, 2014 8:06 AM, IOhannes m zmölnig <zmoelnig@iem.at> wrote:
On 11/14/2014 09:39 PM, Jonathan Wilkes via Pd-list wrote:
I started looking at solutions to do a screen cast. Then I remembered I'd be screencasting a low-latency audio program under Linux, with Debian Wheezy's out-of-date video libs, using a sound server which
seriously, you are using wheezy? is that machine also acting as an important server?
proclaims that very low latency like Pd's is out-of-scope. On the other
you could use pulseaudio, if you have trouble with jack.
gfmadsr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list