Go to advanced search

by karrika
Sun May 31, 2020 9:17 am
Forum: Graphics, sound and multimedia
Topic: fruitbox MP3 jukebox
Replies: 1477
Views: 290701

Re: fruitbox MP3 jukebox

OMG! This is simply an amazing jukebox. Congrats for a very fine finish of the cabinet.
by karrika
Fri May 29, 2020 6:17 am
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

After tinkering around with different code bases I came back to your MP3_Player.py. It has all the things I need. That is after tinkering a bit with the screen. I wonder which way would be the best to proceed. I have added a new self.cutdown = 4 variant that produce the things on screen that I want....
by karrika
Mon May 18, 2020 3:47 pm
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

Thanks!

I will tinker with that one instead of with MP3_Player.
by karrika
Mon May 18, 2020 11:18 am
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

I actually created a skin. You can download it from http://79.125.115.174/pics/mini.zip . It is not tied to the project itself yet but you can run it with: python3 mini.py Before running it you need to install the three fonts it is using. Here is a screenshot of the skin in action. http://79.125.115...
by karrika
Mon May 18, 2020 6:10 am
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

I may get time one day, may depend how long the lockdown lasts !! I so know the feeling. I am also spending hours at the piano or working on silly things. Yesterday I soldered in some mini-buttons as the screen is too small to be used as a touch screen. Just now I wonder if it would be possible to ...
by karrika
Sun May 17, 2020 7:24 pm
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

Have you been thinking about splitting the file to the player and different skins?

I was playing around with a highly simplified skin with just 3 GPIO buttons:
- stop_play
- previous
- next

The visual layout a bit like this perhaps:
Image
by karrika
Fri May 15, 2020 5:19 pm
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

Try v15.20 now uploaded. It will remove _ when scrolling YES! This is the Mary Poppins version! Perhaps you could tag it so that I can find it. For a PiZero with a 320x240 framebuffer this is the optimal player. The fbcp in the background does not take away anything from the sound. I used the RC ci...
by karrika
Fri May 15, 2020 4:24 pm
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

I am using a v15.19 I tried different speeds and for my 2.8" inch screen this is perfect: self.LVS = 0 + self.track_scroll = time.time() # scroll track name if len(self.track_name) > self.length: + if time.time() > self.track_scroll: + self.track_name += self.track_name[0] + self.track_name = self.t...
by karrika
Fri May 15, 2020 3:49 pm
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

Wonderful. The times are accurate both in start and end of the tune. The titles are now showing at the right times. There is one funny thing. The 3rd tune was named 3 Dream_a_Little_Dream_of_Me.mp3 It scrolls really fast. The whole text scrolls 3 times per bar. Most titles fit on the line so there i...
by karrika
Fri May 15, 2020 4:18 am
Forum: Troubleshooting
Topic: RPi 3.2" LCD touch display keeps showing blank screen
Replies: 3
Views: 191

Re: RPi 3.2" LCD touch display keeps showing blank screen

You could take the SD card out of the pi and do a few things. Put the SD card in your computer and create a file /boot/ssh The next time Pi starts it will add an SSH server, You can then connect to the pi remotely to check things. This speeds up trying out things as you can easily get into the pi ev...
by karrika
Thu May 14, 2020 6:13 pm
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

Great! I also found out by trial and error that you cannot force the power/control by entering the proper codes on the command line. It also does not work with the future technique of giving negative setup times. The only way I was able to turn off my power save of my HUB at boot time was pretty har...
by karrika
Thu May 14, 2020 4:13 pm
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

I checked the version you sent me with the _beta_. It stops at 2:04 when the nominal length is 2:06. The tune is Elvis Presley's "Return to sender". But I decided to run the code from a terminal to see if something strange happens. Starting playback... A: 0.0 (unknown) of 197.0 (03:17.0 Audio device...
by karrika
Thu May 14, 2020 2:52 pm
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

Thanks! I will try it. It is really amazing to find all the practical problems. Yesterday I took a bath and grabbed with me the player just to practise words to some songs that I need to sing next year on stage. I had set the xscreensaver timeouts to long. But still after 10 minutes while the music ...
by karrika
Wed May 13, 2020 5:04 pm
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

Thanks! Now the ending is perfect! The interesting thing is that the next song also starts with the counter at 1. Already three songs and no problems. As the player is small and neat I plan to have it on my workbench to cheer up the feelings during isolation. Edit: could the reason be the routine "f...
by karrika
Wed May 13, 2020 2:47 pm
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

Connected up a Pi Zero v1.3, used Buster on the card from my Pi4. Unfortunately at present I have sound out of the Pi Zero BUT the software worked as expected, no stopping 3 seconds early and the next track starts at 00:00. Is your USB stick very slow ?. I've had issues with some sticks. It is very...
by karrika
Wed May 13, 2020 10:18 am
Forum: Beginners
Topic: Stand alone music player
Replies: 267
Views: 7285

Re: Stand alone music player

Dear @gordon77 I had some broken things at home: Old PiZero with broken microSD, cracked 320 by 240 display and a cardboard Bluetooth speaker. I also found my old MP3 player that cracked when I accidentally dropped it while I was at the top of a radio mast. The music was still accessible through USB...
by karrika
Fri Apr 03, 2020 6:22 pm
Forum: C/C++
Topic: Time to demo some of my students work
Replies: 8
Views: 596

Re: Time to demo some of my students work

Nice work! My first assignment at writing code at the university was to flip a coin. Times have changed :D
by karrika
Fri Apr 03, 2020 1:36 pm
Forum: Graphics, sound and multimedia
Topic: fruitbox MP3 jukebox
Replies: 1477
Views: 290701

Re: fruitbox MP3 jukebox

This may be a bit far fetched guess. It is quite often that drives have a power save feature that shuts them down after they have been idle. Even USB devices have it. Usally the USB devices have a control like /sys/bus/usb/devices/3-3/power/control This "control" file can have a value like "auto" or...
by karrika
Tue Mar 31, 2020 1:13 pm
Forum: Other projects
Topic: Looking for a Pi based Vortex manipulator schematics
Replies: 1
Views: 132

Looking for a Pi based Vortex manipulator schematics

My full size time machine refused to work. I seem to be stuck in isolation.

Image

So I wonder if someone would have schematics for a small Vortex manipulator. Prefer a Pi based as they are easily available. Just enough to get a few months in the future.
by karrika
Mon Mar 30, 2020 11:13 am
Forum: Troubleshooting
Topic: Raspberry pi 4 is injecting noise into audio circuit
Replies: 6
Views: 913

Re: Raspberry pi 4 is injecting noise into audio circuit

The audioinjector isolated card is still on Kickstarter. I have been using Pi's for light and sound control. Having a trouble free audio solution would be great. It is so easy to get unwanted humm when performing in different places. I hope the isolated card becomes reality. kickstarter.com/projects...
by karrika
Fri Mar 13, 2020 5:26 am
Forum: Troubleshooting
Topic: Touchscreen Touch Not Working- 7" HDMI Cap. Touch
Replies: 4
Views: 261

Re: Touchscreen Touch Not Working- 7" HDMI Cap. Touch

Use the original PSU. Buck converters may create too much noise for the touch to work.
by karrika
Mon Mar 09, 2020 8:26 am
Forum: Graphics, sound and multimedia
Topic: fruitbox MP3 jukebox
Replies: 1477
Views: 290701

Re: fruitbox MP3 jukebox

I must have done something wrong if there is duplicates fo load_song. In my version I have them only once. [status] Video = load_song.ogv LoopVideo = no Position = 486 40 Size = 940 580 Contents = status_load.txt TimerTickPeriod = 1 [status] Video = unload_song.ogv LoopVideo = no Position = 486 40 S...
by karrika
Fri Mar 06, 2020 11:37 am
Forum: Advanced users
Topic: Powering my RPi projects using buck converters
Replies: 28
Views: 1708

Re: Powering my RPi projects using buck converters

These buck converters look very familiar. There is one problem in using them. They create a lot of high frequency noise on the 5V power line. I have never been able to use these converter with the 7" official touch screen. The display image looks ok. But the touch screen part refuses to work. Adding...
by karrika
Wed Mar 04, 2020 2:37 pm
Forum: Other projects
Topic: USB stick eraser
Replies: 7
Views: 472

Re: USB stick eraser

The button is a left over from my theater setup. I bought it from IKH. My guess is that it is intended for a tractor panel. They mainly sell stuff for trucks and auto-parts here. It was much too high so I used plastic superglue to secure the nut to the lowest possible position and then I superglued ...
by karrika
Wed Mar 04, 2020 10:59 am
Forum: Other projects
Topic: USB stick eraser
Replies: 7
Views: 472

Re: USB stick eraser

How much? ;) for the set I mean.... This is a Do It Yourself product. The cost varies a lot. Buy a Pi + SD card + PSU Buy a box Buy a button, 2 leds (green + red), 2 resistors, nice cables with a female pin socket on the other end. Put on your creative mind. Do it! This is not for sale - sorry. I a...

Go to advanced search