1. D

    Android Question Library for audio synthesis

    Hi everybody! Thank you Erel for this great thing! I have been using B4A for a long time, and decided to improve some sound synthesis projects. I used AudioTrack library because I need to synthesize sound mathematically - noises and waves as data arrays. It works great so far. But I see a lot...
  2. K

    Share My Creation Mini Synth

    Made a mini synth in B4J to investigate how it works with generated wave visualization. Basically it has two oscillators (osc a and b) to generate signals according to a waveform shape of sine, pulse, saw and random noise and its frequency is determined by the music note being played. Each...
  3. M

    Android Question Save Audio Streamer

    Hi, I use this library to record voice. AudioStreamer Now how to save this voice to to access the remote resource?
  4. H

    Android Code Snippet [B4X] Audio Over MQTT

    Hi everyone, I attached simple example for streaming audio from B4A to B4J over internet using MQTT. Enjoy without limitations of Server/Client problems over internet such as ISP block. You can use this approach to create a lot of things such as Radio station, voice call, etc ...
  5. yo3ggx

    Android Question Using two audio channels at the same time (Bluetooth and USB audio)

    As I'm aware, in Android, when you connect an USB audio device this automatically replace internal audio device, but when a Bluetooth audio headset is connected, you can select between Bluetooth, Speaker or earpiece (as in the Phone app). It is possible to simultaneously use in an application...
  6. HZZ

    Android Question Ideal Background Service Setup

    I am using B4XPages in my project. There is a TTS module which is supposed to play even when screen is turned off. It plays for a while then pauses and resumes only when screen is unlocked ( probably as long as tts queue is clear) So after a lot of forum search - using a service seems to be the...
  7. D

    Android Question ftp upload/dowload mp3 files

    When I upload files to my FTP server, they are uploaded there "broken". Garbage appears instead of the expected audio track. Is this a problem with the server itself or am I doing something wrong? files are mp3 audio messages that I record using the VoiceRecording library I would be glad for...
  8. D

    Android Question Cross platform chat layout audio messages

    Hello everyone, I am developing a chat that should support audio messages. But I can't imagine how to implement them in this code (seekbar instead of text). I did not find anything similar on the forum, perhaps someone has already implemented such functionality or can help me with advice Used...
  9. S

    B4A Class Class media

    Hi, An easy way to take/record/choose photo/video/audio with this small class (clMedia.bas). No permission needed It uses intents to call default app. 3 constants for media type cPhoto = 0 cVideo=1 cAudio=2 2 constants for origin cNew=0 cChoose=1 1 method to call with 2 parameters (media...
  10. moty22

    Share My Creation Audio Sine Generator

    Sine wave generator for PC, output from the sound card. I used audioTrack lib, thank you @stevel05, The code writes repeatedly an array of 36 samples of a sine wave to the sound card. The frequency is determent by the...
  11. rleiman

    Android Question [Solved} - Fighting back against Samsung's battery management?

    Greetings, I'm using an unusual title to this thread because we are having a problem with Samsung S10 devices running Android 11. We are not sure if the problem is with Samsung or Android 11 or a combination of both, but it's causing many of our customers to complain that audio on existing...
  12. moty22

    Share My Creation SD Sound Recorder

    A sound recorder and playback for Arduino Uno or Nano with ATMEGA328P device using SD card. The card is initialized by the rSD lib and then the code reset the ATMEGA SPI to the code settings. The code uses commands for multi sector reading and writing that don't exist in the rSD library. The...
  13. S

    Share My Creation Folder based Music and Video Player

    Because I dont find an easy to use Folderplayer in the GooglePlayStore I have written my own. You can see and download the Player at The main functions are: ► Play audio and video files ► folder structure ► Sort...
  14. K

    B4J Tutorial Karplus-Strong algorithm to synth a plucked guitar string sound

    Not a tutorial exactly but a fast prototyping for basic Karplus-Strong algorithm realized by B4J and would like to share with someone who is interested. I want to make my GuitarRhythm app using synth guitar sound as an option along with sampled guitar sound so I found this: "The Karplus-Strong...
  15. Guenter Becker

    B4A Library BeeperDeLuxe

    Version: 1.0 ------------------------ BeeperDeLuxe is a B4A Lib. Features: sound a beep tone vibrate the phone sound and vibrate sound intermitting alarmtone Properties: DurationMillisecond: the duration of the sound, vibration or alarm. To use you need to implement libs as followes: core...
  16. K

    Share My Creation Guitar Rhythm

    I would like to share a prototype of my first B4A app GuitarRhythm and I would appreciate very much if you are interested to try and leave suggestions. The idea is to arrange bars with chords and rhythm patterns to play with as a background accompanying tool or to test chord progression. I knew...
  17. moty22

    Share My Creation Doorbell using I2C EEPROM

    A doorbell for Arduino Uno or Nano interfacing EEPROM with I2C. The EEPROM 24C512 is 512Kbits and it can store up to 3 seconds wave file of 22.050KHz, 8 bits, mono. The Arduino reads the ROM bytes in a sequential read mode and stream each byte to the PWM generator at a rate of 22 KHz. The I2C...
  18. moty22

    Share My Creation Microphone oscilloscope

    Low frequency oscilloscope. The bandwidth is about 30 to 5000 Hz, the narrow bandwidth and input filter makes the use limited. The mic ADC sends packets of 2048 bytes and 60 bytes are used to draw the trace. Input is to the microphone socket. Input voltage divider allows signals of 5V P-P...
  19. pauleffect

    Android Question [USB AUDIO CLASS]

    Hello. I have a usb headset (mic + headphones). I'd like to use the usb library to connect to the headset directly. Kinda like a USB Sniffer. Is it possible to open a device in shared access mode and see the traffic it generates? I'm interested in "sniffing" the isochronous endpoints.
  20. A

    Android Question take time from a wav file

    I need use the time of wav file to create a sequence of audios. Is there a code that allows me to obtain and use this information?