Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio widget #648

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
7adfea5
Initial WIP
andybak Sep 10, 2023
96b13e4
Panel is mostly working. Widgets are created.
andybak Sep 11, 2023
0eeec51
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Sep 12, 2023
33e3bc5
wip
andybak Sep 14, 2023
094d676
Initial save/load support WIP
andybak Sep 28, 2023
6addb65
Fix saving
andybak Sep 30, 2023
f66ae45
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Oct 24, 2023
5dcfbfc
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Nov 23, 2023
f4c7731
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Nov 29, 2023
99eeab4
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Dec 7, 2023
5bc3f31
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Dec 7, 2023
92ea0d9
Switch to using regular Unity Audio Source
andybak Dec 7, 2023
d69ed99
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Dec 20, 2023
8bce9af
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Jan 1, 2024
e4d601c
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Feb 28, 2024
15d69e0
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Mar 5, 2024
ecb1ecf
Merge branch 'main' into feature/audio-widget
andybak Mar 10, 2024
b009637
Remove broken custom drawer and fix corrupted value
andybak Mar 10, 2024
47fb115
The initial clip is playing at least...
andybak Mar 10, 2024
b67e917
Handle most supported audio formats.
andybak Mar 10, 2024
a9f0c66
Save play state properly.
andybak Mar 10, 2024
514c31f
Visual tweaks to sound widget
andybak Mar 11, 2024
795afc0
Merge branch 'main' into feature/audio-widget
andybak Mar 11, 2024
8712b5d
dotnet-format
andybak Apr 3, 2024
cbedfc4
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Apr 3, 2024
738090e
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Apr 7, 2024
98c4505
Merge remote-tracking branch 'upstream/main' into feature/audio-widget
andybak Apr 27, 2024
83b7d13
Merge remote-tracking branch 'origin/main' into feature/audio-widget
andybak May 2, 2024
c29954f
Merge remote-tracking branch 'origin/main' into feature/audio-widget
andybak May 3, 2024
c00daff
Post-merge fixes
andybak May 4, 2024
3226029
Merge remote-tracking branch 'origin/main' into feature/audio-widget
andybak May 19, 2024
e85604a
Merge remote-tracking branch 'origin/main' into feature/audio-widget
andybak Sep 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions Assets/Materials/SoundClipWidget.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: SoundClipWidget
m_Shader: {fileID: 4800000, guid: 7316425f699fd1d459c40d7e089fa760, type: 3}
m_ValidKeywords: []
m_InvalidKeywords:
- _ALPHATEST_ON
- _LIGHTMAPPING_DYNAMIC_LIGHTMAPS
- _UVSEC_UV1
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 32c1b6205fdb5af4996e2a51c4df9eb7, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Occlusion:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints:
- _Cull: 2
m_Floats:
- _AlphaTestRef: 0.5
- _Aspect: 1
- _BumpScale: 1
- _CullMode: 0
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EmissionScaleUI: 1
- _Glossiness: 0
- _Grayscale: 0
- _Lightmapping: 1
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0.99999994}
- _EmissionColorUI: {r: 0, g: 0, b: 0, a: 1}
- _EmissionColorWithMapUI: {r: 1, g: 1, b: 1, a: 1}
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
- _SpecularColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_BuildTextureStacks: []
8 changes: 8 additions & 0 deletions Assets/Materials/SoundClipWidget.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading