Python isn’t necessarily for multimedia programming, so only recently I looked up ways to add audio in a Python script. Turns out there are several ways to do that. They’re all really simple. Methods to add sound: 1. import winsound fname = “soundfile.wav” winsound.PlaySound(fname, winsound.SND_FILENAME) 2. import pygame pygame.init() s = pygame.mixer.Sound(“soundfile.wav”) # Start playback […]
Tag: developer
Python and SQL
As expected Python has great connectivity to SQL and its variants; Python is made for queries and data analysis afterall. So, I decided to tinker with it a bit (I’m not a programmer per se, see my About page; so I share these simpler, more approachable codes for inspiring interest and education for beginners and […]
Program to care for a pet (Scratch)
Hello, and welcome back. Today, A fun program to introduce kids/beginners to understand logic and loops while taking care of a pet fish 🙂 Easy to code and easy to play. Code is commented with explanation. Check it out here: https://scratch.mit.edu/projects/282372671/ Enjoy! Challenge: I intentionally kept the core code simple and uncomplicated. However, if you grasp the […]
Abstract Art with Code (Art<->Tech). Volume III
VOLUME 3 If arts and tech had a baby, may it’d look like me 🙂 Anyway, I love mixing the two, interconnecting, and interpolating them…because I’m always curious. Results can be incredibly satisfying or surprising. These are not the best of my work in any form in coding, but wanted to share these short programs […]
Abstract Art with Code (Art<->Tech). Volume II
VOLUME 2 If arts and tech had a baby, may it’d look like me 🙂 Anyway, I love mixing the two, interconnecting, and interpolating them…because I’m always curious. Results can be incredibly satisfying or surprising. These are not the best of my work in any form in coding, but wanted to share these short programs […]
Abstract Art with Code (Art<->Tech). Volume I
VOLUME 1 If arts and tech had a baby, may it’d look like me 🙂 Anyway, I love mixing the two, interconnecting, and interpolating them…because I’m always curious. Results can be incredibly satisfying or surprising. These are not the best of my work in any form in coding, but wanted to share these short programs […]
Text-to-speech, Interactive Shopping List (in Scratch)
Welcome! Today, we’re going to try a program with a little more complexity and twists in Scratch. In this program, I demonstrate the following tips/tricks: How to use a List control real-time How to get inputs from user and take action accordingly How to convert Text-to-speech How to read variables real-time from calculations and let […]
Games development using Construct
Hello again, today I will touch upon 2 games I created using an easy to use development platform called Construct. These were done using version 2 (today, they are in ver 3). They were just for my personal learning and fun. It’s mobile and all-platform friendly and there’s nothing to install. Just open the browser and […]
My Disco Lemonade!
This was one of my biggest personal development project that was never published to the world (until now!)…Media Impact. Back in 2001, I abandoned it due to other obligations, but it certainly holds the place of a Disco Lemonade in my portfolio because it has pretty much EVERYTHING and it’s tasty 🙂 Multimedia, concurrent audio, […]
Pet Management – A very early Windows 3.1 program
Now, I’ve always loved having fish as long as I remember. Still have fish 🙂 Ok, this isn’t really about a fish, but rather a coding exercise (in the 90s) while I was splashing around in Windows coding (pun intended). The idea is simple: You have a character (Goldfish in this example), and you have […]