solved Audio Snip Too Short

Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
I have a suggestion that i wanted to share. I would like the option to disable the audio snippet.

I absolutely love this feature but feel its not letting the listener really vibe the tracks on the charts.

I havent messed with it yet to see how hard it would be to change this out myself...Im just suggesting it as a feature some may take interest.
updated by @developer-networks: 02/24/14 03:30:43PM
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
You can change the length with the 4th param of jrAudio_create_sample:
jrAudio_create_sample($profile_id,$audio_id,$_audio,$sample_length = 60)



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
Thanks SteveX ill play around with it. I wanted it gone so the listener can catch the intro to the songs and vibe it.
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
Also do you know if that will change the duration on songs already in the system or only on new uploads?
brian
@brian
10 years ago
10,148 posts
b360:
Also do you know if that will change the duration on songs already in the system or only on new uploads?

Only new ones, although if you go into modify song, then REMOVE the price and save, then go back in and set the price again it will create a new one.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
chorton581
@chorton581
10 years ago
139 posts
where is this jrAudio_create_sample file at?
michael
@michael
10 years ago
7,717 posts
chorton581:
where is this jrAudio_create_sample file at?

That function is used in about 4 locations in the jrAudio module. In the include.php file and the index.php file.
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
I think this should be an update to the module to make it function better for everyone using Jamroom.

Others will face these challanges too and it would not help much if mine was the only version with these functions.


I believe this is messing up sales and my listeners ability to interact with my charts. They leave because the songs keep turning off on them after 60 seconds and also starting in the middle.

Since all the music for sale is new to many of them they don't really know what they are listening to for 60 seconds and after about their second or third song on the charts they give up and leave.

I feel if they were allowed to shop the songs on the charts with a normal preview this would help keep them listening and make more sales. They need to vibe the new tracks and see if this is something they want to buy or not. Chances are on a new song your not going to purchase it on a whim with a 60 second preview especially if this is the 1st time in your life you have heard the song.



The audio sample feature is really awesome but only will work if the listener has heard the song on the radio in full somewhere and knows they want to buy it. The charts displaying new tallent have a harder time making sales so this should be optional for the songs in my opinion.


Scope:
Instead of the script checking for a price, Just check to see if a the user has checked the box "Create Audio Sample" in the upload form and price is greater then 0. then create sample.

Many online stores for audio allow a second upload audio field just for the sample. This would be another great solution as well. If they want to tag the song or only have a 60 second preview they can upload this as the sample upload and the original song can be issued after purchase.


On a side note here I havent got to the part of the downloading music yet. But this should probably also be reviewed for updating this module to make it better for Jamroom. Many users will upload to a site and allow free downloads as a way to advertise themselves. The jrAudio module should have this covered out the box. By having a check box "Allow Free Download" if price is <0.

These are just my suggestions to cover what I am seeing as missing functionality that this module needs to succeed and function well on many websites.

Didn't want to create more work for you guys.. Your working very hard all around. Just wanted to share my suggestions in effort to make this module better for Jamroom and to make more of your customers happy.

Thanks.


updated by @developer-networks: 01/22/14 04:31:02AM
brian
@brian
10 years ago
10,148 posts
b360:
The audio sample feature is really awesome but only will work if the listener has heard the song on the radio in full somewhere and knows they want to buy it.

I think you are misunderstanding the reason to have a sample. The sample is to prevent the user from saving/downloading the file and NOT paying for it. At 60 seconds it should give the user ample time to see if they like it or not, and by having it start in the middle it gives them a better idea of how the song sounds once it gets going.

Downloads are already handled as well. Just make sure the "Block Downloads" option is NOT set in the Global Config, and if no price is entered the song can be downloaded.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
I understand the reason to have a sample. I think its a awesome feature.

The problem is... that the customers are not able to make a decision to purchase a song in that window and i loose the sale.

This is not a solo band website e commerce system that the customer just came from a show and knows all of the content.

They will try to shop my charts and get hit with snippets of a song they have never heard and instead of attaching themselves to the song and making a purchase they give up on buying from my charts, because its just a chart system of snippets which those are more likely to not grab the customer and sell.

I want Jamroom to be successful all around and its quite a challenge to use this system to get up and running with base functionality that seems missing. Im sure this is effecting others as well.

The functionality I suggest is to make it better for all as the system in place in most cases will not work in a real world marketplace. So i figured suggesting to you my reasons for changing this functionality here in effort to help you, other customers and your customers down the road.

Some of the system as designed out of the box just simply doesn't work in the e commerce music business. Jamrooms foundation is a music CMS system and this should be your strength above all. That is what your customers will come to you wanting when they choose to go with this product. Its great to see Jamroom evolve to other areas but I feel in my opinion more time was needed in the core of your audio system base functionality to really rock this out and not be just good but great at something.

Since the song the customer is listening to is 90% of the time going to be new to them and the customer has never heard the song.. Just a snippet wont sell the song. Have you ever in your life heard just 60 seconds of a song and reached in your wallet and bought it or the album?

so yes, I think this feature as it has been laid out is really more in the way then its worth. If it stops Jamroom sites from selling songs how good is it? How far will mine or other Jamroom websites go if they cant make sales this way? Majority of your customers have came to Jamroom for a way to sell music on their websites and use this music CMS system.


I have looked at other systems in place for audio protection on websites and i wanted to share how this was done on their end which seem to be the standard ways to do this on most websites these days.

- You let the person upload 2 files. the first one is a tagged or snippet sample of their choosing for protection of their song/upload and the 2nd file is the main one available after purchase.

- You provide an upload audio tag feature to each profile (or one for website) and they upload their audio tag that is always played on repeat over a full length sample of any song played there after.

But the system in place isn't going to work for the majority for a lot of reasons. I just wanted to try to let you know so you could make it better and look at it respectively from a different prospective.

Also as for the download feature you have in place this doesn't work right either if all the songs on the website become downloadable for free. Not everyone wants their song to be downloadable just because they haven't entered a price. If you shut this off then no one using your system can download a song.

They may have uploaded it to get a buzz going and create a market to showcase their work but are not ready to distribute their work. I would need to write a whole terms of service to counter getting sued if someone doesn't know their song is going to be distributed for free if they upload to my Jamroom website.

I have worked with a lot of artists and producers and these are things that are sure to come up over and over again with this system as is.

Anyways, thanks for taking the time to hear my suggestion, I hope this helps.


Im faced with the harsh reality that no one will ever want to sign up or put music on my Jamroom website until I can resolve these issues.

Thanks
updated by @developer-networks: 01/22/14 03:28:46PM
brian
@brian
10 years ago
10,148 posts
I have to pretty much disagree with you on a lot of this - by far the number one issue our customers have a problem with is that of the user being able to download the audio file that is for sale. So the audio snippet takes care of that.

Secondly, the form designer was created to allow you to customize your site to suit your needs. Can you not just create another audio or file field and use that as your sample?

The same thing can be done for your download issue. Create a custom checkbox then check it in your templates to decide to show/not show the download option.

We've tried to make JR flexible to a wide range of needs, and your posts here clearly indicate to me that you're unhappy that it isn't setup exactly as you want it right out of the box. If we decide to add more functionality into the forms, the less flexible it will be for the majority of sites that have no interest in trying to sell audio files. But we've gone over this before, so you know where we stand on this.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
Its not that im unhappy at all. Its merely just suggesting a way to improve your product. I have not ever used the forum designer yet at all... Ive done everything from code.. but to go in to the code and change what I suggested above could take a few hours so its no big deal for me. You make it sound like im needing custom work done here, when to me this is a major design flaw that i was trying to help you with. But I've brought it up and it is what it is I guess. Thanks for your time.
brian
@brian
10 years ago
10,148 posts
No problem - I think the "is a major design flaw" is where we have to agree to disagree.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
I think I see what the problem is here:
b360 hasn't noticed that the form designer exists yet.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
10 years ago
10,148 posts
SteveX:
I think I see what the problem is here:
b360 hasn't noticed that the form designer exists yet.

I don't think so - b360 knows his way around JR5. He just has an idea of how the audio module can be different based on his experience - I do appreciate the feedback even if I don't agree with it :)


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 01/22/14 04:21:41PM
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
I will learn about the forum designer it tonight Steve. I'm sure it will be a breeze. But this suggestion came up as I launched my site and have ran smack in this myself. Figured it would be good to suggest this so it was more inviting to the public and to those who have also never heard of a forum designer. I ment no disrespect here by posting this suggestion or to degrade your hard work on the Audio module.
brian
@brian
10 years ago
10,148 posts
b360:
I ment no disrespect here by posting this suggestion or to degrade your hard work on the Audio module.

No worries at all - even if I don't always agree, the fact that you took a lot of time to lay out why you think it should be different is awesome - please don't let my disagreement keep you from being critical of JR - it's super important to me to keep receiving feedback like this, so thank you :)


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
@b360 the form designer is really cool - you will love it.

@brian For me, the usefulness of the form designer took some finding, and I don't think I even scratched the surface of what it can be used for.

And I still have the feeling that there are several other large chunks of jr5 that I haven't found yet. These things can be hard to find - I've managed to overlook so much when it is right there in the code: a better way of doing than the way I have been doing it. It's happened to me several times so far with jr5, and I'm pretty sure it will happen to me at least several times more.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
I just learned the basics of it in 5 minuites. Its amazingly simple to add content. Looks like a very handy tool that will save time, one question that came to mind was can the changes I make to the system using the form designer commit and transfer with a module pack from the Developer tool.

updated by @developer-networks: 01/22/14 04:58:48PM
brian
@brian
10 years ago
10,148 posts
b360:
one question that came to mind was can the changes I make to the system using the form designer commit and transfer with a module pack from the Developer tool.

No - instead you would want to create an install.php script in your module directory, with a function inside:

YourModule_install()
{
 ...
}

That would insert/create the additional form fields at install time using the jrCore_verify_designer_form_field() function.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
10 years ago
7,717 posts
b360:...one question that came to mind was can the changes I make to the system using the form designer commit and transfer with a module pack from the Developer tool.

We've discussed this earlier "Form Designer: export to module feature" and it might find its way into upcoming updates.

Keep an eye out.
MAD
MAD
@madc
10 years ago
600 posts
michael:
We've discussed this earlier "Form Designer: export to module feature" and it might find its way into upcoming updates.

+1 for that


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
michael
@michael
10 years ago
7,717 posts
Using the Form Designer and adding another track for playing is the first step, you will then want to watermark that track.

Here is an FFMPEG command that will merge 2 stereo .mp3's into another mp3.
ffmpeg -i song_1.mp3 -i watermark.mp3 -filter_complex "amerge,pan=stereo|c0<c0+c2|c1<c1+c3" output.mp3

NOTE: Make sure the watermark.mp3 track is much much longer than any possible target file and that command will cut the new mp3 off at the length of the shorter track. (which is the target, so that's good.)
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
Got it all fixed up if anyone else needs help with this let me know. :)
brian
@brian
10 years ago
10,148 posts
One thing I will be adding to this is a way to configure the snippet length - I can see where some might want it longer/shorter than the hard coded 60 seconds.

I have that on my todo and should get that into the next audio release.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
Very cool, Thank you.
brian
@brian
10 years ago
10,148 posts
This has been added in 1.1.5 that I've just released into the marketplace - let me know if you see any issues.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags