creaktive / pianolizer

An easy-to-use toolkit for music exploration and visualization, an audio spectrum analyzer helping you turn sounds into piano notes
https://sysd.org/pianolizer
MIT License
94 stars 6 forks source link

RPi image #2

Open Juris3D opened 1 year ago

Juris3D commented 1 year ago

Hello, it's me Juris "ThunderOwl" from Youtube comments :) Since I am more technical / practical, not very comfortable in programming environments, I would like to ask, is there please ready "binary", "image", for RaspPi? Providing if I will have the same audio input add-on you recommended (I don't have that yet). And, secondary question from this - would that all also work on those "smaller" RaspPi boards? Thank You!

creaktive commented 1 year ago

Hi there! o/ This is a great idea! I do not have a proper "image", all I have is a backup that is rather complicated to restore... I'll look into making a more user-friendly bootable Raspberry PI image this week! Regarding the hardware requirements: it does work on RPi Zero. Also, it would work with any audio input, as long as it is supported by ALSA. For instance, a cheap USB microphone would do the trick. The one I recommend is somewhat more convenient, however, because it has a connector where I can plug my LED strip directly.

Juris3D commented 1 year ago

Hello, Thanks for answering! You know, having note-bound "Color Organ" has been my "holy thing" to eventually have :-D That's good news about alternative audio input options! (I will order that "hat" anyway). Maybe you are on Twitter or some Discord, for communications? I promise to try not to bother TOO much :)). Would be super awesome, if RPi image is made. As I said, I am not a programmer, I am hardware guy (plus gamedev in Unreal Engine, but also without code writing), but, I admit, I have influenced several music-to-light projects in past, and now... well, here I am! Haha... :)) I am Thunder_Owl on Twitter, btw.

creaktive commented 1 year ago

Hehehe, I know the feeling! I'm also mesmerized with the relationships of sounds and colors :) I created the RPi image and added the building instructions: https://github.com/creaktive/pianolizer#building-the-hardware , let me know how it works. I'm creaktive on Twitter, added you!

Juris3D commented 1 year ago

Hello! It Works!! Many Thanks for making this, sharing this, and - helping me! ;-) I got it working with image you made, using RPi 4. Now, some "semi-issues", just about RPi hardware versions. Id does not work "as is" (from ready-image) on RPi 3 Model B. I did search about it, there are some code additions needed. I also tried on RPi "Zero", I think id does not even boot, I got regular "seven green blinks". But regardless - it WORKS on RPi4. Good thing I had it, it is virtually impossible to buy any right now.

Stanislaw Pusep @ 2022-10-13 09:25 rakstīja:

Hehehe, I know the feeling! I'm also mesmerized with the relationships of sounds and colors :) I created the RPi image and added the building instructions: https://github.com/creaktive/pianolizer#building-the-hardware , let me know how it works. I'm creaktive on Twitter, added you!

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you authored the thread.Message ID: @.***>

Links:

[1] https://github.com/creaktive/pianolizer/issues/2#issuecomment-1277090032 [2] https://github.com/notifications/unsubscribe-auth/AFNIOOEQLC7WDE3H4VV5NLTWC6TMPANCNFSM6AAAAAARAU7IYU

creaktive commented 1 year ago

Awesome! I'm glad that it worked! \o/ Interesting; I built this image on a Raspberry Pi 3 Model B Rev 1, what is the issue you're experiencing with it? Did you try to plug it into a screen to see what the console says? Also, I wonder if the original Raspbian image works for you. Regarding the RPi Zero, it will only work on the newer ones with the Cortex CPU. The most obvious reason is that the image I made is for the 64-bit CPUs; but on the other hand, from my experience with RPi 2, the older CPUs are not powerful enough to handle both the audio and the LEDs simultaneously :( RPis are very scarce nowadays, indeed! Fortunately I discovered this site that tracks the availability around the world: https://rpilocator.com

Juris3D commented 1 year ago

Hello, I posted screen from RPi 3 situation on Twitter, I post it here too: RPi3_pianolizer_boot

creaktive commented 1 year ago

Sorry for the delay @Juris3D, life's been crazy... Thanks for the screenshot, I figured out that the problem could be with the LED strip driver. Did some tweaking, can you check if the new image works for your devices? https://sysd.org/pianolizer/pianolizer-2022-11-13.img.xz