# S10 Bonus: Real-Time Call Translation with Heiki Riesenkampf of Commonbase

Published: 2024-10-10
Duration: 1344s
Audio: https://pdst.fm/e/pscrb.fm/rss/p/audio4.redcircle.com/episodes/65724f25-da8a-4998-a31c-5a3dfcf66691/stream.mp3

## Key Takeaways
- Prove It With Off-the-Shelf APIs: The first Commonbase version chained transcription, translation and speech generation, using Twilio, Deepgram, Llama on Groq and ElevenLabs to show simple real-time speech translation was possible.
- Simplify the First Prototype: Heiki built the MVP in Replit to stay scrappy and collaborative. In hindsight, he would have preferred connecting two browser sessions rather than adding the complication of Twilio phone calls.
- Attack Latency With 80/20: Customers always ask about latency. Commonbase improved it and stabilized its infrastructure by cutting networking time and API hops between providers and its servers, without over-engineering.
- Two Lines, One Month: Translation delay grew as calls got longer. After a month of debugging, removing two lines that built an audio buffer fixed it. Heiki's lesson: rubber duck bugs with a fresh set of eyes sooner.
- Own Models, Rented GPUs: Commonbase is fine-tuning its own models and aims to build an end-to-end speech-to-speech model, while relying on cloud providers for GPUs as long as possible instead of building a cluster.

**Real-time call translation with machine learning: Heiki Riesenkampf of Commonbase on letting people speak different languages naturally during phone conversations.**

———

Heiki Riesenkampf is from a tiny country called Estonia, later studying computer science in London and doing his post grad in Zurich. He has been into machine learning since before all of the hype it has now. Outside of technology, he dreams of being a macroeconomist, and spends a ton of time reading about the topic. He lives in New York now, and frequently takes in the architecture, fashion and local art scene.

Previously, Heiki spent time working for a VC, eventually building a product in a completely different domain. After personally realizing that he didn't want to be known for the product he was building, he pivoted towards building something that impacted him personally as an immigrant.

This is the creation story of [Commonbase](https://commonbase.com/).

Sponsors

- [P0 Security](https://p0.dev/)
- [Speakeasy](https://speakeasy.com/codestory)
- [QA Wolf](https://www.qawolf.com/)
- [SnapTrade](https://snaptrade.com/codestory)

Links

- [https://commonbase.com/](https://commonbase.com/)
- [https://www.linkedin.com/in/heikir](https://www.linkedin.com/in/heikir)

  

Timestamps

00:00 – Intro

03:46 – Building the Commonbase MVP

05:16 – MVP Tradeoffs and Tech Debt

06:47 – Shaping the Commonbase Roadmap

08:34 – Building the Commonbase Team

09:50 – Approaching Scalability

12:08 – Proudest Moment

13:52 – A Mistake and Response

15:56 – The Future of Commonbase

18:56 – Influences and Inspiration

20:23 – Advice for Young Entrepreneurs

Times are from the episode recording; ad breaks in your player may shift them a bit later.

  

Read the key answers from this episode, with quotes and timestamps from Heiki Riesenkampf from Commonbase: [https://www.codestory.co/episodes/s10-bonus-the-real-time-language-breakthrough-eliminating-call-center-friction-and-building-future-proof-llm-infrastructure-with-heiki-riesenkampf-founder-of-commonbase/](https://www.codestory.co/episodes/s10-bonus-the-real-time-language-breakthrough-eliminating-call-center-friction-and-building-future-proof-llm-infrastructure-with-heiki-riesenkampf-founder-of-commonbase/)

  
  

Current Sponsors:

- [Tiger Data](https://tigerdata.com/)

- [Protected Harbor](http://protectedharbor.com/codestory)

- [Render](https://render.com/)

- [Fitnexa](https://www.fitnexa.com/)

- [Perplexity](https://pplx.ai/codestory)

- [Entelligence](https://entelligence.ai/)

Checkout our [Substack](https://news.codestory.co/subscribe)

Checkout our [Stacklist!](https://stacks.codestory.co/)

Checkout our [Patreon!](https://www.patreon.com/cw/codestory)

Hosted by  [Noah Labhart.](https://noahlabhart.com/)

  
  
Our Sponsors:  
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai  
* Check out Perplexity: https://pplx.ai/codestory  
  
  
Advertising Inquiries: [https://redcircle.com/brands](https://redcircle.com/brands)  
  
Privacy & Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)

## Chapters
- 0:00 — Intro
- 3:46 — Building the Commonbase MVP
- 5:16 — MVP Tradeoffs and Tech Debt
- 6:47 — Shaping the Commonbase Roadmap
- 8:34 — Building the Commonbase Team
- 9:50 — Approaching Scalability
- 12:08 — Proudest Moment
- 13:52 — A Mistake and Response
- 15:56 — The Future of Commonbase
- 18:56 — Influences and Inspiration
- 20:23 — Advice for Young Entrepreneurs

## Frequently Asked Questions
- **Q:** What is Commonbase? — **A:** Commonbase is a universal speech translator founded by Heiki Riesenkampf to connect people across language and cultural barriers. Heiki describes the mission simply: "We help people speak any language in real time" [02:43]. The idea draws on his own experience as an immigrant adjusting to different languages and cultures.
- **Q:** How does Commonbase's real-time speech translation work? — **A:** Heiki Riesenkampf explained that the initial pipeline transcribes speech into text, then the next step is to "translate the text into another language, and turn the translated text into speech again." [04:27] The early stack used Twilio for phone calls plus third-party services for transcription, translation and speech generation. The team is now fine-tuning its own models for the same pipeline.
- **Q:** How can you reduce latency in real-time speech translation? — **A:** Heiki Riesenkampf's team applied 80/20 analysis to find improvements that did not require too much engineering effort. In his words, they were "trying to reduce the total number of API hops that we need to do" [13:18], along with cutting networking time.
- **Q:** What caused the growing translation delay on longer Commonbase calls? — **A:** An early feature built up an audio buffer of raw call audio so the file could be saved when the call ended. After a month of debugging, Heiki Riesenkampf said, "I just removed two lines of code" [15:03], and the delay disappeared. He believes describing the bug to another engineer would have surfaced it much more easily.
- **Q:** Should a machine learning startup build its own GPU cluster? — **A:** Heiki Riesenkampf thinks it is a waste of time for most machine learning companies, saying, "I don't want to build my own GPU cluster." [11:02] He argues that unless you are training an LLM that costs $10 million or more, you are much better off relying on someone else's infrastructure.
