FOR SURE an S&G Project - I have built an MP3 player for Rhino in Grasshopper:
There is a reason, I will make a video and share the source code - watch this space.
Cheers
DK
FOR SURE an S&G Project - I have built an MP3 player for Rhino in Grasshopper:
There is a reason, I will make a video and share the source code - watch this space.
Cheers
DK
?
Salt and ginseng?
Short and ginger?
Sleepy and grumpy?
So many possibilities!
But very cool project, nonetheless!
-Jakob
You’ll need to ask a Kiwi, maybe an Aussie…
- (idiomatic, vulgar) For no particular reason, just because it is fun or entertaining; or to relieve boredom.
Why should the user leave rhino to change music? And why do we not have “McNeels greatest Rhino hits” music album yet?
I like that attitude, more power to you😎
S&G comes from Salt and (g)Pepper.
Grok have another opinion about the meaning of “S&G Project”:
The term “S&G Project” doesn’t have a universally recognized meaning, and its interpretation depends heavily on context. Based on available information, here are the most relevant possibilities:
Never heard shits’n’giggles abriviated before - every day we learn
We have a winner!
Tsk. MP3.
You should convert your tracks to Ogg instead (Vorbis if you want to use the old format, Opus if you want to be modern), or Matroska or WebM.
Now, did you really want to hear about my past with MP3’s?
In 1999 I installed a small form factor PC running on an inverter under the floor in the boot of my then company car with something like 27 hours of MP3’s ripped from mine and friends CD collections.
The system had a 20x2 text LCD on the dash wired to the parallel port and a IR remote wired to a COM port.
27 hours of music was enough for me to drive the length of New Zealand and back and never hear the same song twice!
I ended up rolling the whole thing into my final year project when I got around to finishing my Electronic Engineering Degree a few years later. I replaced Winamp with a DOS based MP3 player which took boot time/time to first song from 2 min to 30 secs. Placed ALL the comms on the serial port by using a 80C51 micro controller to drive the LCD and encode the IR remote and push buttons - all coded in assembly!
Actually this player is based on pygame - I’m sure it can support ogg - I’ll add it to the development list…
Cheers
DK
OK, I made a video, it is long, but it shows how it was done:
Single coolest thing learned in doing this project - how to import Python 3 libraries in the new PY3 components
#! python3
#requirements: pygame
from pygame import mixer
SO GOOD!
Cheers
DK
Now available on the package manager:
Just search MP3, adds a single command “RhinoMP3”.
Should run on MacOS, my test machine is down for today - not had a chance to test.
Cheers
DK
OK - found an ‘interesting’ bug.
When working in Grasshopper while having this running I cannot adjust sliders or delete any components using the delete button.
I suspect it is due to using a trigger component on a 1 sec cycle in the MP3 player code that pulls UI focus off GH and onto Rhino…
Cheers
DK