My dad's birthday is coming up. As a child/youth he recorder music of the radio (as many did then) and catalogued them.
I want to create a audio player that displays the songs similar to the way he wrote them ( image linked at bottom).
Has a play all for that page but also has the function to play individual songs.
If possible I would like a page turn animation when switching between pages.
I wold like it to be possible to jump to certain pages e.g page a, page b etc.
I have seen how to create simple media players where you open a file. However I haven't been able to see what I am after.
The layout I am thinking of is the song list top, and Controls at bottom.
My question(s) is which language is best for this and how best to go about doing this?
Any help would be greatly appreciated.
Thought I'd best add that I do not know programming and will be learning what I need for this project as I go. So if possible could you explain your help or indicate which part of it I will need to Google.
UPDATE
Thank you for the replies. I went with VB as suggested and would love some feedback if nobody minds. As I learned more I kept changing my design so it has taken a while to get back to you.
My plan now is to:
*Implement any changes recommended
*Change a little of the gui -
+Change the image of the Insert Tape and Play tape buttons
+Remove the Window media player (Mark not visible) and polish off the control buttons
*Use FormB as the template for the rest of the pages
*Look into compiling the program
+Test on second computer and laptop
+ Possible test on my brothers computer if he is willing to download it
As well as putting the code here I have uploaded the project to Dropbox. There are two version. With music files (62.8 MB and without 5.75 MB. Please note the files are not the copyrighted songs I have substituted them with royalty free alternatives (please see below for attribution). I I changed the file names instead of code to make it easier should I forget to change it back.
Ok the code was too long to add in so uploaded it to GithubGist
FormB vb https://gist.github.com/Phoenix830/6cc03bc9bb54bdd98aaf4641acaef075
FormB.Designer VB https://gist.github.com/Phoenix830/3f347129ebc7c4d5410c9b44a7df9a81
Custom Controls -
Lab_But vb https://gist.github.com/Phoenix830/d7bd00b16e08f116dbf12159e3d464af
Trackbar vb https://gist.github.com/Phoenix830/4e90cf4df9a3ed694e4b9aa3dc60ead6
Zip files
No music https://www.dropbox.com/s/vdjlc1648qi4bpd/Cassette%20Tapes%20-%20No%20Music.rar?dl=0
With Music https://www.dropbox.com/s/i1m5zh0449385zn/Cassette%20Tapes.rar?dl=0
I think that is everything about my current code. This is Attributes and source notes.
Music
Title Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
http://creativecommons.org/licenses/by/3.0/
01-Barry_Manilow_-_Mandy.mp3 = Arroz Con Pollo.mp3
02-Barry_Manilow-New_York_City_Rhythm = Cheery Monday.mp3
03-Barry_Manilow_-_Looks_Like_We_Made_It = Galway.mp3
04-Barry_Manilow_-_Can't_Smile_Without_You = Glitter Blast
05-Barry_Manilow-Ready_to_Take_a_Chance_Again = Industrious Ferret
06-Barry_Manilow-Tryin'_to_Get_the_Feeling_Again = Le Grand Chase
07-Barry_Manilow-Could_It_Be_Magic = Nouvelle Noel
08-Barry_Manilow_-_Copacabana = Onion Capers
S2-01-Barry_Manilow-It's_a_Miracle = Teddy Bear Waltz
S2-02-Barry_Manilow-All_the_Time = Unholy Knight
S2-03-Barry_Manilow-I_Write_the_Songs = Zazie
This flaged up as an error if I didn't mark it as code
TrackBar
https://www.dropbox.com/s/i1m5zh0449385zn/Cassette%20Tapes.rar?dl=0
I have tried removing some excess code and still have to delete commented out sections that I don't need. I don't understand this enough and can not find enough information online to implement this in my own code using this just as a guide
https://www.youtube.com/watch?v=8Gi_JFAavM4
Getting MP3 info
http://forums.codeguru.com/showthread.php?409651-RESOLVED-How-to-check-the-song-playing-in-Windows-Media-Player
I can not fully remember all the forums, Youtube videos and Microsoft documents I viewed. I will try to add them if I find them as I go over my notes.
These last few links may or may not be overkill but thought worth adding encase they are useful to someone else
Also updated keywords. If they are wrong let me know and I will change them
One of the simplest languages to learn and to easily create an interface i would say is actually Visual Basic in Visual Studio, do download that and google things like "how to play audio file in VB.NET" and "how to add directories to list in VB.NET" and try to use the directories in the list (and when a song reaches it's end) just start on the next one in the list. I would use a ListBox for this. Tell me if you need more help, i would be glad to help you program it, if you need.
Related
as my title says I am having trouble mapping face data from the Live Link app to a metahuman.
Here is what I have done so far:
Created a UE5 project (Film/Video & Live Event)
Imported a metahuman (custom-made) into the project
Added required plugins to project (Live Link, ArKit, Apple-etc)
Connected Live Link mobile application to local network
Set the metahuman's animation controller to the Live Link feed
Calibrated the Live Link data within the Live Link application
The problem I am having:
Parts of the face are not responding at all (ex. metahuman's right eyebrow does not respond to me lifting my left eyebrow).
The left corner of the mouth seems to be stuck (ex. when I try to open my mouth, all points respond except for the single point stays where it is).
The mapping/naming of facial components seems to be mirrored/off/labeled wrong (ex. if I was to wink my right eye this would result in my right eye closing and my right cheek pressing upward. On the metahuman, the left eye would blink and the right cheek would raise.)
These issues are very frustrating as I can not seem to get past this basic calibration. I see online people using these same tools and getting results with the metahuman's facial movements that are really clean. Is there something I am missing? I know that after the metahuman has been calibrated, I will create sequences, am I supposed to be modifying these value there? I am not sure... I have commented on every video I can find and I have posted this question in the Unreal Discord (here) with basically no help.
Note: I don't need a full solution, I just need to be pointed in the right direction! Please let me know if there is anything I am missing in my setup or calibration workflow.
thanks for reading.
Had the exact same problem with a customer project, and the issue was it wasn't using the correct animation blueprint. Once we switched it to the correct animation blueprint for LiveLink the issue was immediately resolved. I remember that exact same facial expression - sorry as I know this was a frustrating one for the customer as well.
It seemed that I was doing everything right. After upgrading from 5.0.3 to 5.1 the issue stopped completely.
Ok so this question is actually in two parts.
I coded a video filter for VLC and I would like to add a control to the Video Effects panel on the OS X UI. So far I've been able to link my plugin the the UI by hijacking one of the existing controls, but this isn't ideal.
Now, if I open up the Xcode project (I'm running Xcode 6.3.1) and try to open the VideoEffect.xib file, I get the following error:
I tried to google this but it sounds like the only alternative would be to play archaeologist and dig up an old copy of Xcode 3. Is there any other way to be able to open this file and edit it somehow? I tried to look at the XML code but if I started to change that I'd do more damage than good.
The second thing I'd like to do is sending back values from the effect module to the UI. At the moment (by hijacking one of the existing sliders), all I can do is read a value from the panel with
config_ChainParse(p_filter, FILTER_PREFIX, ppsz_filter_options, p_filter->p_cfg);
p_filter->p_sys->i_factor = var_CreateGetIntegerCommand(p_filter, FILTER_PREFIX "factor");
and then, inside the callback function:
p_sys->i_factor = VLC_CLIP( newval.i_int, 0, 255 );
However, I haven't been able to write back the value. I'd like the filter to set p_sys->i_factor to a random value at start. This works (using var_SetInteger()), but it isn't reflected in the position of the slider in the Video Effect panel. I suspect I need to hack a bit deeper for that. Any ideas?
Regarding your first question with the xib-file. Consider downloading and using our forthcoming 3.0 code from git://git.videolan.org/vlc.git - it allows editing of said file without Xcode 3.
Regarding your second question, why would you want your video filter to interfere with the UI? This is not how the architecture of VLC works and there is no correct way to do it at this point. You would need to edit the core to do another global variable callback to ask the UI to reload the presented filter configuration.
Perhaps, if you give details about what your filter does and what you want to achieve, we find a more supported way :)
Currently, I have an RSS Feed Reader in a UITableView within a Navigation Control. I would like to click on the links and Open up a formatted page (containing all of the information from the website formatted for the iOS screen). I'm not sure if I should do this using the RSS data and a UITextView? I'm currently attempting to use UITextView in hopes that I can separate the information (title, author, body) without anything looking promising. I want to be able to move around the data and format it to my liking in the actual application itself. I read around and noted that you can include HTML and custom CSS. Would this be the way to go? I'm not quite sure how to tackle this. I want the page that opens up to be entirely scrollable (Like the IGN application or Slashgear application). Many apps for websites utilize this (and I am a bit new to this). How do they go about this? I also want to note, at some point I will like to cache the data so it may load what is already loaded without being connected to the internet. Does anyone have any ideas?
Edit:
Ok, I believe I found the correct path to go down from playing around and a lot of googling (nothing directly says what a decent way of doing this is). My particular way as of now is the route of a UIScrollView in general. Now the part I don't understand is how to divide up the long text into 'pages' for scrolling (and I am using the paging feature. This situation has led me into this question: How To Separate Strings For UIScrollView/UITextView based on the size of the frame
Ok, I believe I found the correct path to go down from playing around and a lot of googling (nothing directly says what a decent way of doing this is). My particular way as of now is the route of a UIScrollView in general. Now the part I don't understand is how to divide up the long text into 'pages' for scrolling (and I am using the paging feature. This situation has led me into this question: How To Separate Strings For UIScrollView/UITextView based on the size of the frame
I've been programming for a while, but just recently decided to start developing for Mac OS X. I feel like I've come to grips with the basics of Objective-C and Cocoa development over the past week. I'm planning on making graphics apps, and as such am currently in the process of learning how to control Quartz compositions through a Cocoa app. I went through the tutorial that apple offers (with the Mac Engravings composition), and was able to create that just fine. In order to make sure that I truly understood what I learned, I decided to create my own composition and link it to a slightly more complicated Cocoa application.
Essentially, I have a composition that loads a movie or image through a Movie Loader patch, at which point it applies various filters to the frames before outputting it. In my Cocoa app, I've written code (or rather copied and pasted from other apple examples) that lets a user pick a file using an NSOpenPanel object. The filepath of the file they pick gets placed in a text-box that I placed in the app's window using Interface Builder. I binded the value of said text-box to the "Movie_Location" key in my composition, which is a published input in the Movie Loader patch that I'm using. However, no matter what I do, movies and images aren't loaded into this composition no matter what I try. The only thing that gets displayed is the default image that I have saved in that input from Quartz Composer (or nothing if I leave it blank before publishing).
I've added a Clear Color patch to the composition and binded that to a colorwell in my UI, and that successfully changes the color in my display, so I know that the composition and my Cocoa app are communicating. I've spent numerous hours at this point trying to figure out what's going on, and I've just about given up. Does the Movie Loader have any weird behaviors that I'm not aware of, or is there something obvious that I seem to be missing? I'd really appreciate any help or advice from anybody.
Thanks for reading through this...
Best,
Sami
There are two things I can think of as reasons why it is doing this:
The file path isn't formatted incorrectly. Try checking backslashes, colons, etc.
The box isn't updating the value. Try literally clicking in the text field and hitting enter.
That's all I can think of without seeing your quartz composition and/or code.
EDIT:
Check the other continuous box, in the general properties.
I figured this out yesterday. spudwaffle's second idea is what was going on. If I were to type a filepath in and hit enter, it would work just fine. I got this to work properly by just removing the bind and instead using the setValue:keyInPath: function that a patch controller offers. That said, is there some way to force a text-box to update? I remember seeing a "continuously update" or something like that button within the bind sub-menu in the inspector, but my code didn't work with that checked either.
Thanks to those of you that tried to help me! I really appreciate it.
Best,
Sami
I am developing an iPhone application where i want to display three image in each row on scroll view where i need to click action on each image like Photo album in iPhone. I am not getting any sample code.
Hoping for help
subodh
There's plenty of sample code out there, I found this after only basic googling. You want to search for "UIImageView Iphone". It's also worth mentioning that Apple's very own Developer Center is extremely well written, and will teach you everything you need to know about iPhone programming.
Generally it is frowned down upon to say to look more or read documentation, but you really haven't looked at all. Especially because of Apple's own resource that tells you how to do almost anything, especially something like this. It's not something you can pick up and bits and pieces of and expect to be successful with, it really should be learned starting from the beginning and moving forward. This is especially true if you've never programmed before or are unfamiliar with C/Objective-C.
Three20 has a photo browser that is open source and works similarly to the iPhone's photo browser with some nice code examples. The images come from an image source object that can relate them to images in your apps bundle or images on the web. Looks like its Google group is here. I think that to use images in your bundle you use a URL formed like: bundle://image-name.png and not the typical use of the main bundle to get a path to resource.