Sound3D - MultiChannel, Frequency and Direction for Listener

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
STARGÅTE
Addict
Addict
Posts: 2231
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Sound3D - MultiChannel, Frequency and Direction for Listener

Post by STARGÅTE »

It would be nice if the following features are added:
  • Channel = PlaySound3D() with #PB_Sound3D_MultiChannel
  • SoundVolume3D() and StopSound3D() with channel parameter
  • add SoundFrequency3D() like SoundFrequency()
  • direction for SoundListenerLocate or SoundListenerDirection,
    so that the sound at the turn, comes from the right direction.
  • 5.1 Support
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
User avatar
bobobo
Enthusiast
Enthusiast
Posts: 206
Joined: Mon Jun 09, 2003 8:30 am

Re: Sound3D - MultiChannel, Frequency and Direction for List

Post by bobobo »

push :)

Listenerdirection (and support for actual pb-Versions) seems
to be mandatory for a working 3d-sound , i think
사십 둘 .
miso
Enthusiast
Enthusiast
Posts: 466
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: Sound3D - MultiChannel, Frequency and Direction for Listener

Post by miso »

+1

Rotatelistener()
Catch3dsound() (generated sounds must be saved to disk and load them back at the moment)
#PB_Sound3D_MultiChannel (Some kind of instancing would be nice)
User avatar
idle
Always Here
Always Here
Posts: 5891
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Sound3D - MultiChannel, Frequency and Direction for Listener

Post by idle »

don't know about 5.1 surround but miniaudio has spacialization, direction doppler and pan
viewtopic.php?t=83822
miso
Enthusiast
Enthusiast
Posts: 466
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: Sound3D - MultiChannel, Frequency and Direction for Listener

Post by miso »

Thank you Idle.

My post here more like an improvement suggestion, than a request. Sound3d is some kind of ogre feature, Don't know what changed with the upgrade.
(the old was very limited) I'm aware (and agree) if this won't take first place in any priority list.
Post Reply