• Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    Java
  • Created over 11 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Android Signal Generator

Logo Signal Generator .github/workflows/main.yml Release

Get it on F-Droid

A signal generator for Android. The app can be downloaded from F-Droid and here.

  • Frequency range 0.1Hz - 25KHz
  • Level range 0dB - -80dB
  • Set exact frequency
  • Frequency bookmarks
  • Square wave duty cycle
  • Shortcut
  • External control

Using

The frequency knob responds to finger twirling. The duty cycle, fine frequency and level sliders allow for adjustments of square wave duty cycle, fine frequency and output level. The frequency knob is also adjustable using the left and right arrow buttons above. The two bookmark buttons below the frequency knob show if there are bookmarks, and will go to the next lower or higher bookmark if it exists.

The toolbar items are, from left to right:

  • Exact - Prompt for an exact frequency
  • Bookmark - Save the current frequency as a bookmark
  • Sleep - Prevent the device from sleeping

To remove a bookmark, go to it and touch the toolbar bookmark button.

Shortcut

A shortcut may be created to set the parameters shown below. Empty frequency, duty cycle and level values and unchecked waveform values will not be included. The mute value will always be included. The name of the shortcut will be composed from the set values if the name field is empty.

External Control

The app may be started, the frequency, level, duty cycle, waveform and mute set externally by sending a suitable Intent from an automation app. The app package/activity is org.billthefarmer.siggen/org.billthefarmer.siggen.Main. The parameters may be:

Parameter Action/Category/Extra Type Value
Action android.intent.action.MAIN
android.intent.action.DEFAULT
Category android.intent.category.LAUNCHER
android.intent.category.DEFAULT
Extras org.billthefarmer.siggen.SET_FREQ int, float 0.1 – 25000
org.billthefarmer.siggen.SET_LEVEL int, float -80 – 0
org.billthefarmer.siggen.SET_DUTY int, float 0 – 100
org.billthefarmer.siggen.SET_WAVE int 0 = Sine
1 = Square
2 = Sawtooth
org.billthefarmer.siggen.SET_MUTE boolean true, false

Any combination of extras or none may be sent. Subsequent intents sent will update the values from the included extras.

This may be tested using the Android Debug Bridge.

$ adb shell am start --ef org.billthefarmer.siggen.SET_FREQ 257.3 --ef org.billthefarmer.siggen.SET_LEVEL -25.2 org.billthefarmer.siggen/.Main
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=org.billthefarmer.siggen/.Main (has extras) }
$ adb shell am start --ez org.billthefarmer.siggen.SET_MUTE true org.billthefarmer.siggen/.Main
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=org.billthefarmer.siggen/.Main (has extras) }
Warning: Activity not started, its current task has been brought to the front

More Repositories

1

editor

Android simple text editor
Java
470
star
2

diary

Android personal diary - forked from http://git.savannah.gnu.org/cgit/diary.git
Java
275
star
3

mididriver

Android midi driver using Sonivox EAS library
C
176
star
4

tuner

Android accordion tuner
Java
175
star
5

scope

Android Oscilloscope
Java
143
star
6

currency

Android currency conversion
Java
86
star
7

notes

Android notebook
Java
81
star
8

print

Android print app
Java
56
star
9

ctuner

Musical instrument strobe tuner
C++
54
star
10

gurgle

Fairly simple android word game
Java
53
star
11

audiotools

Automatically exported from code.google.com/p/audiotools
Swift
49
star
12

crossword

Android crossword solver
Java
33
star
13

accordion

Android accordion emulator
Java
31
star
14

specie

Android currency conversion app
Java
18
star
15

gridle

Android word game
Java
17
star
16

wordlesolver

Wordle (Gurgle) solver with code from https://github.com/PoorLazyCoder/Wordle-Solver
Java
14
star
17

shorty

Create shortcuts for Intent Radio or VLC
Java
14
star
18

melodeon

Android melodeon emulator
Java
13
star
19

snarks

Java game originally written in 6502 machine code
Java
11
star
20

CustomCalendarView

Android custom calendar view - not quite forked from https://github.com/npanigrahy/Custom-Calendar-View
Java
11
star
21

MarkdownView

Android markdown view forked from https://github.com/falnatsheh/MarkdownView
Java
11
star
22

samurai-sudoku

Samurai, Hexadoku, Dodeka and Sudoku using Donald Knuth's Dancing Links algorithm
C++
10
star
23

gpdf

GEDCOM genealogy pdf chart creation
C
9
star
24

histogram

Android image histogram
Java
8
star
25

billthefarmer.github.io

Web pages
HTML
8
star
26

raspi-sonivox

Raspberry Pi implementation of the Android EAS Sonivox MIDI library
C
8
star
27

buses

Android bus times app
Java
7
star
28

weather

Android weather app
Java
7
star
29

draw

Draw - draw icons and things
Java
5
star
30

c-accordion

Automatically exported from code.google.com/p/accordion
C
5
star
31

oglaf

Oglaf
Kotlin
4
star
32

blog

Sources for my Hugo blog and home page.
HTML
4
star
33

cadec

Cadec simulator
C
4
star
34

ffts-android

Android fork of FFTS project
Shell
4
star
35

mkfilter

Mkfilter code from https://github.com/university-of-york/cs-www-users-fisher
C
3
star
36

sudoku-cam

Sudoku Camera
C++
3
star
37

tdr

Time Domain Reflectometer
Java
3
star
38

busapp

Flutter bus app
C++
3
star
39

pollen

Pollen UK - show UK pollen forecast
Java
2
star
40

stb

Sussex Tune Book
Awk
2
star
41

abc2ps

Updated version of abc2ps plus scripts
C
2
star
42

questionnaire

Hugo questionnaire generator
JavaScript
2
star
43

billthefarmer

2
star
44

c-melodeon

Automatically exported from code.google.com/p/melodeon
C
2
star
45

theme-hugo-foundation6

JavaScript
1
star
46

whatever-o-meter

Wordpress and Hugo plugin for creating a whatever-o-meter
JavaScript
1
star
47

location

Android location app
Java
1
star
48

flutter-oglaf

Oglaf app in flutter
Dart
1
star
49

anne

C++
1
star