Jump to content

Used Affinity Photo to sonify a picture of a hand drawn waveform


Waveluke
 Share

Recommended Posts

I found a random waveform hand drawn on the internet, downloaded it, cleaned it up in Affinity Photo, and actually sonified it, by using the photo as a mask for a rainbow gradient.  Then used an imagemagick command to convert to hsl colorspace and resize to one pixel high, and voila, the hue channel level value matches perfectly to the height of the waveform, and you can then use it to get actual sound when importing to Audacity as raw data.  Timelapse video with final result heard at end:

Link to comment
Share on other sites

Welcome to the Serif Affinity forums.

I don't think your video uploaded successfully.

-- Walt

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.4.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

Link to comment
Share on other sites

33 minutes ago, Waveluke said:

Is this forum supposed to be able to handle h.265 media?

I'm not sure. I at least see something that is playable in Firefox on Windows, but when I play it there's nothing to see/hear. Earlier on my iPad, using Safari, there was something but it wasn't playable at all.

I don't know if it would be a forum limitation, or an OS and/or browser limitation. Is h.265 commonly supported on iPad, Windows, and Mac, without having to install additional codecs?

-- Walt

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.4.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

Link to comment
Share on other sites

10 hours ago, walt.farrell said:

Is h.265 commonly supported on iPad, Windows, and Mac, without having to install additional codecs?

Doesn't seem to like getting played back by browsers, but in a lot of different social media, loading works fine.  Kind of a shame, as h.265 is much more efficient.  I'll try the other h.264 file for it, though bigger.

Link to comment
Share on other sites

4 hours ago, Waveluke said:

Doesn't look like I can edit my post...

New users can only edit their posts for a limited time. This is to thwart the common spamming technique of posting something innocuous, leaving it for a few days and then editing it to introduce spam links.

Alfred spacer.png
Affinity Designer/Photo/Publisher for Windows 1.10 • Windows 10 Home/Pro
Affinity Photo for iPad 1.10 • Designer for iPad 1.10 • iPadOS 15.6 (iPad Air 2)

Link to comment
Share on other sites

5 hours ago, Waveluke said:

but in a lot of different social media, loading works fine.

Which social media sites are those? Are they transcoding your h265 into something else for compatibility?

My Chrome browser didn't play the video although I heard the sounds towards the end, however, the downloaded file played properly in VLC

Microsoft Windows 10 Home, Intel i7-9750H CPU @ 2.60GHz, 16 GB RAM, 500GB SSD, 1TB Whirlygig, NVIDIA GeForce RTX 2060
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Link to comment
Share on other sites

iMac 27" Late 2019 Fully Loaded, iMac 27" Late 2013 both running Catalina 10.15.7 - Affinity Designer, Photo & Publisher, Adobe, Inkscape, Blender, C4D, Sketchup, Pepakura Designer + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

I get a bit of sound after about 1:30, @firstdefence, but none of the video. Downloading it, though, I can see the video, too. Thanks for the hint about downloading, @David in Яuislip.

-- Walt

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.4.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

Link to comment
Share on other sites

Hi Waveluke

I dont know about the technicalities, but this is fascinating.
A few days ago I saw a video about generating sounds from psd files. Also very unusual.
DRO moto: NIKAKOI Creating a Track Using a Photoshop File

 

On 11/5/2021 at 3:37 AM, Waveluke said:

Then used an imagemagick command to convert to hsl colorspace

Dont know if this will work with your workflow but you can convert to HSL inside A. Photo. But you need the GMIC plugin.

decompose.png.08dc40417453c649756e58b5c89703b4.png

You have to check "Output Multiple Layers"

Link to comment
Share on other sites

  • 3 weeks later...
On 11/6/2021 at 9:02 AM, Lisbon said:

Dont know if this will work with your workflow but you can convert to HSL inside A. Photo. But you need the GMIC plugin.

That's actually a good tip, forgot about the recent G'mic 8bf conversion, will have to give that a go.  I do need to use an Imagemagick command anyway, as the uncompressed tiff out of Imagemagick works better with the raw data import in Audacity than the Affinity Photo uncompressed tiff.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.