Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 6:44 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Visable waveform
PostPosted: January 14th, 2013, 1:02 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Hi,
Does anybody know if it's possible to display the waveform of an audiofile in a publication?

Regards,

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 14th, 2013, 9:02 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
If you mean that Opus has a built-in functionality then no you can't.

You could however, just take a screen shot of the waveform in your favourite editor and display that. If the audio files are dynamic then you can achieve the same thing using SOX Sound eXchange to generate the images.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 15th, 2013, 7:47 am 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Hi Mack,
That's not standard in Opus is that I knew but I was wondering if there is another possibility.
I'm working on an audio player where it would be usefull if the waveform would be visable.
SOX Sound eXchange is that a program?

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 15th, 2013, 9:37 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Yes, it's a command line application - the Swiss Army Knife of audio.

http://sox.sourceforge.net/sox.html

That's the help page - just locate the spectrogram option.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 15th, 2013, 12:17 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Thanks Mack.

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 15th, 2013, 5:07 pm 
Offline

Joined: November 25th, 2004, 1:24 pm
Posts: 512
Location: Scotland
Opus: 9.75
OS: Win 10
System: Asus i7-7700K 16Gb
Sorry, this won't help you......but Opus does have the ability to display a scrolling waveform for a sound file, but only in edit mode and only in the initial stages of setting up AutoNarrate.
AutoNarrate is where Opus will display text and highlight individual words synchronised to a sound file. It's a really cool feature. Unfortunately for you, the only time you see the scrolling waveform is when you select or edit the audio file. It does not display when it's running, unfortunately.
So near to what you want!!

_________________
Whoever designed this, never actually used it!


For this message sandyn has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Visable waveform
PostPosted: January 15th, 2013, 5:22 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
:| Oops, that's more difficult then i thought.
A small example would be very helpfull to start.

Do you have an example Mack?

Kind regards,

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 15th, 2013, 9:19 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
If you're looking at the waveform style that Opus uses then this might not be your cup of tea as the manual says, it's a spectrogram.


Code:
sox mymusicfile.mp3 -n spectrogram -Y 300 -l -r -o mymusicfile.png



If your using MP3s you'll need the libmad.dll file in the sox folder.

Mack


You do not have the required permissions to view the files attached to this post.

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 16th, 2013, 10:49 am 
Offline

Joined: May 24th, 2007, 11:02 am
Posts: 132
Location: UK - Wales - Ceredigion
Opus: illuminatus > Evolution
OS: Windows 10 Pro
System: i7 8GB RAM
Have you also looked at using Flash for this?

http://www.marinbezhanov.com/web-develo ... -in-flash/


For this message jezjones29 has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 16th, 2013, 12:50 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Thanks mack, and JezJones.
I am gonne give both options a try.


Regards,

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 16th, 2013, 3:41 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
:oops: I am too dum for this i think...
Almost a year without Opus programing has left its mark.

Jezjones, did you ever use the flash option in an Opus publication? Do you have an example .imp?

Mack, I can not get it going.
Of course it's my fault but keep trying against all odds is not working.

Kind regards,

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 17th, 2013, 12:39 pm 
Offline

Joined: May 24th, 2007, 11:02 am
Posts: 132
Location: UK - Wales - Ceredigion
Opus: illuminatus > Evolution
OS: Windows 10 Pro
System: i7 8GB RAM
Can you not just use an image?

If you can, you could use PHP: http://www.rchu.nl/2011/09/creating-a-w ... -with-php/

or just create the image with a program like Audacity.

I've not used the Flash method (importing) as Opus doesn't seem to work well with them - I would just use Adobe Flash if I was going to.


For this message jezjones29 has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 19th, 2013, 4:48 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Thanks for your suggestion.
It's not just one image. I am working on a musicplayer and every mp3 file you open have to show the graphic of that file.
Still trying the SoX option. Not working jet so i can use every help there is.

Kind regards,

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 20th, 2013, 11:18 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
When I get a chance, I'll look at building an example - won't be for a couple of weeks as January is very busy.

Have you got just Sox to work?

Put sox and the DLL above into a folder. Add the MP3 of choice - best with a simple name like mymusicfile.mp3. Then launch Command Prompt (Hold Shift and Right Click on the folder). Enter command given above.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Visable waveform
PostPosted: January 22nd, 2013, 7:53 am 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Thanks Mack,
It works although it remains difficult for me to work with scripts.
But the problem is that I am not 100% of my time can be busy with programming so I'm not really good at scripting and always look to find the right solution.
This Message Board is great to solve a lot of problems.

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 71 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group