Skip to content

Commit 700648f

Browse files
committed
More sample #2 work
1 parent 30344e8 commit 700648f

File tree

62 files changed

+6391
-2112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+6391
-2112
lines changed

sdk/ai/Azure.AI.VoiceLive/Azure.AI.VoiceLive.sln

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.AI.VoiceLive.Tests",
1010
EndProject
1111
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BasicVoiceAssistant", "samples\BasicVoiceAssistant\BasicVoiceAssistant.csproj", "{4F423188-2AE3-CB57-5BE2-808B33B8B5AB}"
1212
EndProject
13+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomerServiceBot", "samples\CustomerServiceBot\CustomerServiceBot.csproj", "{0821FA24-C459-5CC2-DB1B-2F755A9B3148}"
14+
EndProject
1315
Global
1416
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1517
Debug|Any CPU = Debug|Any CPU
@@ -28,10 +30,14 @@ Global
2830
{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.Build.0 = Debug|Any CPU
2931
{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.ActiveCfg = Release|Any CPU
3032
{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.Build.0 = Release|Any CPU
31-
{C4593C0B-D995-3C0E-2B84-AE24A0B02506}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32-
{C4593C0B-D995-3C0E-2B84-AE24A0B02506}.Debug|Any CPU.Build.0 = Debug|Any CPU
33-
{C4593C0B-D995-3C0E-2B84-AE24A0B02506}.Release|Any CPU.ActiveCfg = Release|Any CPU
34-
{C4593C0B-D995-3C0E-2B84-AE24A0B02506}.Release|Any CPU.Build.0 = Release|Any CPU
33+
{4F423188-2AE3-CB57-5BE2-808B33B8B5AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34+
{4F423188-2AE3-CB57-5BE2-808B33B8B5AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
35+
{4F423188-2AE3-CB57-5BE2-808B33B8B5AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{4F423188-2AE3-CB57-5BE2-808B33B8B5AB}.Release|Any CPU.Build.0 = Release|Any CPU
37+
{0821FA24-C459-5CC2-DB1B-2F755A9B3148}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38+
{0821FA24-C459-5CC2-DB1B-2F755A9B3148}.Debug|Any CPU.Build.0 = Debug|Any CPU
39+
{0821FA24-C459-5CC2-DB1B-2F755A9B3148}.Release|Any CPU.ActiveCfg = Release|Any CPU
40+
{0821FA24-C459-5CC2-DB1B-2F755A9B3148}.Release|Any CPU.Build.0 = Release|Any CPU
3541
EndGlobalSection
3642
GlobalSection(SolutionProperties) = preSolution
3743
HideSolutionNode = FALSE

sdk/ai/Azure.AI.VoiceLive/samples/BasicVoiceAssistant/AudioProcessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class AudioProcessor : IDisposable
3030
private readonly ILogger<AudioProcessor> _logger;
3131

3232
// Audio configuration - PCM16, 24kHz, mono as specified
33-
private const int SampleRate = 16000;
33+
private const int SampleRate = 24000;
3434
private const int Channels = 1;
3535
private const int BitsPerSample = 16;
3636

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
##
4+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5+
6+
# User-specific files
7+
*.rsuser
8+
*.suo
9+
*.user
10+
*.userosscache
11+
*.sln.docstates
12+
launchsettings.json
13+
14+
# Build results
15+
[Dd]ebug/
16+
[Dd]ebugPublic/
17+
[Rr]elease/
18+
[Rr]eleases/
19+
x64/
20+
x86/
21+
[Ww][Ii][Nn]32/
22+
[Aa][Rr][Mm]/
23+
[Aa][Rr][Mm]64/
24+
bld/
25+
[Bb]in/
26+
[Oo]bj/
27+
[Ll]og/
28+
[Ll]ogs/
29+
30+
# Visual Studio 2015/2017 cache/options directory
31+
.vs/
32+
33+
# ASP.NET Scaffolding
34+
ScaffoldingReadMe.txt
35+
36+
# .NET Core
37+
project.lock.json
38+
project.fragment.lock.json
39+
artifacts/
40+
41+
# MSTest test Results
42+
[Tt]est[Rr]esult*/
43+
[Bb]uild[Ll]og.*
44+
45+
# NUnit
46+
*.VisualState.xml
47+
TestResult.xml
48+
nunit-*.xml
49+
50+
# Configuration files with secrets
51+
appsettings.json
52+
!appsettings.template.json
53+
54+
# IDE files
55+
.vscode/
56+
.idea/
57+
58+
# OS generated files
59+
.DS_Store
60+
.DS_Store?
61+
._*
62+
.Spotlight-V100
63+
.Trashes
64+
ehthumbs.db
65+
Thumbs.db

0 commit comments

Comments
 (0)