Skip to content

Instantly share code, notes, and snippets.

View dvonthenen's full-sized avatar
🏖️
LBC Livin'

David vonThenen dvonthenen

🏖️
LBC Livin'
View GitHub Profile
@dvonthenen
dvonthenen / main.go
Created April 23, 2024 16:35
[Go] Playground TTS
I dont know exactly how the mapping is done from the Checkboxes to the Options for the TTS,
but the Schema/Options class can be found here:
https://github.com/deepgram/deepgram-go-sdk/blob/main/pkg/client/interfaces/types-speak.go#L14
@dvonthenen
dvonthenen / main.go
Last active April 23, 2024 16:35
[Go] Playground STT
I dont know exactly how the mapping is done from the Checkboxes to the Options for the STT,
but the Schema/Options class can be found here:
https://github.com/deepgram/deepgram-go-sdk/blob/main/pkg/client/interfaces/types-prerecorded.go#L14
@dvonthenen
dvonthenen / Program.cs
Last active April 23, 2024 16:31
[.NET] Playground TTS for v4
using Deepgram;
using Deepgram.Models.Speak.v1;
using Deepgram.Logger;
namespace SampleApp
{
class Program
{
static async Task Main(string[] args)
{
@dvonthenen
dvonthenen / Program.cs
Last active April 23, 2024 16:31
[.NET] Playground STT for v4
using System.Text.Json;
using Deepgram.Models.PreRecorded.v1;
namespace PreRecorded
{
class Program
{
static async Task Main(string[] args)
{
@dvonthenen
dvonthenen / Program.cs
Created April 16, 2024 17:20
[.NET] Code tutorial: Transcribe streaming audio
using Deepgram.Models.Live.v1;
using Deepgram.Logger;
using System.Net.WebSockets;
namespace SampleApp
{
class Program
{
static async Task Main(string[] args)
{
@dvonthenen
dvonthenen / main.go
Created April 3, 2024 17:26
[Go] Code tutorial: Transcribe streaming audio
Step 1:
Configure a Go 1.19 environment (or greater) development environment. Using your terminal, find a location on your drive and/or make a directory where you want to create the project.
Step 2:
Create your project by runnning: go mod init myapp
Step 3: Same
Step 4: Same
Step 5: Please main.go file below
@dvonthenen
dvonthenen / main.go
Created April 3, 2024 17:22
[Go] Code tutorial: Transcribe pre-recorded audio
Step 1:
Configure a Go 1.19 environment (or greater) development environment. Using your terminal, find a location on your drive and/or make a directory where you want to create the project.
Step 2:
Create your project by runnning: go mod init myapp
Step 3: Same
Step 4: Same
Step 5: Please main.go file below
@dvonthenen
dvonthenen / program.cs
Last active April 9, 2024 18:55
[.NET v4] Code tutorial: Transcribe pre-recorded audio
Step 1: Is the same
Step 2: Is the same
Step 3: Same
Step 4: Same
Step 5: Please see program.cs below
Step 6: Same
Step 7: Same