-
lzr
Hello. Has anybody had any success recently with installing Purr Data in Raspbian (I'm using Raspberry Pi Zero W)?
When I install the Raspbian version from here, I can install it but then it prints "Segmentation fault" into the console and shows no GUI.
I also tried cloning the repo and building it manually with "make incremental". There was a bunch of warnings but in the end it produced a *.deb file. However, after installing that file when I run PD I see this:
sh: 1: /usr/lib/pd-l2ork/bin/nw/nw: Exec format error
And again, the GUI doesn't show. After spending the whole day compiling it, this is rather disappointing.
Is there anything else I should try? Maybe there's log files I should take a look at or post here?
-
lzr
@whale-av Thank you, David! I played around with audio settings (don't know why I didn't think of that before). Changing sample rate and block size didn't help (just produced more types of glitch sounds) but changing "delay (ms)" helped. At sample rate of 48K I heard clear sine at 22 ms of delay but glitches at 21 ms.
Awesome! Now I can have some fun with a Raspberry Pi!
-
lzr
@whale-av Good point! I guess I need to solder some header rows and connect an audio jack first. But do you think the performance of Raspberry Pi Zero is generally enough to generate sound in PureData without artifacts?
By the way, I tried switching to just [dac~ 1] while being connected using HDMI but I heard the same weird glitching sound. I recorded it (warning: loud sound; and sorry for my 3D printer in the background):
-
lzr
Hello. Raspberry Pi noob here.
I see quite a number of discussions here about which sound card is better but is Raspberry Pi's internal DAC so bad it can't be used for decent sound generation? Let's say I need one stereo output and no inputs for now.
I installed PurrData/pd-l2ork on my Pi Zero W and tried generating a sine tone as a test (sound was sent to my TV via HDMI). It was quite weird and uneven and occasionally would drop completely to silence. Does that mean that Pi Zero is not powerful enough? I feel like even on Arduino the sound was better.
-
lzr
@svanya, are you open to using externals or does it have to be vanilla? [cyclone/seq] supports playing and recording midi files.
-
-
lzr
I think I saw an abstraction somewhere that listens to how you play an instrument and recognizes the notes and chords. If anybody knows where I can find it or how I can implement this myself, your help is very appreciated.
What I'm thinking is, it'd be great to have a sight reading trainer where it'll randomly generate some sheet music for you to play (or grab one of the music pieces prepared in advance) and then listen to your performance and tell you when you make mistakes.
-
lzr
I'd like to know this too. I'm going to subscribe to this post.
One way of doing this can be analyzing sources for existing GUI libraries/externals, but it depends on how well they're documented. In particular, it's important to know how to compile them on different platforms.