Skip to content

Commit d6b064b

Browse files
committed
More sample #2 work
1 parent e34073f commit d6b064b

File tree

62 files changed

+5741
-2036
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

+5741
-2036
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio Version 17
3-
VisualStudioVersion = 17.14.36301.6 d17.14
3+
VisualStudioVersion = 17.14.36301.6
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{ECC730C1-4AEA-420C-916A-66B19B79E4DC}"
66
EndProject
@@ -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
@@ -32,6 +34,10 @@ Global
3234
{4F423188-2AE3-CB57-5BE2-808B33B8B5AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
3335
{4F423188-2AE3-CB57-5BE2-808B33B8B5AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
3436
{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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class AudioProcessor : IDisposable
2121
private readonly ILogger<AudioProcessor> _logger;
2222

2323
// Audio configuration - PCM16, 24kHz, mono as specified
24-
private const int SampleRate = 16000;
24+
private const int SampleRate = 24000;
2525
private const int Channels = 1;
2626
private const int BitsPerSample = 16;
2727

@@ -374,4 +374,4 @@ public void Dispose()
374374
CleanupAsync().GetAwaiter().GetResult();
375375
_cancellationTokenSource.Dispose();
376376
}
377-
}
377+
}
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)