Csound Csound-dev Csound-tekno Search About

YouTube rendering script for sound files

Date2016-12-24 18:01
FromDave Seidel
SubjectYouTube rendering script for sound files
Hi all,

Recently, Mike Gogins posted a cool Python script to the dev list. This script takes a sound file, generates a spectrogram from it, and then creates an MP4 video consisting of the static spectrogram image and the sound file. The result is suitable for posting to YouTube.

I decide to generalize Mike's script and make it work on my Linux box. Note that it is presently tested only on Linux Mint but should be fine on Ubuntu and Debian and probably other Linux distros. You must have both sox and ffmpeg installed (and Python, or course). The result is here:


Bug reports and commen are welcome, as are pull requests.

- Dave 
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-24 18:10
FromDave Seidel
SubjectRe: YouTube rendering script for sound files
Here's an example I just uploaded: https://www.youtube.com/watch?v=_XQ9uHGXiOo

On Sat, Dec 24, 2016 at 1:01 PM, Dave Seidel <dave.seidel@gmail.com> wrote:
Hi all,

Recently, Mike Gogins posted a cool Python script to the dev list. This script takes a sound file, generates a spectrogram from it, and then creates an MP4 video consisting of the static spectrogram image and the sound file. The result is suitable for posting to YouTube.

I decide to generalize Mike's script and make it work on my Linux box. Note that it is presently tested only on Linux Mint but should be fine on Ubuntu and Debian and probably other Linux distros. You must have both sox and ffmpeg installed (and Python, or course). The result is here:


Bug reports and commen are welcome, as are pull requests.

- Dave 

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-24 18:13
FromJustin Smith
SubjectRe: YouTube rendering script for sound files
regarding the content of the video - nice! remarkably similar to a spectral manipulation experiment from yesterday I was just listening too (I used live viola and the pvs opcodes) http://noisesmith.org/noise/spectral-manipulations.mp3

On Sat, Dec 24, 2016 at 10:10 AM Dave Seidel <dave.seidel@gmail.com> wrote:
Here's an example I just uploaded: https://www.youtube.com/watch?v=_XQ9uHGXiOo

On Sat, Dec 24, 2016 at 1:01 PM, Dave Seidel <dave.seidel@gmail.com> wrote:
Hi all,

Recently, Mike Gogins posted a cool Python script to the dev list. This script takes a sound file, generates a spectrogram from it, and then creates an MP4 video consisting of the static spectrogram image and the sound file. The result is suitable for posting to YouTube.

I decide to generalize Mike's script and make it work on my Linux box. Note that it is presently tested only on Linux Mint but should be fine on Ubuntu and Debian and probably other Linux distros. You must have both sox and ffmpeg installed (and Python, or course). The result is here:


Bug reports and commen are welcome, as are pull requests.

- Dave 

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-24 18:20
FromDave Seidel
SubjectRe: YouTube rendering script for sound files
Yes, using a spectrogram was Mike Gogins' idea, and I think a very good one. I alway spend a lot of time with Audacity's spectrogram view when I'm working on a piece.

On Sat, Dec 24, 2016 at 1:13 PM, Justin Smith <noisesmith@gmail.com> wrote:
regarding the content of the video - nice! remarkably similar to a spectral manipulation experiment from yesterday I was just listening too (I used live viola and the pvs opcodes) http://noisesmith.org/noise/spectral-manipulations.mp3

On Sat, Dec 24, 2016 at 10:10 AM Dave Seidel <dave.seidel@gmail.com> wrote:
Here's an example I just uploaded: https://www.youtube.com/watch?v=_XQ9uHGXiOo

On Sat, Dec 24, 2016 at 1:01 PM, Dave Seidel <dave.seidel@gmail.com> wrote:
Hi all,

Recently, Mike Gogins posted a cool Python script to the dev list. This script takes a sound file, generates a spectrogram from it, and then creates an MP4 video consisting of the static spectrogram image and the sound file. The result is suitable for posting to YouTube.

I decide to generalize Mike's script and make it work on my Linux box. Note that it is presently tested only on Linux Mint but should be fine on Ubuntu and Debian and probably other Linux distros. You must have both sox and ffmpeg installed (and Python, or course). The result is here:


Bug reports and commen are welcome, as are pull requests.

- Dave 

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-26 02:47
FromDave Phillips
SubjectRe: YouTube rendering script for sound files
Hi Dave,

On 12/24/2016 01:01 PM, Dave Seidel wrote:
Hi all,

Recently, Mike Gogins posted a cool Python script to the dev list. This script takes a sound file, generates a spectrogram from it, and then creates an MP4 video consisting of the static spectrogram image and the sound file. The result is suitable for posting to YouTube.

I decide to generalize Mike's script and make it work on my Linux box. Note that it is presently tested only on Linux Mint but should be fine on Ubuntu and Debian and probably other Linux distros. You must have both sox and ffmpeg installed (and Python, or course). The result is here:


Bug reports and commen are welcome, as are pull requests.


Tested here on Christmas Day. Worked pretty well, results can be seen & heard at :

https://www.youtube.com/watch?v=kmXKztQX73E&t=41s

Best,

dp


Date2016-12-26 14:11
FromDave Seidel
SubjectRe: YouTube rendering script for sound files
Glad you found it useful, Dave. I updated the script yesterday to make it more flexible and improve the metadata, now at version 1.1.

- Dave

On Sun, Dec 25, 2016 at 9:47 PM, Dave Phillips <dlphillips@woh.rr.com> wrote:
Hi Dave,

On 12/24/2016 01:01 PM, Dave Seidel wrote:
Hi all,

Recently, Mike Gogins posted a cool Python script to the dev list. This script takes a sound file, generates a spectrogram from it, and then creates an MP4 video consisting of the static spectrogram image and the sound file. The result is suitable for posting to YouTube.

I decide to generalize Mike's script and make it work on my Linux box. Note that it is presently tested only on Linux Mint but should be fine on Ubuntu and Debian and probably other Linux distros. You must have both sox and ffmpeg installed (and Python, or course). The result is here:


Bug reports and commen are welcome, as are pull requests.


Tested here on Christmas Day. Worked pretty well, results can be seen & heard at :

https://www.youtube.com/watch?v=kmXKztQX73E&t=41s

Best,

dp

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here