Great text to wavetable in Vital

One of the nice inclusions in the new Vital synth is a text to wavetable generator, which works well with Sonic Pi.
vital details here

5 Likes

I have posted this already, but then Vital was not yet released: Whoever wants get some overview about this synth might want to watch Sonoj 2019: Vital.

Thanks Martin Nice video. I must say it is a very versatile synth. I’m enjoying using it.

1 Like

Cool @robin !
@robin strikes again !
is the free version is enough to get some fun with that wavetable synth ?
your code is available somewhere to play with it ? If you want to of course.
best regards

1 Like

I think you need a paid for version to generate your own text to wave, as it uses a paid for google api to generate them (hence the need for a working internet connection). I think the Plus version I think you have a limit of 5 generations per day and it is unlimited in the pro version. Of course you can upload and use existing wavetables in any version.

The code I used for the video is below. You can download a copy of my preset (including the wavetable) here

#Vital "text to wave" driven by Sonic Pi by Robin Newman
midi_all_notes_off
#stop
set :kill,false #flag controls program finish
live_audio :vital,:stop #stop and start fresh live_audio
sleep 0.5
live_audio :vital,amp: 12 #boost incoming signal
at 21 do #set up finish time
  set :kill,true
end
sleep 0.5 #allow live_audio to set up
use_midi_defaults channel: 1
#sequence of chords to play
n1=[:cs3,:ds3,:fs3,:gs3,:as3]
n2=[:cs4,:ds3,:fs3,:gs3,:as3]
n3=[:cs3,:ds3,:fs4,:gs3,:as3]
n4=[:cs3,:gs3,:cs4,:f4]
n=[n1,n2,n3,n4] #chord sequence in a list
live_loop :tester do
  use_real_time
  t=[1.95,0.42].choose  #select just vital or whole phrase
  ch=n.tick #get next chord
  ch.each do |nt| #play notes in chord
    midi nt,sustain: t
  end
  in_thread do #play drum roll synced to chord
    k=sample :drum_roll,amp: 3
    sleep 0.9*t
    control k,amp: 0,amp_slide: 0.05 #fade out
    sleep 0.05
    kill k #kill sample
  end
  sleep t #sleep for duration of vital or whole phrase
  stop if get(:kill) and ch==n4 #stop when n4 next completed
end

You have to loopback the audio from Vital into Sonic Pi live_audio.

ok thanks @robin.newman for sharing and your details. Not sure i will explore this synth myself or maybe one day who knows.
cheers and it’s always a pleasure to read your “trouvailles” (finds in english) !