<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ramon Cardenas on Medium]]></title>
        <description><![CDATA[Stories by Ramon Cardenas on Medium]]></description>
        <link>https://medium.com/@ramoncarden?source=rss-bd20781e7dc4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*VD6c6q2V6jtkJKHw.jpg</url>
            <title>Stories by Ramon Cardenas on Medium</title>
            <link>https://medium.com/@ramoncarden?source=rss-bd20781e7dc4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 13:45:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ramoncarden/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Piece by Piece pt. 3]]></title>
            <link>https://medium.com/@ramoncarden/piece-by-piece-pt-3-ae4cd6d9317a?source=rss-bd20781e7dc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae4cd6d9317a</guid>
            <category><![CDATA[music]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[pyqt]]></category>
            <dc:creator><![CDATA[Ramon Cardenas]]></dc:creator>
            <pubDate>Fri, 19 Apr 2019 04:04:22 GMT</pubDate>
            <atom:updated>2019-04-19T04:04:22.447Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wUhJ_CBEmYGzeOEN" /><figcaption>Photo by <a href="https://unsplash.com/@iurte?utm_source=medium&amp;utm_medium=referral">Iker Urteaga</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Welcome to the third installment of Piece by Piece. A blog where I take you through a musical programming journey where I attempt to set up a python GUI musical app. If you missed the second part of this series you can catch it <a href="https://medium.com/@ramoncarden/piece-by-piece-pt-2-fd3762338e81">here</a>. So, just a quick recap. In the last post, I posted how the GUI main window was taking shape and I set up my buttons numbered 1–7 which would control the sounds of the chords in each key. I also set up a combo box(dropdown menu) to select between keys. Since then, I have been working to add some functionality to all my buttons and menus and most importantly, get some sounds up and running so we can start playing some tunes!</p><p>So, with the first part of my ui setup complete(In case you missed it, here is a screen shot) it was time to start giving our buttons some life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QhguOTbt9P4_m5p0ErPz1g.png" /></figure><p>Although, slightly barebones, these buttons and dropdown menus are where the heart of our application lie. The buttons above labeled I-VII represent the seven chords in each key. When pressed, each button will play the corresponding chord sound for that key. So, for instance, if we have the key of C selected in the dropdown menu, when I click on the II button the 2 chord for the key of C will play, which in this case is the Dm chord. When I click on the III button the chord Em will play and so forth. The code to get this to initially work is quite ugly, no it’s actually hideous, but hey it works! The motto here is to get it to work first and refactor it later.</p><pre>def play_sound_one(self):<br>        combo = self.ui.comboBox.currentText()<br>        if combo == &quot;Gb&quot;:<br>            mixer.Sound.play(Gb)<br>        elif combo == &quot;Db&quot;:<br>            mixer.Sound.play(Db)<br>        elif combo == &quot;Ab&quot;:<br>            mixer.Sound.play(Ab)<br>        elif combo == &quot;Eb&quot;:<br>            mixer.Sound.play(Eb)<br>        elif combo == &quot;Bb&quot;:<br>            mixer.Sound.play(Bb)<br>        elif combo == &quot;F&quot;:<br>            mixer.Sound.play(F)<br>        elif combo == &quot;G&quot;:<br>            mixer.Sound.play(G)<br>        elif combo == &quot;D&quot;:<br>            mixer.Sound.play(D)<br>        elif combo == &quot;A&quot;:<br>            mixer.Sound.play(A)<br>        elif combo == &quot;E&quot;:<br>            mixer.Sound.play(E)<br>        elif combo == &quot;B&quot;:<br>            mixer.Sound.play(B)<br>        elif combo == &quot;F#&quot;:<br>            mixer.Sound.play(f_sharp)<br>        else:<br>            mixer.Sound.play(C)</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FozmcaOBoLSY2k%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FozmcaOBoLSY2k%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FozmcaOBoLSY2k%2Fgiphy-downsized-large.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="267" frameborder="0" scrolling="no"><a href="https://medium.com/media/6508faa3b8d2b50284eb5a4952e03ae2/href">https://medium.com/media/6508faa3b8d2b50284eb5a4952e03ae2/href</a></iframe><p>Yea scary I know, but there is some method to this madness. As you’ll see each button has a function attached and inside each function lays a plethora of if/else statements that do checks to see what sound needs to be played. The goal is to select the key from the drop down and then have only the sounds in the selected key load. This will be refactored. Currently the sounds are preloaded as global variables and committed to memory using the mixer.Sound() module imported from pygame. An example of this below.</p><pre>mixer.init()</pre><pre>Gb = mixer.Sound(&quot;sounds/soundsGb/Gb.ogg&quot;)<br>Db = mixer.Sound(&quot;sounds/soundsDb/Db.ogg&quot;)<br>Ab = mixer.Sound(&quot;sounds/soundsAb/Ab.ogg&quot;)</pre><p>For ease of play the I-VII buttons have a keyboard assigned shortcut. This aides in the ease of playing the sounds which makes the music writing process flow a little smoother. Using the keyboard strokes A,S,D,F,G,H, and J you can achieve the same result as if you’d performed a mouse click on each button. This is merely a matter of preference, but in my opinion it simulates musical typing as you would find in a digital audio workstation like pro tools or logic pro.</p><p>As mentioned the dropdown menu selects what key you would like to play your music in, and based on the key you get different chords to play. The dropdown menu is called a comboBox in PyQt. so accessing the comboBox.currentText() method we can see what key has been selected. This looks like this:</p><pre>combo = self.ui.comboBox.currentText()</pre><p>The 7th chords button is probably one of my favorite things about this project. Bear with me here as I shift over to a bit of a music lesson. Chords are made up of three notes. For example the C chord contains the notes C-E-G. These notes belong to a scale, in this case the scale of C and the notes are the 1st, 3rd, and 5th notes respectively. Because of this we say that chords are triads; made of three notes in a scale which are stacked together. Using this bit of knowledge if we add the 7th note from the scale to our C-E-G triad we get C-E-G-B, or a Cmaj7 chord. So, what’s the big deal you say? Well, in all honesty, not much, but what this enables musicians to do is to play a different types of sounds, thus opening up new doors for musical creativity. 7th chords are associated as being more jazzy and are used widely throughout genres such as jazz, R&amp;B, and blues. Still with me? Great! The 7th chords button in this app allows us to listen to the 7th variant of all our chords in every scale; giving us more sound options to create new music and the flexibility to apply different genres.</p><p>The view chords button is a designed to launch a new window listing the keys and their chords/notes. I figured this would be a good feature for anyone who might want to use this app as an educational tool. At the moment however, there’s just one problem…..</p><p>IT DOESN”T WORK!!!!!!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FQ8Zs9xIPTpmZq%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FQ8Zs9xIPTpmZq%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FQ8Zs9xIPTpmZq%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="325" frameborder="0" scrolling="no"><a href="https://medium.com/media/698f0c8f8a498f2daf747b0343e8e422/href">https://medium.com/media/698f0c8f8a498f2daf747b0343e8e422/href</a></iframe><p>If you recall from the second blog post I mentioned I would be using sqlite as a database. How this should work is we push the view chords button, a new window pops up, and all of our data populates onto a table. At the moment the secondary window opens, but no data populates. My errors messages are telling me that my secondary window does not contain a tableView, so my guess is that I’m having an issue with connecting my file together to my main app.py file. At the moment I’m frantically debugging so I can get this up and running.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FYQitE4YNQNahy%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FYQitE4YNQNahy%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia2.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExa2V2cmd2N2tuNGdyOGlmM2l3aG5uOW9tdXdwc2lnOWxkdHExYnFzZiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FYQitE4YNQNahy%2Fgiphy.webp&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/9e61d37d19b12bcbf45405d82f4351ea/href">https://medium.com/media/9e61d37d19b12bcbf45405d82f4351ea/href</a></iframe><p>I’ll update with the solution when I find it.</p><h3><strong>THINGS I’VE STRUGGLED WITH SO FAR</strong></h3><p>At this point I think it’s important to highlight what I have struggled with so you can see where my weaknesses have led to struggles and to show you how I’ve been able to overcome my them. I initially struggled to get my main window to launch. I expected this since I am new to the world of GUI programming. A little perseverance, some online digging, and a few youtube videos later however, and I had a main window. I posted my solution code for this in the second blog post in case you might be struggling with setting up a PyQt main window and are interested in checking out how I did it. I also experienced some difficulty with latency issues from my sounds. I desired a seamless flow between my chord sounds, but I was causing some trouble for myself in the way that I was loading my sounds. Rather foolishly, rather than commit my sounds to memory and then calling them as needed, I was making the mistake of loading them every time a chord button was pushed. This was causing a function to be called, a sound to be loaded, then a play method to be called in order for that sound to play. It looked a little something like this example.</p><pre>pygame.mixer.music.load(&quot;sounds/C.ogg&quot;)<br>pygame.music.play(&quot;sounds/C.ogg&quot;)</pre><p>In doing this I was adding clutter to my code and also causing a bit of latency between sounds. The end result was not very pleasing. I was able to alleviate this issue by committing my sounds to global variables and calling them as needed. My final issue and an ongoing one at that, is my trouble with getting my database info to translate onto a table view window. sqlite is a completely unchartered area for me, so while I’ve been struggling to get a grasp of it, I have enjoyed learning about this technology. My issue, I suspect, is that I am having trouble importing my Ui_Dialog class(contains the tableView) into my main app.py file. I feel that I am close to finding a solution to this bug. It’s only a matter of time.</p><h3><strong>NEXT STEPS</strong></h3><p>Well, this project is getting close to the end. It’s been a great journey of self discovery and an enjoyable mental challenge. Seeing things begin to come together really does give me a sense satisfaction and a drive to continue learning and putting what I learn into practice. The following features are the items that I will be working on adding next to this project:</p><ul><li>Recording feature — Being able to record and playback your own melodies makes for easier songwriting. If this app allows you to record what you’ve made then you can add a guitar riff or sing over the music.</li><li>Guitar Sounds — My sounds are currently all being played on a piano, but having the option to have these sounds on the guitar as well will open up new creative outlets. Different instruments for different moods.</li><li>Add a label over the chord buttons to display what sound is being played when that sound is active — The goal here being that with enough repetition you’ll begin to learn which chords are your favorites and which keys they are located in.</li></ul><p>That’s it for now. There’s still some things to add to this program, but I’m getting closer to the finish line. Next blog post I will have a finished product and I’ll explain what features I decided to add and how they work. Until then, rock on!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae4cd6d9317a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Piece by Piece pt. 2]]></title>
            <link>https://medium.com/@ramoncarden/piece-by-piece-pt-2-fd3762338e81?source=rss-bd20781e7dc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd3762338e81</guid>
            <category><![CDATA[gui]]></category>
            <category><![CDATA[pyqt]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Ramon Cardenas]]></dc:creator>
            <pubDate>Fri, 22 Mar 2019 05:05:09 GMT</pubDate>
            <atom:updated>2019-03-22T05:05:09.040Z</atom:updated>
            <content:encoded><![CDATA[<p>So, time to update everyone on my melody_maker(I know, still working on improving this title). If you didn’t read the first part where I describe my app idea for the ChiPy mentorship program, check it out here <a href="https://medium.com/@ramoncarden/have-you-ever-felt-like-youve-overcommitted-to-do-something-well-beyond-your-current-capabilities-b393ee8b6abc">https://medium.com/@ramoncarden/have-you-ever-felt-like-youve-overcommitted-to-do-something-well-beyond-your-current-capabilities-b393ee8b6abc</a>.</p><p>In my last post I stated that, “One of my goals for the duration of this mentorship was to not get over-burdened by all the existing technologies that are out there to help accomplish a task.” Essentially I was going to pick a technology and run with it. Well, that changed slightly, albeit for the better. But, this wasn’t a case of analysis paralysis that led me to change my mind. Instead I found a way to work smarter and to help with my weaknesses. The majority of my programming experience has centered around web development and the part I’ve enjoyed least has been the times I’ve had to inject artistic creativity into my projects. I’m not saying you need to be Leonardo Da Vinci to be a great web developer, but it probably doesn’t hurt either. When I first decided to do this melody_maker app through the use of a GUI, the thoughts in the back of my mind were dread that I would need to spend an unreasonable amount of time deciding how my layout should look, what my buttons should look like and how to style them, how to create a main window that stands out, etc. I slightly feared this would deter my motivation for this project. But, then I was introduced to PyQt’s designer feature. I had originally considered PyQt, but I chose WxPython because it was my opinion(as right or wrong as it may be) that the learning curve wouldn’t be so steep. When I discovered the magic of designer I saw that setting up the UI for my application didn’t have to be a daunting task, and with a few clicks and drags I could have great looking buttons, drop down menus, and checkboxes. Time to make a UI for this application.</p><p>The main components in my application that needed to be included were a dropdown menu(select a musical scale) and seven buttons(one for each chord in a scale). Ok so with relative ease, thanks to designer, we have a simple UI that looks like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EdiAmHeB--4Zw-KTuFDutw.png" /></figure><p>Not exactly groundbreaking stuff, but it’s a step down the road we need to go. So when you create a window through the designer you have the option to manually code several widgets or, like I did, you can use the designer builder that comes with PyQt. This file will be saved with a .ui extension and in order to convert this into a python file you navigate to the directory where this .ui file is, then we type the following command:</p><pre>pyuiuc5 -x <em>filename.</em>ui -o <em>filename</em>.py</pre><p>and presto! We have our .ui file and now our .py file to work with. From our .py file we should have a class called “Ui_MainWindow” and with this we can create our main window and give some functionality to our buttons and drop down menus. Now, I struggled mightily to initially set up my main program window(there’s your beginner curve I guess)but, once set up we have our program up and running. My code for setting up the window looks something like this:</p><pre>from PyQt5.QtWidgets import QApplication, QDialog, QMainWindow<br>from main import Ui_MainWindow<br>import sys</pre><pre>class MusicApp():<br>    &quot;&quot;&quot;docstring for .&quot;&quot;&quot;<br>    def __init__(self):<br>        app = QApplication(sys.argv)<br>        self.MainWindow = QMainWindow()<br>        self.ui = Ui_MainWindow()<br>        self.ui.setupUi(self.MainWindow)<br>        self.MainWindow.show()<br>        sys.exit(app.exec_())</pre><pre>if __name__==&quot;__main__&quot;:<br>    MusicApp()</pre><p>Hopefully, this will save you some of the hassle setting up your window.</p><p>Now onto the buttons and adding some sound. I spent much time thinking about how to efficiently code functions for my buttons that I didn’t even bother to check to see if I could get them to work in the first place. I wanted clean code from the get go, but I didn’t even have working code to begin with! Sometimes it’s better to get something to work first, then refactor later on if necessary. So with the following lines of code in place:</p><pre>self.ui.one_chord.clicked.connect(self.play_sound_one)<br>self.ui.two_chord.clicked.connect(self.play_sound_two)<br>self.ui.three_chord.clicked.connect(self.play_sound_three)<br>self.ui.four_chrod.clicked.connect(self.play_sound_four)<br>self.ui.five_chord.clicked.connect(self.play_sound_five)<br>self.ui.six_chord.clicked.connect(self.play_sound_six)<br>self.ui.seven_chord.clicked.connect(self.play_sound_seven)</pre><p>we have now given utility to our buttons. play_sound_one, play_sound_two, etc. are functions, which, you guessed it, will play a sound when the button is clicked.</p><p>One non programming issue worthy of mention. I did initially plan to find my chords and sound samples online. As a musician hobbyist I know there are endless libraries of sounds and samples out there for music makers to use, some free of charge, others requiring payment. I was quite surprised to find that the sounds I was looking for(in this case basic chords) were not consistently available for use, or contained to much colorization and processing which changed the sound into something a bit too genre specific. My work around for this was to record the sounds my self in Logic proX(a digital audio work station) with the use of a MIDI keyboard and then convert my sounds to .ogg files so I could use the mixer() feature from pygame to play sounds. This turned out to be good solution. When one door closes, make sure to keep turning other knobs.</p><p>Alright, so that’s it. Currently I am working on getting sqlite up and running to make use of it in this application, and there have been some struggles, but I’m stubborn, so I can gladly say that there is also progress. Word of advice. Be stubborn. More on sqlite for the next blog post. Two more blog posts to go. My next piece should provide updates with the almost completed project and my final piece might be a demo(who knows, maybe I’ll write a song with my software) and definitely some reflection about where I am, what I learned and where I’m going. Happy Coding.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd3762338e81" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Have you ever felt like you’ve overcommitted to do something well beyond your current capabilities?]]></title>
            <link>https://medium.com/@ramoncarden/have-you-ever-felt-like-youve-overcommitted-to-do-something-well-beyond-your-current-capabilities-b393ee8b6abc?source=rss-bd20781e7dc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b393ee8b6abc</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[chipy]]></category>
            <dc:creator><![CDATA[Ramon Cardenas]]></dc:creator>
            <pubDate>Fri, 22 Feb 2019 05:52:30 GMT</pubDate>
            <atom:updated>2019-02-22T06:06:14.718Z</atom:updated>
            <content:encoded><![CDATA[<h3>Piece by Piece</h3><p>Have you ever felt like you’ve overcommitted yourself to do something well beyond your current capabilities? “What’s that?” “We’re having a potluck and you’d like for me to bring the foie gras?” “Yea, of course, no problem. Just let me figure out how to spell that correctly so I can google what it is first.” The thought of doing something monumental can seem daunting. And yet we agree to take on large tasks well beyond on current skillset, but why? Well, some of us just like a challenge, but also, it just so happens that we know the information and ingredients we need are already out there. We just have to know how to search for, and find what we’re looking for. Then we take all the pieces and put them together. So, when I agreed to commit to the Chipy mentorship program, I knew I would be stretching the current limits of my python skillset in attempt of creating a program I’d only dreamed of making when I began my programming journey. I knew I was no longer in my programming comfort zone. I knew I didn’t currently possess the abilities to build the type of program I’d committed myself to complete but, I also knew that the information and recipe I needed was out there. I intended to find it. I would need to pull up my sleeves and figure out how to make programming foie gras.(My apologies if foie gras is the name of a programming language I’ve yet to learn of).</p><p>Cue the idea of making a music theory app for people with limited music theory knowledge. Huh?!?!! Hear me out for a sec. If you’re the type of musician I am, the easy part of playing/creating music is rocking out to your favorite tunes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FzOdOzXm2UvdXW%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fmrw-again-gon-zOdOzXm2UvdXW&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FzOdOzXm2UvdXW%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/e59fad56761db19b7524640a4dd2484d/href">https://medium.com/media/e59fad56761db19b7524640a4dd2484d/href</a></iframe><p>But, any good musician knows that this isn’t all there is to learning the craft. Solid music theory knowledge can help you grow creatively. To take a deep dive into music theory you will need to learn scales, keys, modes, etc. If you’re like me, my limited music theory has at times kept me from putting that melody I’ve been humming in my head all afternoon and turning it into a piece of music I can share with the world. With this app I hope to create a tool that will help bridge that gap between understanding music theory and creating actual music. When you get a jolt of musical inspiration from the heavens above you want to be able to quickly get a rough draft, a melody, or a chorus recorded so you can use as a molding block for your next big hit. This application will assist with just that. How this app will work is simple on the surface. You have a musical idea, and you’re not quite sure how to add music to it and bring it to life. You open up the music theory app(cool name i know), you pick a music key and with the push of a keystroke or a mouse click you have all the available chords and notes in that key; making it easy to quickly begin putting musical pieces together.</p><p>Ok, sounds great, killer idea. Pat yourself on the back. Everyone is gonna love this right? Now we’ll just reach out to the online forums and see what the programming and music communities think about my idea. Oh, sweet! My posts about my idea has some notifications. Probably some constructive feedback. Let’s see what people think.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F13871fiv9kBfkQ%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2F13871fiv9kBfkQ&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F13871fiv9kBfkQ%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="443" frameborder="0" scrolling="no"><a href="https://medium.com/media/67e1a0a5e75399125ef70702405c638b/href">https://medium.com/media/67e1a0a5e75399125ef70702405c638b/href</a></iframe><p>Yea the internet can be an unforgiving place. Some people will love your ideas, others will hate them and proceed to congratulate you on winning the award for the dumbest thing they’ve read in 2019.(A bit harsh considering how much of the year is still left, but ok)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FVVkIPEOwSgtG0%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Freactiongifs-VVkIPEOwSgtG0&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FVVkIPEOwSgtG0%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="212" frameborder="0" scrolling="no"><a href="https://medium.com/media/d0082741121b6e0a5b0e1e67faa18c1d/href">https://medium.com/media/d0082741121b6e0a5b0e1e67faa18c1d/href</a></iframe><p>One thing is for certain. You can’t please everyone. You shouldn’t try to. As long as you see utility in your ideas are they worth pursuing? Absolutely.</p><p>My idea is set so what’s next? Now it’s time to do some self reflection. What do I know that will help me accomplish this task? Currently some python. Excellent. What else? I know how to scrape web pages with BeautifulSoup. That’s could be another useful tool. What more do I need to learn? A lot. How to properly implement OOP principles for one, figuring out which data structures will be best suited for this project, and even some UI design. Alrighty then. So now what? As a child I frequently played with legos and I knew that if you wanted to build that super cool airplane on the back of the instruction manual you would need to be patient and build block by block together until things started to take shape.That’s how I intend to build this project. So first thing’s firsts. Let’s learn about GUIs. That’s our first lego piece here. Amongst the chaos that can be online forums(I did receive some helpful suggestions so thank you kind folks) I received some messages advising me to go with a GUI to help me accomplish this task. Which one should I go with? My mentor and reddit suggested wxpython. It’s well documented they say. Awesome. One of my goals for the duration of this mentorship was to not get over-burdened by all the existing technologies that are out there to help accomplish a task. There are many ways to do something. Pick a path and go. Analyses paralysis is a very real deterrent. I’ve experienced it in my programming, my music making, and in other areas of my life, but this time I’m committed to overcoming that.</p><p>So, so far in using wxpython I’ve been able to get my window frame up and running and also add some buttons with functionality. In addition I’ve also been able to take small blocks of code and run them within wxpython. It’s the small victories that fell good.</p><p>But, now the next steps are:</p><ul><li><strong>figure out which data structure I’ll use to build and hold my sound library</strong></li></ul><p>At the moment, I’m inclined to use a dictionary to accomplish this. The key/value pairing of this data structure makes too much sense to not be my first consideration. This, like other things however, may change.</p><ul><li><strong>design my program UI</strong></li></ul><p>Make an aesthetically pleasing layout with the GUI and make sure that it is easily navigable for the user.</p><ul><li><strong>make sure my sounds work as intended</strong></li></ul><p>The whole idea here is to make a music app right? Can’t make music without any sounds. Here, the buttons in my GUI frame should begin to behave as intended and should play the sounds that each button has been assigned. So a keyboard stroke down or a mouse click should play the corresponding sound associated with each button.</p><p>My next blog should include more code for everyone to poke around at. Coming up with an idea that moved me was a challenge in itself, but now that there is an idea in place, it’s time to use the magic of python to bring it to life. The small pieces are coming together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HOG73sqxaIhU_d1F" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b393ee8b6abc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript Study Path]]></title>
            <link>https://medium.com/@ramoncarden/javascript-study-path-d03b07f28fe7?source=rss-bd20781e7dc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/d03b07f28fe7</guid>
            <category><![CDATA[freecodecamp]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Ramon Cardenas]]></dc:creator>
            <pubDate>Fri, 02 Jun 2017 16:16:10 GMT</pubDate>
            <atom:updated>2017-06-02T16:16:10.205Z</atom:updated>
            <content:encoded><![CDATA[<p>So for my chosen study path for JavaScript I decided to go with this path <a href="https://github.com/P1xt/p1xt-guides/blob/master/job-ready.md">https://github.com/P1xt/p1xt-guides/blob/master/job-ready.md</a> By <a href="https://medium.com/u/bf42d244c85">P1xt</a>.</p><p>Currently working my way through The YDKJS series, which as a total beginner is challenging, but I do feel I am picking up on the inner workings of JS.</p><p>This guide is very book heavy, but I feel as begin to reach the end I should have a fair amount of projects and a decent portfolio for employers to look at. The guide also includes. projects from the Free Code Camp curriculum and a couple of courses from edx.org.</p><p>I’m looking forward to beginning the edx Harvard CS50 MOOC course as I have heard that it is excellent for people new to programming. I must admit, I am getting anxious to finish the YDKJS series and beginning to work on projects. My goal is to have at least a couple of small projects and 3 bigger sized projects completed by summer’s end.</p><p>Learning new things each and every day and can’t wait until I am capable enough with programming to begin building my new ideas!</p><p>Peace out for now. Happy Coding.</p><p>Ramon C</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d03b07f28fe7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First Post for an Aspiring Developer]]></title>
            <link>https://medium.com/@ramoncarden/first-post-for-an-aspiring-developer-2c48f3db8429?source=rss-bd20781e7dc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c48f3db8429</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Ramon Cardenas]]></dc:creator>
            <pubDate>Wed, 24 May 2017 23:06:14 GMT</pubDate>
            <atom:updated>2017-05-24T23:06:14.432Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello,</p><p>First of all, thanks for taking the time to read. I’m an aspiring programmer looking to break into the web development field. Follow along as I traverse the world of programming from total beginner to (hopefully) an employed programmer.</p><p>My current field of study includes Python(currently working through Automate the Boring Stuff with Python by Al Sweigert) and Javascript/HTML/CSS(Currently beginning the Types and Grammar book from the You don’t know JavaScript Series by Kyle Simpson).</p><p>I’ll be posting my progress and setbacks(already too many) in hopes of connecting with other newbie programmers out there who are learning, or with seasoned vets who are curious how people today teach themselves programming.</p><p>I look forward to interacting with everyone.</p><p>Happy Coding!</p><p>Ramon</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c48f3db8429" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>