File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 2626 * @property  {string } [model] 
2727 * @property  {string[] } [modalities] 
2828 * @property  {string } [instructions] 
29-  * @property  {"alloy"|"shimmer "|"echo" } [voice] 
29+  * @property  {"alloy"|"ash "|"ballad"|"coral"|" echo"|"sage"|"shimmer"|"verse " } [voice] 
3030 * @property  {AudioFormatType } [input_audio_format] 
3131 * @property  {AudioFormatType } [output_audio_format] 
3232 * @property  {AudioTranscriptionType|null } [input_audio_transcription] 
@@ -336,7 +336,8 @@ export type SessionResourceType = {
336336    model ?: string ; 
337337    modalities ?: string [ ] ; 
338338    instructions ?: string ; 
339-     voice ?: "alloy"  |  "shimmer"  |  "echo" ; 
339+     voice ?: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse" ; 
340+ 
340341    input_audio_format ?: AudioFormatType ; 
341342    output_audio_format ?: AudioFormatType ; 
342343    input_audio_transcription ?: AudioTranscriptionType  |  null ; 
@@ -456,4 +457,4 @@ export type ResponseResourceType = {
456457import  {  RealtimeEventHandler  }  from  './event_handler.js' ; 
457458import  {  RealtimeAPI  }  from  './api.js' ; 
458459import  {  RealtimeConversation  }  from  './conversation.js' ; 
459- //# sourceMappingURL=client.d.ts.map 
460+ //# sourceMappingURL=client.d.ts.map 
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import { RealtimeUtils } from './utils.js';
3535 * @property  {string } [model] 
3636 * @property  {string[] } [modalities] 
3737 * @property  {string } [instructions] 
38-  * @property  {"alloy"|"shimmer "|"echo" } [voice] 
38+  * @property  {"alloy"|"ash "|"ballad"|"coral"|" echo"|"sage"|"shimmer"|"verse " } [voice] 
3939 * @property  {AudioFormatType } [input_audio_format] 
4040 * @property  {AudioFormatType } [output_audio_format] 
4141 * @property  {AudioTranscriptionType|null } [input_audio_transcription] 
@@ -196,7 +196,7 @@ export class RealtimeClient extends RealtimeEventHandler {
196196    this . defaultSessionConfig  =  { 
197197      modalities : [ 'text' ,  'audio' ] , 
198198      instructions : '' , 
199-       voice : 'alloy ' , 
199+       voice : 'verse ' , 
200200      input_audio_format : 'pcm16' , 
201201      output_audio_format : 'pcm16' , 
202202      input_audio_transcription : null , 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments