Author Topic: QB64 REPORT S01E05: "Images and Sounds"  (Read 3943 times)

0 Members and 1 Guest are viewing this topic.

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

FellippeHeitor

  • Guest
QB64 REPORT S01E05: "Images and Sounds"
« on: July 30, 2020, 12:47:36 am »
In this episode you'll hear about the QB64 commands used to load and display images and also to load and play audio files.


This is a hybrid episode. Here's the link to the YouTube companion video, which showcases the techniques being discussed:


Relevant wiki links:
http://www.qb64.org/wiki/LOADIMAGE
http://www.qb64.org/wiki/PUTIMAGE
http://www.qb64.org/wiki/GIF_Images
http://www.qb64.org/wiki/SNDOPEN
http://www.qb64.org/wiki/SNDPLAY
http://www.qb64.org/wiki/SNDPLAYCOPY

You're Perfect Studio Media Assets:
https://www.youreperfect.studio/store/media-assets
« Last Edit: July 30, 2020, 01:07:08 am by FellippeHeitor »

Offline OldMoses

  • Seasoned Forum Regular
  • Posts: 469
    • View Profile
Re: QB64 REPORT S01E05: "Images and Sounds"
« Reply #1 on: July 30, 2020, 07:51:43 am »
It's really helpful to see these things done video tutorial style. Thank you. Eagerly awaiting new topics.

FellippeHeitor

  • Guest
Re: QB64 REPORT S01E05: "Images and Sounds"
« Reply #2 on: July 30, 2020, 09:07:47 am »
Thank you, @OldMoses! Glad you enjoy it.

Marked as best answer by on Today at 07:23:24 pm

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: QB64 REPORT S01E05: "Images and Sounds"
« Reply #3 on: July 30, 2020, 11:21:44 am »
  • Undo Best Answer
  • Well I learned something.  I've been totally ignorant of _SNDPLAYCOPY.  I should have used that in my drummachine instead of _SNDPLAY which clips the instrument sounds when playing them close together. _SNDPLAYCOPY will make them (especially the cymbals) sound natural playing.  I'm going to update the drummachine right now.

    Thanks for all that you do for the QB64 community, Fellippe.

    - Dav

    FellippeHeitor

    • Guest
    Re: QB64 REPORT S01E05: "Images and Sounds"
    « Reply #4 on: July 30, 2020, 11:22:57 am »
    Thanks, Dav!

    Looking forward to the updated version of the drum machine ;-)

    Offline wiggins

    • Newbie
    • Posts: 34
      • View Profile
    Re: QB64 REPORT S01E05: "Images and Sounds"
    « Reply #5 on: August 03, 2020, 05:22:33 pm »
    Very helpful tutorial.  I really learned a lot....


    Offline Dimster

    • Forum Resident
    • Posts: 500
      • View Profile
    Re: QB64 REPORT S01E05: "Images and Sounds"
    « Reply #6 on: August 04, 2020, 07:45:37 pm »
    Thanks Fellippe - I have shied away from images and sound but they seems a lot easier to handle in a program then I thought they were. However, I must admit, a variable name of "pew&" had me thinking there would be an odour generated. Ah, the smell of a dank, damp dungeon.